Skip to content

fix(cmux-tui): make workspace clippy green and lint in every hosted lane - #11796

Merged
lawrencecchen merged 5 commits into
mainfrom
feat-tui-clippy-green
Sep 3, 2026
Merged

lawrencecchen merged 5 commits into
mainfrom
feat-tui-clippy-green

Conversation

@lawrencecchen

@lawrencecchen lawrencecchen commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

cargo clippy --workspace --all-targets --locked -- -D warnings fails 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:

  • carries the three commits from fix(cmux-tui): clear remaining clippy warnings #11763 (which already contains fix(cmux-tui): clear stale clippy warnings #11758) with their original authorship: test cleanups, import simplifications, an equivalent map assertion, slice references, removal of an unused process-group helper and its test, unused muts, and an unused TreeView method;
  • marks wait_for_native_child_status test-only, the one warning those commits no longer cover because main moved;
  • runs cargo clippy in every hosted mode, not only full, 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 --check clean, cargo clippy --workspace --all-targets --locked -- -D warnings finishes 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

  • Marked wait_for_native_child_status, several TreeView methods, and PendingRemoteRequests accessors as test-only, and removed the unused active_workspace_mut method.
  • Removed an unused process-group helper and its test.
  • Clippy adds a few minutes to each focused test job.

Written for commit 60bba98. Summary will update on new commits.

Review in cubic

@vercel

vercel Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cmux166 Ready Ready Preview Sep 3, 2026 5:25pm UTC
cmux41 Ready Ready Preview Sep 3, 2026 5:25pm UTC

@coderabbitai

coderabbitai Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 7 minutes.

Check out review usage here.

View limit details

Limit 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.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Team

Run ID: 98f39c71-de44-4d42-b716-51bb331931d1

📥 Commits

Reviewing files that changed from the base of the PR and between c03ec18 and 60bba98.

📒 Files selected for processing (14)
  • .github/workflows/cmux-tui.yml
  • cmux-tui/crates/chatmux-relay/src/actions.rs
  • cmux-tui/crates/chatmux-relay/src/enrollment.rs
  • cmux-tui/crates/cmux-tui-core/src/journal_checkpoint.rs
  • cmux-tui/crates/cmux-tui-core/src/journal_ingress.rs
  • cmux-tui/crates/cmux-tui-core/src/mux.rs
  • cmux-tui/crates/cmux-tui-core/src/surface.rs
  • cmux-tui/crates/cmux-tui-core/src/terminal_host_protocol.rs
  • cmux-tui/crates/cmux-tui/src/app.rs
  • cmux-tui/crates/cmux-tui/src/plugin_manager.rs
  • cmux-tui/crates/cmux-tui/src/session/remote.rs
  • cmux-tui/crates/cmux-tui/src/session/tree.rs
  • cmux-tui/crates/cmux-tui/src/ui/input.rs
  • cmux-tui/crates/cmux-tui/src/ui/terminal_grid.rs

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@cursor

cursor Bot commented Sep 3, 2026

Copy link
Copy Markdown

Bugbot is paused — on-demand spend limit reached

Bugbot 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.
@cursor

cursor Bot commented Sep 3, 2026

Copy link
Copy Markdown

Bugbot is paused — on-demand spend limit reached

Bugbot 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.

@lawrencecchen
lawrencecchen merged commit 69dfcd1 into main Sep 3, 2026
28 of 30 checks passed
rustybret pushed a commit to rustybret/bmux that referenced this pull request Sep 3, 2026
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
lawrencecchen added a commit that referenced this pull request Sep 3, 2026
…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.

This branch was successfully deployed

2 active deployments
Preview – cmux41 — 60bba981 Deployed Sep 3, 2026 by vercel[bot]
Preview – cmux166 — 60bba981 Deployed Sep 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant