feat: add support for issueShutdownAfterMinutes, auto-pause sandbox #172
For the feature here, do we want this to be issueShutdownAfterInactiveMinutes? IIUC currently if someone were to go into the sandbox and attempt to work there the sandbox would shut down on them after 30 minutes. Do we want to check the last access of the endpoint possibly and do the minutes after that? (or is the goal to have less support for that use case)
The comment says "time in seconds" but the name is IssueShutdownAfterMinutes
Lets add a repowatch unit test to verify this functionality.
fixed.
Lets add a repowatch unit test to verify this functionality.
added unit test
/lgtm
/approve
...still need to rebase repowatch_types.go
For the feature here, do we want this to be issueShutdownAfterInactiveMinutes? IIUC currently if someone were to go into the sandbox and attempt to work there the sandbox would shut down on them after 30 minutes. Do we want to check the last access of the endpoint possibly and do the minutes after that? (or is the goal to have less support for that use case)
Ah great point. We are adding automated shutdown for those sandboxes where we run the agent extract a review or a comment. For dev sandboxes #174 we do not support automated shutdown.
But your point on checking for activity is valid. Not sure how we can do that. Can be a future enhancement.
seans3
barney-s
No description provided by author.