Skip to content

fix(pr-pipeline): keep the last known WIP and held-cap pause when check-wip-cap reads fail #8804

Closed

Description

@kyle-sexton

Problem

check-wip-cap fails open (.github/actions/check-wip-cap/check-wip-cap.mjs readLaneWip catch at ~:89-91, baseConfig fallback at ~:176-178): an API outage or an unreadable base config sets the open listing to null, so neither the WIP cap nor (after #8803) the held cap can pause the lane. Only the slot limit (SLOTS: 3) still bounds concurrent runs.

Intent

Security & Cost low (P4) on #8803, deferred from that PR because it predates it.

Acceptance

  • When the reads fail, the check keeps the last known pause state (for example from the previous run's published wip status) instead of reporting not paused, or the owner decides fail-open stays.
  • A test pins the failed-read case.

Owner decides fail-open vs last-known before build (it changes when the lane stops).

Activity

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

    @github-actions
    Contributor

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

    Proposed work class: 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 21, 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

    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