Repository navigation
fix(cmux-tui): make workspace clippy green and lint in every hosted lane - #11796
Conversation
|
Warning Review limit reachedNext included review available in 7 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (14)
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 ✍️ ✅ |
d2ac8c3 to
b06f53c
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. |
wait_for_native_child_status is only called from tests since the process-tree owner refactor, so cargo clippy -D warnings on current main fails with dead_code.
Clippy ran only in the full lane, and the full lane is rarely used because its Windows smoke has been red (#11793). Eleven lint failures accumulated on main unnoticed. Run clippy in the focused lane too, so the gate everyone uses catches lint drift.
b06f53c to
60bba98
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. |
4e30be8 cloud: compact access screen with the app icon (manaflow-ai#11819) 2558039 fix(cmux-tui): restore rustfmt import order (manaflow-ai#11808) f4e3d4f Keep client identity cache responsive during file lock waits (manaflow-ai#11795) 69dfcd1 fix(cmux-tui): make workspace clippy green and lint in every hosted lane (manaflow-ai#11796) 0f19be0 cloud: static model-plane env baked into the snapshot; create writes nothing into the guest (manaflow-ai#11813) c03ec18 cloud: add authenticated public VM domains (manaflow-ai#11692) e4325ab fix(cmux-tui): validate relay CLI values # Conflicts: # .github/workflows/cmux-tui.yml
…ane (#11796) * fix(cmux-tui): clear stale clippy warnings * fix(cmux-tui): satisfy remaining clippy lints * fix(cmux-tui): clear remaining clippy warnings * fix(cmux-tui-core): keep the child-status wait helper test-only wait_for_native_child_status is only called from tests since the process-tree owner refactor, so cargo clippy -D warnings on current main fails with dead_code. * ci(cmux-tui): run clippy in every hosted mode Clippy ran only in the full lane, and the full lane is rarely used because its Windows smoke has been red (#11793). Eleven lint failures accumulated on main unnoticed. Run clippy in the focused lane too, so the gate everyone uses catches lint drift.
cargo clippy --workspace --all-targets --locked -- -D warningsfails on current main with eleven pre-existing warnings, and the check that would catch them runs only in the hosted full lane, which nobody can pass right now because its Windows smoke is red (#11793). So lint drift on main went unnoticed.This PR:
muts, and an unusedTreeViewmethod;wait_for_native_child_statustest-only, the one warning those commits no longer cover because main moved;cargo clippyin every hosted mode, not onlyfull, so the focused lane everyone uses catches lint drift.Trade-off stated: clippy adds a few minutes to each focused test job. The alternative, a PR-triggered clippy job, needs the Rust toolchain plus the Zig ghostty-vt build on every PR and is left as a follow-up.
Verification on the fleet builder against this exact tree:
cargo fmt --checkclean,cargo clippy --workspace --all-targets --locked -- -D warningsfinishes with no errors. Local codex review of 11763's diff was clean. 11758 and 11763 become redundant once this merges.Summary by cubic
Fixes the workspace clippy warnings on main and runs clippy in every hosted mode so lint drift no longer goes unnoticed.
Notes
wait_for_native_child_status, severalTreeViewmethods, andPendingRemoteRequestsaccessors as test-only, and removed the unusedactive_workspace_mutmethod.Written for commit 60bba98. Summary will update on new commits.