You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unit suites print unasserted output (act warnings, a stray comment mark, a changed Yjs client id) #612
Several unit suites print output that no test asserts and no one reads. Seen while building UX wave U10a (#582) in suites that landing ran but did not change, on master d7ca414ae as well as on the branch, so it predates that landing:
React "not wrapped in act(...)" warnings;
y-prosemirror's line naming a comment--stray mark;
Yjs's line about a changed client id.
The output hides real warnings in a run's log and makes a failed run slower to read.
Change
For each source, either fix the cause (wrap the update in act, give the fixture a mark the schema knows, keep one client id per document in the test) or, where the line is the library's and expected, assert it in the test that provokes it and keep it out of the log.
Acceptance
vitest run over src/artifacts, src/engine-host/documents, src/renderer/src/tools/document and the test folders that import them prints none of the three kinds of line above.
No product code changes behaviour; a library's log line is not silenced globally.
Not in scope
A repo-wide rule that fails a test on any console output.
Source: the residue of UX wave U10a's build (hand-back of 2026-11-13 UTC). The exact files are found by running the suites named above and reading their output.
Further sightings from the UX wave's branches (2026-11-13), same class: a passing unit run prints errors or warnings nobody asserts, which hides a new one. Each predates the branch that reported it; none was compared against the base line by line.
src/main/browser/index.test.ts: '[browser]' warnings on stderr from unchanged cases (reported by U12a).
Concurrent-rendering errors about a missing terminal token, which master prints too (U12a).
src/renderer/src/panel/summary/PushState.test.tsx: 'Sign in types gh auth login into a Terminal tab' spies on addTool without registering a Terminal tool, so every run prints 'panel: no tool registered as terminal' (U8b, U13a). Remedy: register a terminal probe in the case.
Composer.test.tsx and Editor.test.tsx: act and flushSync warnings; Tab.test.tsx, resource.test.tsx and useSetupIntent.test.tsx also print (U13a).
CommandPalette.test.tsx: act() warnings (U7a).
A related timing case, not output: app/Shell.panel.test.tsx 'an addTool before hydration writes nothing' relies on the real 250 ms write-back not having fired and failed once under a loaded build VM (U8b). Remedy: fake timers.
Closing condition as before: the expected lines are captured and asserted (or the cause removed), so that a clean run prints nothing unasserted.
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Activity
SSFSKIM commentedon Nov 13, 2026
Further sightings from the UX wave's branches (2026-11-13), same class: a passing unit run prints errors or warnings nobody asserts, which hides a new one. Each predates the branch that reported it; none was compared against the base line by line.
A related timing case, not output: app/Shell.panel.test.tsx 'an addTool before hydration writes nothing' relies on the real 250 ms write-back not having fired and failed once under a loaded build VM (U8b). Remedy: fake timers.
Closing condition as before: the expected lines are captured and asserted (or the cause removed), so that a clean run prints nothing unasserted.
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM commentedon Nov 20, 2026
[board] in-progress: batch 7, group D
Unit suites keep their unasserted output out of the log (#612)
SSFSKIM commentedon Nov 20, 2026
[board] in-review: batch 7, PR #804