Skip to content

Commit 5ce5f8c

Browse files
yinlianghuiclaude
andauthored
ci(lint): de-number the optional-error sink-contract step comment (#12290)
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 Claude-Session: https://claude.ai/code/session_01UjM2ia8Av1v5NqfqQEQmC6 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3194c91 commit 5ce5f8c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎.github/workflows/lint.yml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,9 +1778,11 @@ jobs:
17781778
# it enforced nothing, while reading in `package.json` exactly like the
17791779
# gates that do. That is #10574's defect one file over, and it is the only
17801780
# thing this change repairs; the gate itself is untouched.
1781-
# Runs its own --self-test FIRST (13 cases, both directions, both
1782-
# narrowings pinned as counts), then the scan — 36 sink types, 15
1783-
# baselined shrink-only. AST over packages/**, no spawns; ~3.5 s.
1781+
# Runs its own --self-test FIRST (both directions, every narrowing pinned
1782+
# as a count), then the scan. Deliberately carries NO counts: the run
1783+
# prints its own census — self-test cases, sink-type population, and the
1784+
# baselined shrink-only total — so a copy here could only ever be a stale
1785+
# one, and was. AST over packages/**, no spawns; ~3.5 s.
17841786
# No `paths:` filter, for the standard reason: a filter on `packages/**`
17851787
# would go dormant on the PR that edits the baseline.
17861788
- name: Optional-`error` sink contract

0 commit comments

Comments
 (0)