Repository navigation
Closed
Labels
area: ui-reactReact chat/files/voice components, stores, WebSocket transport.priority: p1Scheduled into the current or next milestone.type: testCoverage, harness or proof work with no behaviour change.
Milestone
Description
Context
This is one shard of the test-health push in #3855. Shard e3855-ui-react-01 covers 38 packages/ui-react test files: unit, runtime, layout, offline and pointer files, from activity-report to diagrams-axis. They were audited through all eight lenses in 25 clusters, in run th-20261110190028-150ab8.
Fixed findings, each with the proof the skill requires:
- Assertions that could pass without checking anything now can fail. Each change has a killed mutation receipt.
api-client.test.ts, unawaited-async: twoexpect(...).rejectscalls were not awaited. The 404 check now also requiresstatus: 404and the server's message.asr-gemini.test.ts, empty-by-construction:every()passed on an empty track list. The test now requires exactly one ended track and one closed socket.attachment-reads.test.ts, derived-expectation: the binary row's expected label was read back fromattachmentRowPropsitself. It is now the literal"File · 3.1 MB · sent".conversation-consent.offline.tsx, empty-by-construction: the capture tracks are now pinned to["ended"].desktop-navigation.pointer.tsx, masked-assertion: "no chord reaches Graph" could never fail. The test now presses Meta+6 and Meta+7 and requires that Chat stays active.
- Order dependence.
approval-recovery-runtime.test.tsasserted the backend's module-leveldecisionsmap in absolute terms, so the test failed whenever the second-page test ran before it. It now counts only its own decisions; 10 shuffled runs are green. - Leaked browser state.
activity-report.layout.tsxnever restoreddataset.theme.desktop-navigation.pointer.tsxanddestination-press.pointer.tsxresized the shared outer window and never gave it back.
- Readable failures. Boolean assertions now compare values in these files:
activity-report.test.tsandapi-instances.test.tsbrowser-rejection-runtime.test.tsanswer-delivery-runtime.test.ts(4 frame checks)agent-orbit.layout.tsxcomposer-files.offline.tsx(3 checks)association-signout-runtime.test.ts, whose skip and build messages named the local-work suite.
No test is removed.
Filed or advanced from this shard:
- ui-react: a second hello during an in-flight attachment-reads request never re-reads the session #3887: a product gap in the attachment-reads client.
- ui-react: artifact-recovery late-completion runtime cases assert before the late response is handled #3909: two artifact-recovery late-completion cases that need a fixture barrier.
- ui-react: three rail pointer files resize the shared outer window and never give it back #3938: three more pointer files with the outer-window leak.
- Evidence comments on ui-react: axis phone screenshot depends on Open diagram hover state #3540 (reproduced 3 of 3; the Chromium and WebKit references disagree about hover), tests: answer-delivery storage refusal intermittently never reaches Not saved #2989, ui-react: the answer-delivery fixture counts another session's replayed exchange, so a case can read 2 cards after the host's receipt #3834 and ui-react: attribute intermittent unavailable Send after fixture readiness fixes #2202.
Scope
Test code only, in the member files of each cluster.
Out of scope
Product code, timeouts and deadlines, screenshot references, and files outside the shard.
Acceptance criteria
bun scripts/test-health.ts batch verify --base origin/epic/3855-test-healthisok, with no test or assertion removed.- Every fixed cannot-fail finding carries a killed mutation receipt.
Verification
batch verify, check:pr --base origin/epic/3855-test-health, and the integration branch's hosted proof.
Contract impact
None.
Metadata
Metadata
Assignees
Labels
area: ui-reactReact chat/files/voice components, stores, WebSocket transport.priority: p1Scheduled into the current or next milestone.type: testCoverage, harness or proof work with no behaviour change.
Activity
schlessera commentedon Nov 11, 2026
Delivered by #3950, which merged into
epic/3855-test-healthase77de7658(the push in #3855). It landed in the combined merge without proof of its own; the gate, typecheck andcheck:prpassed on the combined branch. The epic's two exhaustive runs ondc2439551, 42996974186 and 42997012467, then passed. One cluster,th-20261110190028-150ab8#22(desktop-navigationanddestination-presspointer files), failed both of the first shake-out runs on "acts run the palette's handlers, mid-turn". I dropped it in00da7e393and voided it in the ledger, so those files go back into the rotation. GitHub does not applyClosesfor a pull request into a non-default branch, so I'm closing this by hand. The change reachesmainwith the epic's single landing pull request.