Repository navigation
perf(cmux-tui): avoid cloning projection specs per frame - #11487
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
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 (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughChangesSidebar empty-state rendering
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The change removes per-frame projection-spec cloning while preserving sidebar labels and behavior; no actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
Full details: Description checkExplanation The description clearly explains what changed, why it changed, behavior preservation, the added regression test, and verification performed. It is mostly complete, although it does not include the template's Demo Video, Review Trigger, or Checklist sections. Full details: Docstring CoverageExplanation Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 too large.) Full details: Cmux Swift Actor IsolationExplanation PASS. The pull-request diff contains only two Rust files: Full details: Cmux Swift Blocking RuntimeExplanation PASS. The PR diff contains only Full details: Cmux Browser Automation Off-MainExplanation PASS: The PR diff contains only Full details: Cmux Expensive Synchronous LoadExplanation PASS: The complete pull-request diff from merge base Full details: Cmux Cache Substitution CorrectnessExplanation PASS: The pull request changes only Rust files ( Full details: Cmux No Hacky SleepsExplanation PASS. The pull request changes only Rust files: Full details: Cmux Algorithmic ComplexityExplanation PASS: The PR changes only Rust files ( Full details: Cmux Swift ConcurrencyExplanation PASS. The exact diff against Full details: Cmux Swift `@Concurrent`Explanation PASS. The pull-request diff from Full details: Cmux Swift Package BoundariesExplanation PASS: The PR diff contains only two Rust files under ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 ast-grep (0.45.2)cmux-tui/crates/cmux-tui/src/app.rsast-grep timed out on this file 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 |
b357092 to
52eba4a
Compare
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. |
6044a8b docs(tui): align frontend protocol references (manaflow-ai#10246) 56457e4 perf(cmux-tui): avoid cloning projection specs per frame (manaflow-ai#11487) 9503718 ci: guard focused filters that match only ignored tests
Summary
SidebarResourceKindleaf before mutable projection renderingThis replaces #11485 under the matching opener and commit-author identity. The source head is unchanged. The scalar extraction removes per-frame
SidebarViewSpecheap copies without changing row order, selection, hit targets, or labels.Verification
rustfmt --edition 2024 --checkgit diff --checkgpt-5.6-sol, high review: clean, correctness 0.98Summary by cubic
Avoids cloning the projection spec on every frame, cutting per-frame heap allocations in the sidebar without changing row order, selection, hit targets, or labels.
Written for commit 52eba4a. Summary will update on new commits.
Summary by CodeRabbit
Bug Fixes
Tests