infra
infra copied to clipboard
Allow specifying sandbox timeout when creating the sandbox and modifying it later
This PR adds a parameter during sandbox creation that allows specifying the sandbox timeout and a route that allows modifying the timeout after creation.
This is compatible with the way sandboxes are currently handled but allows us to change how the sandbox lifecycle is managed (without constant refreshes, setting a maximum timeout, or extending timeout) just by modifying SDKs' code.
Tasks
- [ ] Regenerate SDK API clients
- [ ] Update this code to handle saving/loading timeout from serialized sandbox data that can be used to recover
- [ ] Add method for getting the current timeout/sandbox close time?