From bc5ab78d0439e34de2cc89c4b67f38d5fe04e84b Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 25 Aug 2026 16:19:12 +0000 Subject: [PATCH] ci(lint): de-number the optional-error sink-contract step comment The step's comment pinned a census of a moving tree in prose that nothing re-measures: "13 cases ... 36 sink types, 15 baselined". Every number was wrong, and the baselined figure had been wrong since the ledger paydown -- a reader trusting it believed there were fifteen outstanding sink repairs. The gate prints all three figures live on every run, so the comment does not need a copy. Drop the counts and keep the facts that do not drift: runs its own --self-test first, AST over packages/**, no spawns, ~3.5 s, and the no-`paths:`-filter rationale. Also drops "both narrowings", which had itself gone stale -- the gate now pins three and its self-test prints "all three narrowings". Part of #11551 Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01UjM2ia8Av1v5NqfqQEQmC6 --- .github/workflows/lint.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f38fc81ada..2561373ba9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1720,9 +1720,11 @@ jobs: # it enforced nothing, while reading in `package.json` exactly like the # gates that do. That is #10574's defect one file over, and it is the only # thing this change repairs; the gate itself is untouched. - # Runs its own --self-test FIRST (13 cases, both directions, both - # narrowings pinned as counts), then the scan — 36 sink types, 15 - # baselined shrink-only. AST over packages/**, no spawns; ~3.5 s. + # Runs its own --self-test FIRST (both directions, every narrowing pinned + # as a count), then the scan. Deliberately carries NO counts: the run + # prints its own census — self-test cases, sink-type population, and the + # baselined shrink-only total — so a copy here could only ever be a stale + # one, and was. AST over packages/**, no spawns; ~3.5 s. # No `paths:` filter, for the standard reason: a filter on `packages/**` # would go dormant on the PR that edits the baseline. - name: Optional-`error` sink contract