Skip to content

A held pull request reads CI when a tooling line is its only hold - #527

Merged
nambok merged 1 commit into
mainfrom
fix/held-ready-reads-ci
Nov 9, 2026
Merged

nambok merged 1 commit into
mainfrom
fix/held-ready-reads-ci

Conversation

@nambok

@nambok nambok commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

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.
  • Incident test t_unrun_check_hold.rs and an entry in docs/incidents.md.

Verification

  • cargo test -p worker: 1410 passed.

…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.
@nambok
nambok merged commit 732f365 into main Nov 9, 2026
10 checks passed
@nambok
nambok deleted the fix/held-ready-reads-ci branch November 9, 2026 00:29
coderhelm Bot pushed a commit that referenced this pull request Dec 3, 2026
Moves dashboardRef from 6593784 to 1002bc7, carrying CoderHelm/coderhelm #502, #514, #513, #527, #530, #531, #533, #529, #536, #535, #499 and #537.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant