fix(portal): ask bonsplit which pane owns a tab instead of scanning
Merged
ST
3d ago+16+16+01234567890123456789-5-5-0123456789
Summary
Portal ownership checks no longer read every tab's metadata during SwiftUI updates. Bonsplit's indexed pane and selected-tab ID lookups preserve ownership behavior without subscribing terminal surfaces to unrelated animated tab titles.
Testing
- python3 scripts/verify-local.py --swift-changed 7f58f608654893d191398bf96103814a11fad2a5 passed all 11 selected checks.
- CI static, policy, and workflow guard checks passed on f44e8510711eea91ed042876ba8aa568fc29b794.
- Focused native run requested: https://github.com/manaflow-ai/cmux/actions/runs/36123004475. It is queued and has not received a runner yet.
- Exact-head tagged build was attempted with tag issue-14126-portal-owner-identity, but backend provisioning returned HTTP 429 because the registration limit is full. No build job or artifact was created.
Demo video
Not recorded. The required tagged build was blocked before compilation by backend capacity.
Checklist
- Replaced the pane scan with Bonsplit's indexed paneId(containing:) lookup.
- Replaced both selected-tab object reads with selectedTabId(inPane:).
- Preserved existing behavior and API boundaries.
- Ran scoped static verification.
- Run the focused native suites when a runner is available.
- Dogfood the exact HEAD on a tagged build when backend capacity is restored.