Skip to content

pr-merge: hold a session-opened PR whose closing issue is eval-gated #17855

Closed

Description

@kyle-sexton

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)

Activity

  1. added
    needs-triage
    on Nov 21, 2026
  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    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.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 21, 2026
  4. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"aea7b9995309eb90fb34fd533d4c419f811d4a6f2e597d7042dc406f4681ff24","body_sha256":"acb7444a0def863c4db152625c3358245be16dd01d5cbdd4ebe5efc2dc7fbd93"}

  5. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"aea7b9995309eb90fb34fd533d4c419f811d4a6f2e597d7042dc406f4681ff24","body_sha256":"acb7444a0def863c4db152625c3358245be16dd01d5cbdd4ebe5efc2dc7fbd93"}

  6. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor
    No description provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    needs-triage

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions