Skip to content

ci: select the dispatch source audit when ws-client/inbound.ts changes #3388

Open

Description

@schlessera

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_TESTS regex for tests/source-browser-dispatch.test.ts, replace connection\.ts with ws-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"], …) selects tests/source-browser-dispatch.test.ts, asserted in tests/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.ts

Contract impact

None.

Blocked by #1362

Activity

  1. added
    type: test
    area: ci
    priority: p3
    agent-ready
    blocked
    and removed
    blocked
    on Nov 2, 2026
  2. schlessera commented on Nov 3, 2026

    @schlessera
    OwnerAuthor

    Unblocked: every Blocked by issue here is closed. #1362 and #2515 closed when epic #1342 batch 1 landed on main in #3520 (merge 9805f52fd).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyarea: cipriority: p3type: test

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions