You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pr-merge: hold a session-opened PR whose closing issue is eval-gated #17855
No related issue: hub ledger L776 pattern 1 (intake scan 2026-11-18, .work/github-work/issue-scan/host-scan.md:470-474).
Problem
An eval-gated issue's PR is held with do-not-merge and a reason=eval comment only when a lane opens it: .github/scripts/work-resolve-issue/report-outcome.mjs:2864 reads const evalGated = issueLabels.includes(EVAL_GATED_LABEL);. merge-holds.mjs does not check the closing issue's eval-gated label, so a PR a host session opens for such an issue is not held, and can merge before its eval-pair record lands (as #15907 and #16464 did).
Done when
A PR that closes an issue labeled eval-gated is held from merging until release-eval-hold.mjs finds an eval-pair record for its head, whoever opened the PR; a test covers a session-opened PR
A lane-opened PR for an eval-gated issue behaves as today (hold added at open, released on the record)
Size: Small
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: merge-holds.mjs and its tests, plus the eval-hold release path; read by the merge pipeline for every PR that closes an eval-gated issue.
Reversible: yes; revert the change to merge-holds.mjs and its test.
Open questions: none
I understood this as: a PR that a host session opens for an eval-gated issue is not held, because only the lane's report-outcome step adds the hold. The request is for merge-holds.mjs to check the closing issue's eval-gated label for any PR, and to keep the hold until release-eval-hold.mjs finds an eval-pair record for the head. A lane-opened PR should behave as it does now. The done-when items are exact, so I see nothing missing. I found no open duplicate and no merged PR that already covers this.
Activity
github-actions commentedon Nov 21, 2026
Size: Small
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: merge-holds.mjs and its tests, plus the eval-hold release path; read by the merge pipeline for every PR that closes an eval-gated issue.
Reversible: yes; revert the change to merge-holds.mjs and its test.
Open questions: none
I understood this as: a PR that a host session opens for an
eval-gatedissue is not held, because only the lane's report-outcome step adds the hold. The request is for merge-holds.mjs to check the closing issue'seval-gatedlabel for any PR, and to keep the hold until release-eval-hold.mjs finds an eval-pair record for the head. A lane-opened PR should behave as it does now. The done-when items are exact, so I see nothing missing. I found no open duplicate and no merged PR that already covers this.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 21, 2026
{"v":1,"actor_id":337595936,"title_sha256":"aea7b9995309eb90fb34fd533d4c419f811d4a6f2e597d7042dc406f4681ff24","body_sha256":"acb7444a0def863c4db152625c3358245be16dd01d5cbdd4ebe5efc2dc7fbd93"}
melodic-automation-lanes commentedon Nov 21, 2026
{"v":1,"actor_id":337595936,"title_sha256":"aea7b9995309eb90fb34fd533d4c419f811d4a6f2e597d7042dc406f4681ff24","body_sha256":"acb7444a0def863c4db152625c3358245be16dd01d5cbdd4ebe5efc2dc7fbd93"}
github-actions commentedon Nov 21, 2026