Repository navigation
fix(ops): release terminal cutover lease after carrier revoke - #506
Merged
Merged
Conversation
release-terminal-lease requires the exact revoked root carrier at its current version (>=2); the script ran it before revoke with the approval-time version, so it always failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
James3014
enabled auto-merge (squash)
October 11, 2026 20:26
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.
Closes #505
Summary
scripts/ops/m5-cutover/m5-cutover.shstep 10.release-terminal-lease/releaseClosedCutoverLeaseLocalrequires the exact revoked root carrier.carrier_bindings.versionwhererevoked=1) instead of the approval-time$CVER(1). The CLI rejects versions below 2.Evidence
On the Dev M5 cutover 5c008b0 → 8553fc5 (cutover
349621ba, 2026-10-11T20:22Z), the summary showedlease release FAILED. Running the release manually with revoked carrier version 2 returnedterminalState: released, leaseVersion: 4.Test plan
bash -n scripts/ops/m5-cutover/m5-cutover.shnode --test scripts/ops/m5-cutover/m5-cutover.test.mjs(11 pass)lease already terminal(fix(cutover): release the state-root lease when a bound cutover finishes (#472) #477 predecessor) orlease released🤖 Generated with Claude Code