Skip to content

fix(pr-pipeline): give the admission release point a 1-per-hour floor #8793

Closed

Description

@kyle-sexton

Problem

decide() in .github/scripts/work-resolve-issue/admission-window.mjs:42-46 computes releasePoint = factor * merged24h * windowHours / 24 with no floor. After a day with no lane merges, merged24h = 0, so the release point is 0, admissions hold, no new lane PRs open, and merges stay at 0: the lane deadlocks itself.

Intent

Owner decision (2026-10-21 /planning:interview, "Yes, go with recommendations"; record .work/lane-flow-policy/SUMMARY.md in the Issue Triage session): admissions never fall below a release rate of 1 per hour.

Acceptance

  • decide() applies a floor so the allowed rate is at least 1/h (release point at least windowHours x 1), including when merged24h is 0.
  • A test pins the zero-merge case and fails before the change.
  • The floor value lives in docs/conventions/pr-pipeline.yaml limits, not in code (C23).

Interim step: #8794 replaces this script. Owner merges (HIGH floor: .github/**).

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