refactor(cmux-tui): share stack row allocation - #11867
Conversation
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughChangesStack layout refactor
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This change centralizes stack layout row allocation without altering public APIs or identified layout behavior. No current merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
Full details: Description checkExplanation The description explains what changed, why it changed, and how it was verified. It omits the template's Demo Video, Review Trigger, and Checklist sections, but these omissions do not prevent understanding the refactor. Full details: Cmux Swift Blocking RuntimeExplanation PASS: The pull-request commit changes only Full details: Cmux Browser Automation Off-MainExplanation PASS: The pull request changes only Full details: Cmux Expensive Synchronous LoadExplanation PASS: The pull request changes only Full details: Cmux Cache Substitution CorrectnessExplanation PASS. The pull request changes only Full details: Cmux No Hacky SleepsExplanation PASS — The pull request changes only Full details: Cmux Algorithmic ComplexityExplanation PASS. The PR changes only Full details: Cmux Swift ConcurrencyExplanation PASS: The pull request changes only Full details: Cmux Swift `@Concurrent`Explanation PASS: The pull request diff changes only Full details: Cmux Swift Package BoundariesExplanation PASS: The pull request changes only
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
All contributors have signed the CLA ✍️ ✅ |
15f2253 to
8729fe9
Compare
3812562 refactor(tui): centralize terminal input classification (manaflow-ai#11855) 7d0385f Axiom: failure rate and latency per third-party endpoint (Freestyle, Stack Auth, Stripe, ...) (manaflow-ai#11779) ed5e826 refactor(tui): share frontend focus target mapping (manaflow-ai#11861) 7fa300e Revert "Fix terminal text bleed during live window resize (manaflow-ai#11530)" (manaflow-ai#11887) bace77c perf(cmux-tui): avoid front-shifting layout nodes (manaflow-ai#11860) 9f8a74f cmux-tui: simplify PTY error mapping (manaflow-ai#11864) 2748329 refactor(cmux-tui): share stack row allocation (manaflow-ai#11867) e7223a5 coderouter: PostHog traces + exceptions keyed by the cmux user, request ids, health endpoint, Slack alerts, upstream header timeout (manaflow-ai#11798)
Summary:
Verification:
The helper follows Ratatui immediate-rendering guidance by keeping frame geometry decisions in one deterministic traversal.
Summary by cubic
Centralizes stack row height and header allocation for tiled and viewport layouts in
cmux-tuiso both paths share the same ordering and expanded-pane behavior.walk_stack_rowshelper.Written for commit 8729fe9. Summary will update on new commits.
Summary by CodeRabbit