test(webviews): dock gutters covers the running-work tray, not the agents pill
Summary
agent-pane-dock-gutters.test.ts (added by #23243) timed out on every run at the base tip. #23104 replaced the agents pill with the tray of running work (on by default) and landed after #23243, so the file's setup waited for .acpmux-agents-pill, which never shows, until the runner's 120 s limit.
The file now covers the tray instead:
- It waits for
.acpmux-running-trayand expects it in the stack's order. - It checks the tray like the dictation notice. The tray is its own box inset by its margin, so the stack's gutter beside it passes the pointer through and the wheel there scrolls the transcript. The tray takes the pointer, and the wheel over it scrolls nothing.
- The pill's own list test goes with the pill. The pill shows only with Debug Settings
agentPane.debug.subagentTrayoff.
Test-only; no product code changes.
Changelog
none
Testing
Command: scripts/ci/run-webviews-tests.sh with CMUX_WEB_TEST_FILES=test/agent-pane-dock-gutters.test.ts, as a fleet step (cmux-ci run --class light).
- Base tip 2dff5e5810c2: 10 of 10 runs TIMEOUT (limit 120s), retries alone included, with no test finished (for example step 378d613c08e4c1b1e1a2fd27). The first CI sighting was #22827's shard 2, which timed out the same way.
- Control at the same tip:
agent-pane-wheel-pass-through.test.ts, on the same papercut fixture, passes (step 85ac2bfb8591ab761bb94c9d). - Head efb2f6c0b1d0: PASS in 4 of 4 finished fleet runs (steps ccab26ef6c6068fc6aeac1a8, da38e4c71f1d273af0b4cb57, d26724cc895f9583339d4e5e, a22252f6c50c0550b331973b); a fifth was still queued at merge.
Observed / Not run
- On #23243's own CI (before #23104 landed) this file passed in about 55 s, cold Vite warm-up included.
scripts/web-lint.sh,bun scripts/check-fixed-waits.tsandprepush-gate.pypass locally.- Independent review: PASS, nothing blocking (read-only; it ran no tests). Its non-blocking notes: no test covers the tray-off agents pill now, and bottomStack.css still names the pill in two comments.
Agent session: cosmic-gray
🤖 Generated with Claude Code
Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Fixes agent-pane-dock-gutters.test.ts timing out on every run by covering the running-work tray instead of the agents pill.
- The setup waited for
.acpmux-agents-pill, which no longer appears since the tray replaced the pill (on by default), so every run hit the 120 s limit. - Waits for
.acpmux-running-tray, expects it in the stack's order, and checks the tray's gutter pass-through and no-scroll behavior like the dictation notice. - Removes the pill's list test, as the pill now shows only with
agentPane.debug.subagentTrayoff.
Test-only; no product code changes.