Repository navigation
Description
Found while working #1362.
Context
tests/source-browser-dispatch.test.ts copies the handler-map sources and the one audited helper consumer as bytes, so import discovery cannot select it. FILE_INPUT_TESTS in scripts/ci-plan.ts selects it instead, by path ("tests/source-browser-dispatch.test.ts": [, scripts/ci-plan.ts:79-81). The regex lists packages/ui-react/src/connection.ts as that consumer.
#1362 moves inbound routing out of connection.ts into packages/ui-react/src/ws-client/inbound.ts. It also moves the helperConsumers pin in scripts/source-browser-dispatch.ts to that file. The selection regex was left alone because scripts/ci-* is in the proof-system path set (scripts/proof-system-paths.json), and a product refactor should not enter the serialized proof-system lane.
After #1362 lands, an edit that touches only ws-client/inbound.ts does not select the dispatch audit test in fast feedback. The audit itself still fails safe: a changed inbound.ts no longer matches its pin, so the dispatch binding drops and browser proof selection gets more conservative, not less. The gap is a missing fast-feedback signal, not unsound selection.
Scope
- In the
FILE_INPUT_TESTSregex fortests/source-browser-dispatch.test.ts, replaceconnection\.tswithws-client\/inbound\.ts. - Update the matching path list in
tests/ci-plan.test.ts("file-read dispatch audits follow reviewed consumers and handler sources").
Out of scope
- Any other change to selection rules, shards or timeouts.
- The audit's own rules in
scripts/source-browser-dispatch.ts.
Acceptance criteria
-
planChecks(["packages/ui-react/src/ws-client/inbound.ts"], …)selectstests/source-browser-dispatch.test.ts, asserted intests/ci-plan.test.ts. - Removing the new alternative from the regex fails that assertion (mutation recorded on the PR).
- The PR follows the proof-system lane rules in
docs/decisions/ci-utility.md("Proof-system lane").
Verification
bun run test ./tests/ci-plan.test.ts ./tests/source-browser-dispatch.test.tsContract impact
None.
Blocked by #1362
Activity
schlessera commentedon Nov 3, 2026
Unblocked: every
Blocked byissue here is closed. #1362 and #2515 closed when epic #1342 batch 1 landed on main in #3520 (merge9805f52fd).