Merge the close-tab branch cmux main already pins

Merged
AU
2mo ago
+13-0

cmux main pins b4fc5e2 from this branch (manaflow-ai/cmux#15613, "Add guarded Close Tab UX"), but the branch was never merged here. So b4fc5e2 isn't reachable from bonsplit main, and no bonsplit commit contains both the close-tab action and #261.

#261 ("Avoid deferred tab-hint lookups of a deallocating window") fixes an app-host abort that is still reaching cmux's full suite (manaflow-ai/cmux#15488):

objc: Cannot form weak reference to instance … of class NSKVONotifying_NSWindow … Program crashed: Aborted

Merging this branch gives cmux one pin, the new main head, that carries the close-tab action (c9b58ce), #261, the hint-pill work (#265) and the tab performance changes (#268 and earlier). cmux then moves its pin forward in manaflow-ai/cmux#16094.

  • Clean merge: git merge-tree against main (7e5598e) reports no conflicts. The branch adds c9b58ce "feat: add close tab context action on current main" and two merges of earlier main commits.
  • Merge commit, not squash: please merge with a merge commit, so the new main head descends from b4fc5e2, the commit cmux pins today. That keeps cmux's forward-only submodule guard satisfied.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Merges the close-tab branch that cmux main already pins, making that commit reachable from bonsplit main so cmux can move its pin forward in one step.

The branch adds the guarded Close Tab context action and carries the fix for the app-host abort from deferred tab-hint lookups of a deallocating window, plus the hint-pill and tab performance changes. The merge is clean against main.

Merge note

  • Merge with a merge commit rather than squashing so the new main head descends from the commit cmux pins today, keeping cmux's forward-only submodule guard satisfied.

Summary by CodeRabbit

  • New Features
    • Added a “Close Tab” option to the tab context menu. The option is unavailable for pinned tabs and is localized in English and Japanese.