Repository navigation
Instance shutdown policy - #3453
Draft
benjaminleonard wants to merge 4 commits into
Draft
benjaminleonard wants to merge 4 commits into
benjaminleonard wants to merge 4 commits into
Conversation
Pins omicron 0c6c243 (API 2026111100.0.0), which adds InstanceShutdownPolicy (oxidecomputer/omicron#11565). InstanceUpdate.shutdownPolicy is required and null resets it to the default, so every update call now passes the instance's current policy through to avoid clobbering it on resize or boot disk changes.
- Shutdown card on the instance settings tab to pick hard power off or power button with a 1-900s timeout - Same field in the Advanced section of instance create - Stop and reboot confirmations explain the power button behavior, and power button instances get Force stop and Force reboot actions that pass force=true. Force stop also works while the instance is stopping, which is how a pending power button shutdown gets cut short - Mock stays in stopping longer for power button stops so the force path is testable - Settings tab forms are labelled by their card titles so tests can tell the Save buttons apart
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3424
Added mostly to work through the UX, the actual implementation underneath I have no strong feelings on and you can pick and choose into a new PR if you'd prefer.