Skip to content

Commit 1673a5b

Browse files
committed
test(ci): give the daemon wire ledger its own category sample
Merging main brought in the daemon RPC wire-compat gate (#1717), which adds the `own:daemon-wire-compat` selector rule. The manifest already reported the category as represented, but only incidentally: `packages/kernel/src/errors.ts` — the sample standing in for "workspace package source" — happens to be listed in WIRE_SURFACE_FILES. That satisfies the universe check while leaving the path-filter reachability assertion pointed at `packages/**` rather than at the ledger directory, so a `paths-ignore` excluding `test/wire-compat/**` would not have been caught. Naming the directory directly closes that. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SkS4S8XXrfkJ8TD1VBKkvJ
1 parent 45fa091 commit 1673a5b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

scripts/gate-manifest/path-category-samples.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ const PATH_CATEGORY_SAMPLES: readonly {
2525
{ label: 'Expo test app', path: 'examples/test-app/App.tsx' },
2626
{ label: 'replay-compat corpus', path: 'test/replay-compat/entry.ad' },
2727
{ label: 'replay-compat fixture', path: 'test/replay-compat/entry.ts' },
28+
// A wire-surface file under `packages/` already reaches this rule, but only incidentally —
29+
// it is some other category's sample. Naming the ledger directory directly is what puts
30+
// `test/wire-compat/**` itself under the path-filter reachability assertion.
31+
{ label: 'daemon wire ledger', path: 'test/wire-compat/surface.ts' },
2832
// The public entry surface is only a category when the selector is told which files are
2933
// published entries, so this sample supplies that input the way `check:affected` does.
3034
{

0 commit comments

Comments
 (0)