Repository navigation
Conversation
…s a create preview Deployment detail now carries previous_release: the latest earlier deployment on the same channel and resource that has a Hub-succeeded job and a different version, with its artifact digest and whether the artifact is still in the Hub catalog. Returning to it is an ordinary create preview with those inputs, so it goes through the same canary and verification. Detail schema_version moves to 4. Web shows a Previous release block (create form for admins, fetch link when the artifact is gone). CLI `deployment show` prints the exact preview or fetch command. The rollout status MCP view includes previous_release. The rollout text no longer says there is no rollback, and the copy guard keeps that sentence out. Detail and action previews read the deployment list once and share it between eligibility and the previous release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been 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.
Stacked on #186. Merge #186 first; this PR then retargets to main.
What
Deployment detail now names the previous release: the most recent earlier deployment on the same channel and resource that succeeded on at least one target and ran a different version.
deployment showprints the exactdeployment preview …command, or theartifact fetch …command when the artifact is missing.DeploymentReadSchemaVersion3 → 4, with a newprevious_releasefield (nullable). The strict client checks identifiers and the sha256, and rejects a previous release that is this same deployment or the same version.Rolling back is an ordinary new deployment. It goes through the same preview, digest, canary, verification, and audit as any other, so no separate rollback path exists.
deploymentActionEligibilitynow receives the deployment list from its callers, so it is read once.Tests
previous_releasecases are rejected and a valid one is accepted.forbiddenInterfaceCopynow also blocks the old "There is no automatic fleet rollback" sentence.GATE_RESULT=green(56 Go packages, OPS ok).🤖 Generated with Claude Code