- Notifications
You must be signed in to change notification settings - Fork926
Closed
Description
What is your suggestion?
We may want to change autostop behaviour to bump the workspace deadline when it hits the scheduled autostart time.
Current Behaviour
Given:
- A workspace exists that has an autostart schedule at e.g. 0900 every day and an autostop schedule for 8 hours after start
- A user manually starts the workspace at 0200
When:
- It turns 1000 hours
Then:
- The workspace is stopped automatically
Desired Behaviour
When:
- It turns 1000 hours
Then:
- The workspace's deadline is extended to the autostart time plus normal TTL, and it stops at the "scheduled" time of 1700 hours.
Why do you want this feature?
Some folks were surprised that their workspaces got shut down at the configured time.
Are there any workarounds to get this functionality today?
coder bump my-workspace however-many-hours-you-need
Are you interested in submitting a PR for this?
Yes