Repository navigation
images: a release spin-stack/ami marked revoked is not installed - #27
Merged
Merged
Conversation
F9 of the sealed-workspaces plan: spin-stack/ami's `task images:revoke` marks a build revoked in measurements.json, with why (`revoked`, `revoked_at`). The control plane's module now refuses to plan a release with a revoked image, naming which and why, before anything of it is made: an installation on it is told on its next plan to move spin_version. image_measurements, which mirrors an entry, carries `revoked` too. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
F9 of the sealed-workspaces plan, the registry's part (spin-stack/ami#47 is the image's, spin#284 spin's; the three merge together).
spin-stack/ami's
task images:revoke RELEASE= ROLE= REASON=opens a pull request here marking that build revoked inmeasurements.json(revoked: why,revoked_at: the day). The entry keeps its PCRs and statement, so what was published stays checkable.This PR makes the control plane's module refuse to plan a release with a revoked image. It names which image and why, before anything of it is made, so an installation on it is told on its next plan to move
spin_version.image_measurements, which mirrors an entry, carriesrevokedtoo.Test:
a_revoked_release_is_not_installed(planted: a precondition that never fails is caught).task lint: 45/45 module tests.🤖 Generated with Claude Code