Skip to content

Two stale comments in gated files after #2354: gate-lease.mjs MAX_WAIT_MS and main.yml's 'canonical table' pointer #2356

Closed

Description

@cliffhall

Follow-up to #2354 (PR #2355), which was a docs-only pass and deliberately touched no script or workflow. Two comments in those files now state something the docs contradict; each is a one- or two-line comment edit, no behaviour change.

1. scripts/gate-lease.mjs — the MAX_WAIT_MS comment

The comment above MAX_WAIT_MS says the wait "only ever expires against a live holder that is still running after 45 minutes". That is not the whole set: the budget counts from the waiter's first acquireLease attempt and is not reset when the holder ahead releases and another queued gate takes the lease, so a queue of healthy gates deeper than ~ten (at ~4.5 minutes each) also exhausts it — the same case the epilogue on #2338 already describes as the practical ceiling on queue depth. docs/quality-gate.md and the pre-push-gate skill now describe the cap as a total queueing budget (Copilot, PR #2355 round 2); the source comment should say the same so the three do not disagree.

2. .github/workflows/main.yml — the "Run cross-client smokes" step comment

Ends with "The canonical CI-vs-local table is in the root README." The README no longer carries that table — it points at docs/quality-gate.md, which declares itself the canonical description. Point the comment there.

Acceptance

Activity

  1. added this to the v2.7.0 milestone on Sep 13, 2026
  2. added
    v2
    chore
    on Sep 13, 2026
  3. cliffhall commented on Sep 13, 2026

    @cliffhall
    MemberAuthor

    Triage: Priority Low (total 4)

    • Severity 1 — two comments say something the docs now contradict; no behaviour is affected
    • Urgency 2 — wanted eventually, nothing blocked on it
    • Bonuses: +1 milestoned at creation (filed through the create flow, so approved)

    Board: #28, Status Todo, milestone v2.7.0.

  4. self-assigned this
    on Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

chorev2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions