Skip to content

fix(pr-pipeline): let ci-status's cost-hold lift read a Refs issue #9478

Closed

Description

@kyle-sexton

Problem

Once #9405 merges, a lane PR linked to its issue by a single Refs: #n line is eligible for pr-merge, the same as one that closes the issue. Two places still read only closing issues:

  1. ci-status's cost-hold lift (.github/workflows/pr-require-checks.yml, about lines 3479-3485) reads only closingIssuesReferences. A cost decision recorded on the Refs issue does not lift the hold, while babysit's cost_decision does read the Refs issue. This fails closed: the hold stays, and a decision on the PR itself still lifts it. But the two readers disagree.
  2. .github/workflows/work-unblock.yml:38-39 still says report-outcome sets the Refs needs-human hold. Since feat(source-control): read a Refs: issue as the linked issue for pr-merge eligibility #9405, report-outcome no longer sets it, and work-unblock only lifts holds that already exist.

Fix

  • Have the cost-hold lookup take the Refs issue when the PR closes none and has exactly one plain Refs: #n line, mirroring babysit's _linked_issue. Add a test in the cost-hold suite: a decision on the Refs issue lifts the hold.
  • Correct the work-unblock.yml comment.

Activity

  1. added
    status: ready
    on Oct 23, 2026
  2. added theissue type on Oct 23, 2026
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

    status: ready

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions