infra icon indicating copy to clipboard operation
infra copied to clipboard

Allow specifying sandbox timeout when creating the sandbox and modifying it later

Open ValentaTomas opened this issue 9 months ago • 0 comments

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?

ValentaTomas avatar Apr 29 '24 18:04 ValentaTomas