Repository navigation
cmux NEXT tests: Group by Status and pane zoom tests follow the lane-status default and the bar overflow (base reds) - #28563
Conversation
…atus on, by title theSectionsComeFromThePriorityClassifier (#20905) put every row under Idle: the row feed reads acpmux lanes only with sidebar.rowStatus and sidebar.laneStatus on, both off by default since 8f4e8f0 (Lawrence 2026-10-21). The test turns them on for its run, reads each row by its title (the fixture's workspaces have handle ids), and leaves out listed tab rows (sidebar.showWorkspaceTabs, on by default since f32ee25). A finished chat's row carries no Done chip (#23767: a row never says Done), so it sits under Idle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-63b9964940c20354b639
… its buttons aZoomedPaneShowsALitZoomButton (:145) found Zoom in the bar's "…" menu: since #26132 a bar too narrow for a button hides it and "…" offers it, and the harness's bar had no frame (zero width), so every button overflowed. The harness now gives the bar a pane's 240 x TabStripView.preferredHeight frame, so the test checks what it meant: zoomed, the lit zoom button shows and "…" does not offer zoom a second time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-63b9964940c20354b639
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Shipped in:
|
|
Review (codex, router-review): SHIP at b651a44 SHIP No correctness defects found.
Validation limitation: Static review completed; macOS tests could not run in this Linux box without Swift. |
…ests-status-grouping-zoom
|
Found 1 test failure on Blacksmith runners: Failure
|
|
Review (next-review patch-id; carried): SHIP at 33f8c98 The independent SHIP at b651a44 carries to this head: the PR's own change ( |
… row key) (#29486) The feat tip does not compile its tests (merge-batch compile job adbfd4f046d9e75e9635af65 at 644491f): - ForgetRemovesBothListsTests.swift:18: cannot find 'MainWorkScheduler' / 'MainFrameBudget' in scope. The file came with 4a46cfa (#28799) without `import CmuxNextWakeups`, where both types are public. - SidebarStatusGroupingTests.swift:58: type 'SidebarRowKey' has no member 'tab'. 46cf844 (#28563) added `if case .tab = row.key` after 8a3af6b had deleted the sidebar's tab-row keys; with no tab rows, the line has nothing to skip, so it goes.
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Base red
cmux-next swift testonfeat-cmux-nextfails two tests the same way on base. They have two separate causes, one commit each. Both are test-only changes.1.
SidebarStatusGroupingTests.theSectionsComeFromThePriorityClassifier(:202)Failure:
sidebar.drawn → ["Idle, 5 workspaces", "handle:1", "Claude Code", ...], where["Needs you, 1 workspaces", "waiting", "Done, ...", ...]was expected.Culprits:
sidebar.rowStatusandsidebar.laneStatuson. With both off, every row lands under Idle.drawn, which shows as the "Claude Code" entries above.Verdict: test change. These are deliberate default changes, and the test's intent still holds: the sections come from the Priority classifier. The test now turns the two lane switches on for its own run and resets them after. It reads each row by its title, because the fixture's workspaces have
handle:<n>ids, and it leaves listed tab rows out. A finished chat's row carries no Done chip (#23767, 10b4591: "rows draw no status words; ... never Done"), so its expected place is now under Idle instead of a Done section.2.
TabDoubleClickZoomTests.aZoomedPaneShowsALitZoomButton(:145)Failure:
Expectation failed: !(menu.items.contains { ActionRegistry.menuRun(of: $0)?.id == "toggleSplitZoom" })Culprit: #26132 (5df1da9, "Make pane types and commands discoverable"). A bar too narrow for a button now hides the button and offers it in "…" instead. The test harness's
PaneToolbarhad no frame, so its width was 0, every button overflowed, and "…" offered Zoom a second time.Verdict: test change. The overflow behavior is deliberate. The harness now gives the bar a pane's frame (240 ×
TabStripView.preferredHeight), so the test checks what it was meant to: when the pane is zoomed, the lit zoom button shows and "…" does not offer zoom again.Observed / Not run
prepush-gatepasses.--filter 'SidebarStatusGroupingTests|TabDoubleClickZoomTests'No capture: test-only change.
Changelog
none
Agent session: agent session
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Fixes two test failures in
cmux-next swift testonfeat-cmux-nextcaused by recent default-behavior changes. Both changes are test-only.SidebarStatusGroupingTests.theSectionsComeFromThePriorityClassifiernow turns onsidebar.rowStatusandsidebar.laneStatus(both off by default) for its run, reads rows by title, and leaves out listed tab rows. A finished chat's row carries no Done chip anymore, so it expects it under Idle instead of Done.TabDoubleClickZoomTests.aZoomedPaneShowsALitZoomButtonnow gives the harness'sPaneToolbara pane-sized frame (240×TabStripView.preferredHeight) so buttons fit, and verifies the lit zoom button shows without "…" offering zoom again.Written for commit 3385e61. Summary will update on new commits.