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
Shard e3855-ui-react-06 of the #3855 test-health push: 76 packages/ui-react/tests files in 49 clusters, run th-20261110183038-0543ec, branch test-health/e3855-ui-react-06. This issue tracks the batch so its pull request into epic/3855-test-health has an issue to close.
Fixed findings, one line each:
turn-journal-runtime.test.ts—self-comparison-class (cannot fail):REVERT_EXPIRED_SURFACE_INACTIVEmatched/Revert|Undo/case-sensitively while the only control is "Review whole-turn revert", so it passed whatever the product did. Now case-insensitive (mutation survived before, killed after).turn-journal-runtime.test.ts—order-dependent(4 of 5 shuffled baseline runs failed): the keep-both case never undid its keep-both, and the voice/stale-session case's held revert rewrotenotes/voyage.mdafter the case ended. Both now undo their effects; 10/10 clean runs, 5 shuffled.render/handoff.test.tsx—order-dependent: "Esc cancels" sent Escape to an unfocused field, so happy-dom's change polyfill depended on the field an earlier case left tracked (failed alone and on 11 of 40 random orders). It now focuses the field first; 10/10 clean.render/desktop-panes-sixth.test.tsx—unrestored-global: the Actions dismissal case replacedglobalThis.fetchand never restored it. Now restored from its descriptor infinally.render/turn-failure.test.tsx,render/answer-delivery.test.tsx,render/message-source.test.tsx,render/ask-user-list.test.tsx,render/ask-user-rank.test.tsx—shared-state(ui-react: ClampedPre timeline copy-control render test fails when the render directory runs together #3720): each left the default root's chat store (activeSessionId,backendIds) changed for the next file. Each now resets it inafterAll. The ui-react: ClampedPre timeline copy-control render test fails when the render directory runs together #3720 order (turn-failure,answer-delivery,copy-control) failed 93/1 before and passes 94/0 after.render/copy-control.test.tsx—order-dependent(ui-react: ClampedPre timeline copy-control render test fails when the render directory runs together #3720, victim side): the timeline case now renders under its own root and provider instead of the shared default root; with the leaked state injected it failed before and passes after.session-demux.test.ts—shared-state: the default chat store was reset only before each case; it is now also reset inafterAll.share-intake.test.ts—unrestored-global: the module-levellocalStoragestand-in is now removed inafterAll.tracker-store.test.ts—unrestored-global: five cases deletedwindow/documentunconditionally; a helper now restores the original descriptor.registration-on-mount.test.tsx—self-comparison:packs.every(p => distinct.includes(p))was true by construction. It now asserts the repeats reached the registry (a module-latch mutant was killed).tracker-runtime.test.ts—test-fault(tests: attribute low-space failures in remaining running-turn fixtures #2551, one of its five suites):requireTurnFreeSpace(brain)added after the fixture brain is created, so a low-space disk fails withTurnFixtureFreeSpaceErrorinstead of a 15 s tracker timeout. Proven on a private filled 3 GiB tmpfs.
Scope
Test code under packages/ui-react/tests only, as recorded in the run's worksheets.
Out of scope
Product code, timeouts, deadlines, shard or selection rules, the other four suites of #2551, render files outside this shard for #3720, and the deferred findings named in the pull request.
Acceptance criteria
bun scripts/test-health.ts batch verify --base origin/epic/3855-test-health --head <PR head>reportsok: true.- The pull request's hosted
proofpasses on its head.
Verification
The pull request carries the gate output, the mutation receipts and the check:pr receipt.
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 #3943, which merged into
epic/3855-test-healthasfbf596bf6(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. 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.