What happened?
My Daytona configuration was older than 2 weeks in my DB, and the key I was using was expired. When I went to settings/sandbox-providers page I got a internal server error. This was because the ACCESS_DENIED in the get sandbox providers was unhandled, we should handle it.
Also same can be observed while asking a agent to do something in Sandbox if your key is expired, this case is unhandled.
Ideally we should handle it and mark the status of the sadbox provider as failed and give a proper status_reason.
How many more places can this be unhandled?
Steps to reproduce
- Create a key in daytona with all the necessary permissions in daytona.
- Configure it in platform - watch everything works
- Revoke the key from Daytona
- Create turn and ask to use sandbox, watch the unhandled error(first error)
- In the DB set the updated_at less than 13 days(for faster repro)
- Go to settings page in sandbox provider section - see the unhandled error
How are you running TrueForge?
Docker Compose
Version
main
Environment
NA
What happened?
My Daytona configuration was older than 2 weeks in my DB, and the key I was using was expired. When I went to settings/sandbox-providers page I got a internal server error. This was because the ACCESS_DENIED in the get sandbox providers was unhandled, we should handle it.
Also same can be observed while asking a agent to do something in Sandbox if your key is expired, this case is unhandled.
Ideally we should handle it and mark the status of the sadbox provider as failed and give a proper status_reason.
How many more places can this be unhandled?
Steps to reproduce
How are you running TrueForge?
Docker Compose
Version
main
Environment
NA