Repository navigation
Description
Summary
Since #40331 ("fix(terminal): scope parking and output coverage to each workspace", merged 2026-11-10, commit 15cabe6), six E2E tests about terminal parking fail every time on main. They are part of why the daily E2E run on main has been red since 2026-11-10. A same-input bisect pins them to that commit.
Evidence
Targeted workflow_dispatch runs of e2e.yml (Linux, electron-headless, 1 worker, 0 retries), same spec list:
| Run | Checked-out SHA | Result |
|---|---|---|
| 43149444155 | dfd17e0b69dc (parent of #40331) |
all 11 selected tests pass |
| 43149453082 | 15cabe65ac0c (#40331) |
the tests below fail |
| 43150032322 | 333febd77bb (main, 2026-11-12) |
still fail |
They also fail in every full main run since then, for example scheduled 42862072545 (2026-11-10) and 43065639128 (2026-11-11), and dispatch 43079702969. The previous scheduled run 42662087264 (da8396395, before #40331) passed all of them.
| Test | Failure on main |
|---|---|
terminal-hidden-view-parking.spec.ts:310 keeps bell and title side effects live while parked |
parked OSC 0 title did not update the tab title in the store: expected Parked side effects <uuid>, received Terminal 1 |
headless-paired-remote-terminal-retention-memory.spec.ts:7 ordinary-parks paired terminals |
oracle expected parked: 5, received parked: 0 |
headless-paired-remote-terminal-retention-memory.spec.ts:43 cold-activates only visible paired terminals |
expected {mounted: 8, parked: 0}, received {mounted: 8, parked: 7} |
headless-paired-remote-terminal-reveal-grid.spec.ts:74 reveals a parked paired terminal once |
the "tab is parked" check stays false for 30 s |
headless-paired-remote-terminal-viewer-size.spec.ts:34 keeps a parked terminal at its last viewer grid |
the "tab is parked" check stays false for 30 s |
desktop-published-split-orientation-legacy-leaf.spec.ts:93 |
the pane:9 legacy leaf written with setTabLayout onto a parked tab is gone by the next read; the saved tree has three UUID leaves |
terminal-parked-cli-split.spec.ts:199 also started failing at #40331 (CLI split returned paneRuntimeId: -1). #41203 has since fixed it, and it passes on main.
Impact
The first test checks the behaviour #40331 describes in its own ELI5: a parked terminal still delivers its title and bell. On main that does not happen for a tab parked in the active workspace. The four paired/headless tests show that paired-runtime terminals in the web client no longer park, or no longer report themselves as parked. That affects the memory-retention and reveal-size guarantees those specs protect. This looks like a product regression, not a stale test: none of these specs changed in #40331, and their assertions still describe the behaviour the PR says it keeps.
#40331 ran only its changed-spec E2E lane before merging, so none of these specs ran on it.
Not yet established
I have not root-caused this inside #40331. The failures point at the new per-workspace parked-tab watcher coverage and parking-candidate code (parked-terminal-tab-coverage.ts, terminal-parking-pass-candidates.ts, use-terminal-watcher-effects.ts), but that is only a guess.
Repro
gh workflow run e2e.yml -R stablyai/orca --ref <branch> -f ref=<sha> \
-f test_files='["tests/e2e/terminal-hidden-view-parking.spec.ts","tests/e2e/headless-paired-remote-terminal-retention-memory.spec.ts","tests/e2e/headless-paired-remote-terminal-reveal-grid.spec.ts","tests/e2e/headless-paired-remote-terminal-viewer-size.spec.ts","tests/e2e/desktop-published-split-orientation-legacy-leaf.spec.ts"]' \
-f managed_ssh_shards='["1/1"]'
Introduced by #40331 (cc @brennanb2025). These tests are not being quarantined or changed to hide this.
Activity
AmethystLiang commentedon Nov 12, 2026
Triage: assigning to Brennan: this was bisected to #40331, which Brennan authored, so regressions route to the PR's author.