Repository navigation
A held pull request reads CI when a tooling line is its only hold - #527
Merged
Merged
Conversation
…d a re-asked plan block keeps its release A pull request whose only hold was an Open items line for a check CoderHelm's own sandbox couldn't run stayed a draft on every sweep, a day after its CI passed and after the fix meant to settle such lines shipped. The ready decision settles that line once CI is green on the head, but it only read CI when CoderHelm's own feature checks had findings. With none, CI stayed "not green" without being asked, and the line kept holding. - ready::gather reads the repository's CI whenever the description has a line CI green would settle (proof::ci_settles_a_hold), not only for feature findings (ready::reads_ci). - A planner whose revised decision block was cut off is asked again for the block alone; that re-ask asked for the core fields only, so a data migration's `release`, which the send-back had just asked for, was lost and stayed an open gap. The re-ask now names what the release check still needs in the block. - Incident t pins the decision's CI read and the gather call; a fix_location test pins what the re-ask carries.
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
A held pull request now reads CI whenever the only line holding it would be settled by green CI, so a run marks itself ready without a Retry. A re-asked plan block also keeps its release.
Changes
ready.rs,proof.rs: when a tooling or unrun-check line is the only hold, read the PR's CI and clear the hold on green.plan.rs,fix_location.rs: a plan block asked again keeps the release it already had.t_unrun_check_hold.rsand an entry indocs/incidents.md.Verification
cargo test -p worker: 1410 passed.