Repository navigation
Let a deploy rerun reclaim its own failed attempt's lease - #440
Merged
Merged
Conversation
|
Review of #440: the logic looks correct, and I have only minor suggestions. Checked
Suggestions (non-blocking)
LGTM otherwise. 🤖 Generated with Claude Code |
Monoscope production impact · Worth checkingProject Evidence window (UTC): 2026-10-19 11:50:30.577750102 UTC → 2026-10-26 11:50:30.577750102 UTC
Production details are available in Monoscope. Coverage: Open Monoscope for evidence and coverage details. |
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.
On 2026-10-26 a HANDOFF refusal on 64ae142 left an unresolved production lease. Running
gh run rerunthen waited 45 minutes and failed. A rerun keeps its run id, sorun_is_finishedasks GitHub about the rerun itself, gets "running", and treats the holder as alive. Only a freshworkflow_dispatch(new run id) could reclaim the lease.GITHUB_RUN_ATTEMPT.abandoned()treats an earlier attempt of the same run as finished. GitHub only starts a new attempt after the previous one completes.Test:
test_a_rerun_reclaims_its_own_failed_attempts_lease. It fails with the check disabled (red arm checked).Helper tests (
scripts/deploy/test_*.py, production-image, ci-selftest) pass locally.make ci-statusshows all five Rust checks already attested (scripts/deployis not an input), and the push does not deploy (scripts/deploy/**is in paths-ignore).🤖 Generated with Claude Code