Repository navigation
A stuck mode repair holds only its own pull request in a multi-repository run - #981
Merged
Merged
Conversation
The multi-repository CI loop ended its step whenever the mode diagnosis came back with anything, and the stuck record was one per run. A repair that was retried or stopped on one pull request kept every other pull request of the run from its rounds. The diagnosis is now read_modes, shared with the single repository loop's mode_cause: its stuck record is kept on that pull request's ledger entry (keep_mode), a restore commit or a retry marks only that pull request as waiting for its next look, and a repair that stopped making progress settles it as CoderHelm's own stop (RepoCi::stop). The step goes on to the others. The round itself runs through run_fix_round from resume_multi_repo, with no second runner beside it, and the incident's two-repository replays share one helper. The guard in xt_contract_change_reaches_every_consumer loses its exception for the sentence that left red CI open: nothing says it now.
The context a CI round on one pull request works with was built after the run was claimed and the round counted, so a failure there (the team's model settings or GitHub not answering) left the run running with a round spent that never ran. It is now built first, through context_or_retry, on every path that builds one: a failure leaves the run waiting and the ledger as it was, and a resume tries the same step again shortly.
coderhelm
Bot
dismissed
their stale review
December 5, 2026 12:31
Superseded by CoderHelm's latest review
Contributor
|
🟡 Post-merge health check: deploy cancelled: the deploy for
|
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.
Summary
Follow-up to #980, which merged before its review fixes were pushed. CoderHelm's review asked for three changes; this pull request makes them on current main.
Changes
read_modes, shared with the single repository loop'smode_cause(which keeps its behavior). In the multi-repository loop the stuck record lives on that pull request's ledger entry (RepoCi::keep_mode). A restore commit or a retry marks only that pull request as waiting for its next look, and a repair that stopped making progress settles it as CoderHelm's own stop (RepoCi::stop). The step goes on to the other pull requests.run_repo_roundis gone:resume_multi_repopicks the round (a parked one first, else the ledger's next red pull request) and runs it throughrun_fix_rounddirectly, keeping what it came to on the ledger.two(order, api, web).xtguard drops its exception for the sentence that left red CI open, since nothing says it any more.a_stuck_mode_repair_holds_only_its_own_pull_request. Thexqsource checks readread_modesbesidemode_cause.Verification
cargo fmt --all --check,rustfmt --checkon incidents: clean.cargo clippy -p common -p worker -p gateway --all-targets -- -D warnings: clean.cargo test -p common -p worker -p gateway, the full suite: all pass.brand_spelling.py,domain_examples.py: pass.