gstack
gstack copied to clipboard
test: refresh sidebar UX regression coverage
Summary
- Replaces stale
browse/test/sidebar-ux.test.tsassertions for the removed sidebar-agent/chat queue with current terminal-first sidebar UX coverage. - Pins the removed
pickSidebarModel/ANALYSIS_WORDS/ACTION_PATTERNSmodel-router path as gone instead of requiring it to exist. - Keeps regression coverage for the active PTY sidebar contract: terminal layout, quick actions, auth bootstrap, PTY session routes, inspector/welcome bridge, and cleanup behavior.
Fixes #1980
Verification
bun test browse/test/sidebar-ux.test.ts→ 29 pass, 0 fail- Adjacent status check:
bun test browse/test/sidebar-tabs.test.tsstill has 2 pre-existing string-grep failures unrelated to this diff:forceRestart helper closes ws, disposes xterm, returns to IDLETerminal-agent spawn survives
- Codex autoreview on the exact diff: CLEAN
Notes
This is intentionally test-only. The production code already removed the sidebar chat queue and terminal-first behavior is covered by existing implementation files.
Merging to main in this repository is managed by Trunk.
- [ ] To merge this pull request, check the box to the left or comment
/trunk mergebelow.
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here
Verification update from Hermes daily OSS lane:
- Focused test:
bun test browse/test/sidebar-ux.test.ts→ 29 pass, 0 fail, 163 assertions. - GitHub reported no check suite for this fork branch, so I ran an explicit Codex autoreview against the exact PR diff.
- Autoreview verdict: CLEAN. No unrelated files, stale sidebar-agent/chat model-router assertions, false assertions, or blocking brittleness found.