Skip to content

cmux-next tests: VerticalTabListViewTests closes its windows (base red from #32127) - #32439

Merged
cmux-bot[bot] merged 1 commit into
feat-cmux-nextfrom
base-red-vtabs-windows
Nov 2, 2026
Merged

cmux-bot[bot] merged 1 commit into
feat-cmux-nextfrom
base-red-vtabs-windows

Conversation

@lawrencecchen

@lawrencecchen lawrencecchen commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes the base red from #32127: WindowCleanupCoverageTests (Swift test shard 12) fails because #32127 added VerticalTabListViewTests, which makes an NSWindow in each test without the .closesItsWindows trait and only orders it out. Same pattern as #32217, #32086 and #29544.

Each test now closes its window in its teardown (closeAfterTest()), and the suite takes .closesItsWindows. No product code changes.

Testing

  • Fleet package-test-lane.sh suite Packages/macOS/CmuxNext WindowCleanupCoverageTests,VerticalTabListViewTests at 679374d (job 3818290dadce0d134523e7fd): both suites passed (WindowCleanupCoverageTests 18 s, VerticalTabListViewTests 3 s).

Observed / Not run

Observed: the fleet run above. Not run: the full Swift shard 12.

Changelog

none

Proof

No capture: test-only change.

…d from #32127)

WindowCleanupCoverageTests fails at the tip: #32127 added VerticalTabListViewTests, which
makes an NSWindow per test without .closesItsWindows and only ordered it out. Each test now
closes its window in its teardown (closeAfterTest), and the suite takes the trait.
@lawrencecchen lawrencecchen added the risk:low Risk tier (docs/ci/risk-tiers.md) label Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

cmux status (one comment, edited in place; each line is updated by the job that owns it)

Review 679374d: HQ feed card · gallery before/after runs · checks

App of this head (app.zip, kept 1 day)

gh workflow run reload-build.yml -R manaflow-ai/cmux --ref feat-cmux-next -f tag=pr32439 -f ref=base-red-vtabs-windows -f platform=macos -f backend_mode=local

Shipped in:

@lawrencecchen

Copy link
Copy Markdown
Contributor Author

Review (claude-review-subagent): SHIP at 679374d

  • The top-level suite VerticalTabListViewTests has .closesItsWindows on its @Suite line, and the file imports CmuxNextTestSupport. This is the line that WindowCleanupCoverageTests.attributes(above:) reads.
  • The suite makes one window, the borderless NSWindow in Harness. Each of the 5 tests makes one Harness, and the next line sets defer { harness.window.closeAfterTest() }. Harness.init does not throw, so the defer is set before any try. The old orderOut only hid the window, which the census counts as a leak.
  • CmuxNextAppTests already depends on CmuxNextTestSupport in Package.swift. No Package.swift change is necessary, unlike cmux-next tests: DisplayBackdropBindingTests closes its windows (base red from #27092) #32217 (bba230b, where CmuxNextSettingsTests had to link it).
  • VerticalTabListView opens no window of its own. The sibling suites that cmux NEXT: vertical tabs per workspace or for all workspaces #32127 added (VerticalTabListLayoutTests, VerticalTabsMenuTests, WorkspaceVerticalTabsTests, VerticalTabsSettingTests, TabStripMenuTests) do not open windows.
  • origin/feat-cmux-next still has the old orderOut version, so this is not a duplicate fix.
  • Not run: no local or fleet test run. This is a read-only review.

@lawrencecchen lawrencecchen added the ready-to-land Reviewed at this head; next-autoland merges it into feat-cmux-next when its only reds are base reds label Nov 2, 2026
@cmux-bot
cmux-bot Bot merged commit d25dce0 into feat-cmux-next Nov 2, 2026
231 of 250 checks passed
@cmux-bot
cmux-bot Bot deleted the base-red-vtabs-windows branch November 2, 2026 16:31

This branch was previously deployed

1 inactive deployment
ci-routing-agent — 679374d8 Deployed Nov 2, 2026 by lawrencecchen via wait for same-key tree publisher #101937
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-land Reviewed at this head; next-autoland merges it into feat-cmux-next when its only reds are base reds risk:low Risk tier (docs/ci/risk-tiers.md)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant