Repository navigation
Closed
Description
CI unit (windows) fails 20 tests in packages/tui and packages/opencode once the full suites run in CI (#223). The same tests pass on unit (linux). They were first seen on the #317 batch run, but the failing tests and their sources are not changed by that batch, and the symptoms are Windows-specific:
- path separators:
abbreviates paths within home boundariesreceives~\projectinstead of~/project - blank frames from the test renderer (
createWaitError) inactivity group TUIandagent effort selectortests TUI worker bootstrapdriver crashes withInvalidStateError: Worker has been terminatedon Bun Windows baseline
Failing tests:
- TUI worker bootstrap > a thread worker without the marker registers no RPC listener (the black-screen regression) [7047.16ms]
- Work/Code agent split > permission-denied tools are hidden while finish remains available [488.36ms]
- abbreviates paths within home boundaries [0.73ms]
- activity group TUI > click expands the group to native tool rows and collapses again [207.59ms]
- activity group TUI > collapses one group while all groups are expanded [157.05ms]
- activity group TUI > collapsing an expanded group keeps it collapsed across live updates [207.75ms]
- activity group TUI > ctrl+o clears individually expanded groups [312.97ms]
- activity group TUI > ctrl+o expands every group and collapses them again [235.57ms]
- activity group TUI > excluded orchestration tools do not count and render outside the group [264.57ms]
- activity group TUI > expanding and collapsing keeps the scroll position [192.74ms]
- activity group TUI > keeps groups separated by assistant text independent [262.30ms]
- activity group TUI > keeps the Working blocks around a to-do call independently collapsible [203.74ms]
- activity group TUI > keeps trailing reasoning inside the collapsed activity and reveals it when expanded [204.95ms]
- activity group TUI > renders a lone tool call natively without a group header [224.55ms]
- activity group TUI > toggles each group independently while live updates stream in [226.29ms]
- agent effort selector > keeps a configured thinking variant when effort changes [12.21ms]
- agent effort selector > orders a deferred initial read after queued selection before writes and rolls back to the latest saved value [112.87ms]
- agent effort selector > orders a deferred initial read before selection before writes and rolls back to the latest saved value [2135.46ms]
- colored wordmark keeps the highlighted half on one column [1.06ms]
- session slash commands > dispatches /details and globally toggles /working without affecting assistant text or thinking [133.12ms]
Not yet proven on a base-only run (the #224 Windows run timed out at 12 minutes before reaching these tests). Next step: run the base with the suites enabled on Windows and fix at the failing layer (code or test), without blanket skips.
Metadata
Metadata
Assignees
Labels
No labels
Activity
agenteinstinct1-max commentedon Oct 20, 2026
Update at 5:30: linux unit is green. Windows still fails: ProjectCopy stale git worktree (5s), RepositoryCache stale cache clone (11.9s, so not just the 5s default), path abbreviation, activity group TUI (13 tests), agent effort selector (3), colored wordmark, session slash commands /details. Needs a Windows-capable repro.
test: make abbreviateHome and wordmark tests platform-aware (#318) (#336
test(tui): keep POSIX needles where the frame is normalized (#318)
test(tui): make tool-row path expectations platform-separator aware (#…
agenteinstinct1-max commentedon Oct 21, 2026
Two windows flake classes from this issue are retired by #488 (squash-merged as 1b1c1d4):
Both were POSIX-hardcoded path needles in test predicates; tool rows render
path.relativeoutput (backslashes on win32). #488 routes the expectations through areadRow()helper joined withpath.sep. The blank-artifacts test keeps POSIX needles intentionally since it normalizes frames to/.Two clean windows runs on the fix head confirmed zero activity-group/slash-commands failures. Remaining open classes: abbreviates-paths, colored wordmark, Work/Code agent split, non-path blank-frame, agent-effort persistence race, worker bootstrap crash. Keeping this issue open (Refs, not Fixes).
fix(tui): retry transient rename refusals in writeJsonAtomic
test(tui): join the spy-target effort.json path like the implementation
fix(tui): retry only EPERM/EBUSY on rename; log absorbed state-save f…
fix(tui): retire agent-effort windows flake class (state-save races +…
agenteinstinct1-max commentedon Oct 21, 2026
The agent-effort persistence-race class is retired by #490 (squash-merged as 9374d3b). Four layers, root-caused across three windows CI runs:
Two clean windows runs on the merge head: zero agent-effort selector failures (one leg had only the sanctioned subprocess-diagnostics git-spawn timeout; the other had zero test failures and died to the 20-minute runner job timeout). Remaining open classes: abbreviates-paths, colored wordmark, Work/Code agent split, non-path blank-frame, worker bootstrap crash. Keeping this issue open (Refs, not Fixes).
test(core): give the git-fixture suites a 45s budget
test(opencode): deflake the core test timeouts behind the windows fai…
fix(tui): fail fast when a thread worker never bootstraps (#398)
fix(tui): fail fast when a thread worker never bootstraps (#398) (#534)