Skip to content

fix(pr-pipeline): keep the queued count from pinning high on edited lane PR bodies and failed report-skips #8965

Closed

Description

@kyle-sexton

Problem

The queued count in check-wip-cap (#8794) can drift high in two ways:

  1. Lane PR match is by first body line only. An agent-ready issue drops out of the queued count only when an open lane PR's first body line is Closes #<n> or Refs: #<n>. The search answer carries no head ref, so the work-resolve-issue/issue-<n>- branch match is not used. A lane PR whose body a person edits away from that first line makes its issue count twice: once queued, once as a held or countable PR.
  2. A failed report-skip leaves agent-ready on a skipped issue. Dimension skips (split-required, research-first, probe-first, not-assessed) remove agent-ready through report-skip. If that job fails, the issue keeps agent-ready with no run and no PR, and stays in the queued count until a person acts. Related: fix(pr-pipeline): report an issue-lane dimension skip instead of ending silently #8725 (issue-lane dimension skips report nothing).

Intent

Keep the queued count from being pinned high by issues that cannot run.

Acceptance

  • A lane PR whose head branch is work-resolve-issue/issue-<n>-... removes issue <n> from the queued count even when its body's first line changed (one extra read per unmatched open lane PR, or a GraphQL listing that carries headRefName).
  • A skipped issue whose report-skip failed is either re-reported by the work-unblock sweep or counted apart, with a test.

Activity

  1. added
    needs-triage
    on Oct 22, 2026
  2. github-actions commented on Oct 22, 2026

    @github-actions
    Contributor

    Proposed work class: none

    Thanks for the report. Automated triage handed this issue to a maintainer.

    Unconfirmed model suggestion: work-class: scoped
    Basis: automated intake triage; a maintainer confirms or changes it.

    Automated triage. A maintainer reviews it.

  3. added
    needs-human
    and removed
    needs-triage
    on Oct 22, 2026
  4. kyle-sexton commented on Oct 22, 2026

    @kyle-sexton
    MemberAuthor

    Also in scope: the room can be overshot. Each work-unblock run reads the queued room once, and label-unblocked has no concurrency: group, so a burst of human closes or a close run overlapping the hourly sweep can each admit up to the full room (search results also lag a just-added label). Options: a concurrency: group on the label-unblocked job, or re-reading the count before each admission.

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

    needs-human

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions