Repository navigation
Keep Check re-run allowances across the complete Delivery - #527
Merged
Merged
Conversation
Merged
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
Keep each full head's factory Check re-run allowance for the complete Delivery, including later rounds and refused Self-merge reconciliation. Fresh CI watches still use the Base commit selected by the current clean merge.
Closes #526
Evidence
cargo test --bin thirdshift delivery::repair_loop::tests::own_failures_after_a_refused_self_merge_do_not_refresh_a_heads_check_re_run -- --exactfailed: one head received 2 CI-fix Repairs and 2 Check re-runs after the refused Self-merge.After: the same regression passes: 1 CI-fix Repair and 1 Check re-run, followed by the existing Declined CI fix cause, with a fresh watch against the round's rewound Base commit.
cargo check --all-targets,cargo fmt --check, andcargo clippy --all-targets -- -D warningspass. Fullcargo test: 1492 passed, 0 failed, 1 existing ignored test across 39 test binaries, including Spec run integration coverage.Test seams
take_to_goal, through its existingOutsideadapter: Delivery-long per-head allowances, fresh head/Base comparisons, bounded CI-fix Repairs and Check re-runs, and refused Self-merge reconciliation.Review
Reviewed against
mainat5ec943dcb0c4dfe26aa9f5d98916aa947f48ca42with separate Standards and Spec reviewers. The Standards finding about duplicated test observation logic was addressed by shared helpers; the Spec review found no findings. Both reviewers read both changed files,CONTEXT.mdandsrc/delivery/repair_loop.rs. Changed files left unread: none.Unaddressed findings
Standards
None.
Spec
None.
Merge Danger
Door: two-way
Private, in-process history; no persistence or migration. Reverting restores the previous behavior.
Blast Radius: Delivery
Later own failures on a consumed head now take the existing Failed run preservation/drafting path before another CI-fix Repair. CI request reconciliation, Inherited failures, Repair/upstream-move budgets and exact watched-head Self-merge keep their existing interfaces.
Built with codex · gpt-6.1-sol · xhigh