Repository navigation
fix(work-resolve-issue): open eval-gated lane PRs held with the eval reason comment - #17469
Conversation
…reason comment Refs: #16803, #16798 (lane PRs #17464, #17468 held by hand) The lane labeled a PR do-not-merge only for a trust or path hold, so a PR for an eval-gated cut item opened unheld and the hold was added by hand. report-outcome now adds do-not-merge, then the reason=eval comment, when the closing issue carries eval-gated, once per PR. release-eval-hold accepts the lanes App's reason line; the eval-pair record stays a listed human's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KeBVgbERyakZ33T4AetfRj
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 318a4b9eea
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
PR body contract — issue linkage This PR body conforms to the issue-linkage contract. Nothing to do. |
|
claude-review reviewed Code review: PR #17469 (incremental, 318a4b9 → 64974fa)No blocking findings. This lane reviewed an earlier head, so this review reports blocking findings only ( What changed since the last review
Notes
Verifier dropped 0 of 0 candidates. |
… it after a release A failed reason comment now fails the run so a rerun posts it; the dedupe applies only while the PR still carries do-not-merge, so a restored hold gets a reason in its own label epoch. release-eval-hold comments name the lanes App's reason line, and tests cover mayRelease and main for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KeBVgbERyakZ33T4AetfRj
|
claude-security-review reviewed Security review: no security issues foundI read all five changed files in full. Two of them are on the trusted-path list:
Docs and comments. The Other checks.
critical-findings: 0 |
|
The pr-verify verifier failed head What it wrote (25 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
Closes #17273
Refs: #16803, #16798
Summary
#17273 asks the work-resolve-issue lane to hold an
eval-gatedissue's pull request in the run that opens it. Without that, lane PRs #17464 and #17468 (for #16803 and #16798, both labeledeval-gated) opened unheld, and someone had to add thedo-not-mergelabel and thepr-hold reason=evalcomment by hand. #16803 and #16798 are linked as the items that showed the gap, not as the spec.Owner decision D399 (record, part 2 re-ask; row D399: https://github.com/melodic-software/architecture/blob/6ee72977ebf11741d0d0ac4ec8b9d10c51cca027/docs/owner-decisions.md#L217). Owner, verbatim: "Go with the recommendations." Part 1: "the eval-hold release step also accept[s] a
pr-hold reason=evalline from the lanes App, with the eval-pair record line staying listed-human only." Part 2, replacing the first answer: an item is a cut item when its issue carries theeval-gatedlabel, set when the issue is filed. These decisions replace #16803's older text, which says the lane adds no label. #17273's Decisions section now carries the same line link and verbatim words.Fix
report-outcome.mjs: when the closing issue carrieseval-gated, the lane addsdo-not-mergeto the pull request and then posts the exactreason=evalcomment (work-resolve-issue: apply the eval hold in the run that opens a cut-item pull request #17273, first and third Done-when items). If the comment fails, the run fails, so a rerun posts it. The rerun skips the comment only while the PR still has the label and the lanes App's comment already exists.release-eval-hold.mjs: thereason=evalline may come from the lanes App (D399 part 1, work-resolve-issue: apply the eval hold in the run that opens a cut-item pull request #17273 second Done-when item). The eval-pair record line still counts only from a listed human. The removed comments restated code the repository's comment lint (code-tidying-remote-comment-lint) rejects. The trust rules are indocs/contracts/loop-lane/README.mdand in the tests.docs/contracts/loop-lane/README.md: states both rules.Remaining: none. The session watch for unheld cut-item PRs is now only a backstop.
Verification
node --testonreport-outcome.test.mjsandrelease-eval-hold.test.mjs: 454 pass. The new tests fail on main.Related
Trust note for review: the release step accepts the lanes App as the author of the eval reason line only (D399).
🤖 Generated with Claude Code
https://claude.ai/code/session_01KeBVgbERyakZ33T4AetfRj