Skip to content

Commit 39fef4f

Browse files
committed
ci: add the empty changeset the gate requires (#4251)
The PR changes tooling and CI only — no publishable package diff — which is exactly the case the Check Changeset gate names as an empty changeset. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AWW5xEALZNU5VBXfGyWPGz
1 parent fd179b0 commit 39fef4f

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
---
3+
4+
ci(tooling): enforce the #4251 slot-lookup sweep ratchet with a counted baseline
5+
6+
The grandfather list shipped as paths in `eslint.config.mjs` under a comment
7+
reading "NEVER add an entry" — a promise nothing checked. ESLint cannot express
8+
a ratchet: an ignored file is ignored completely, so a NEW `getService<any>(…)`
9+
added to an already-listed file rode the old entry with `pnpm lint` green.
10+
11+
The list moves to `scripts/slot-lookup-baseline.json` (file → site count) and
12+
becomes the single source: its keys are the config's `ignores`, its values are
13+
what `pnpm check:slot-lookup` enforces. The script re-runs ESLint with the
14+
grandfathering lifted and matches reports by the rule's exact message, so the
15+
counter cannot drift from the rule. It fails on a new file, a grown count, a
16+
stale entry, and — via a key-set comparison against the merge base with main —
17+
on a file being ADDED to the list, which no count check can see.
18+
19+
Tooling and CI only; releases nothing.

0 commit comments

Comments
 (0)