Repository navigation
base red: agent_chat_notices clippy (obfuscated if/else, a missing ;, a redundant clone) from #31770 - #31907
Conversation
… a redundant clone) from #31770 #31770 (947bb5e, cache-TTL idle reminders) left three clippy errors in cmux-tui-core/src/mux/agent_chat_notices.rs, so the workspace clippy (-D warnings) is red on feat-cmux-next: a bool .then().unwrap_or_default() chain (now if/else), a match arm whose unit call had no ; and a test's spec.clone() that nothing used after. No behavior change. Co-Authored-By: Claude <noreply@anthropic.com>
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
red: cmux-next checks (god files, concurrency, crash safety, l10n); no finished base run on fc013e8 to compare; do not merge until green; see lane-rules Shipped in:
|
|
Review (subagent, correctness first): SHIP at e7ecb66 |
|
Evidence for ready-to-land at e7ecb66: SHIP receipt #31907 (comment). The red is on the base: clippy job 4aa99ea44b82505765387a3c (on a head that merged feat, with these 3 errors only). Clippy base 7492e369e26b34a4b1eb0198 (feat fc013e8) and head d90b0149d43f295aba8406b5 were still running at labeling. Pending checks do not hold a reviewed PR into feat-cmux-next (repo rule); if d90b0149 is red for any crate, I remove ready-to-land at once and fix it. (Corrected: an earlier version of this comment said the lead ordered the label before the green; that was wrong.) Tier stays risk:normal: docs/ci/risk-tiers.md grades cmux-tui code normal by path. |
|
Found 8 test failures on Blacksmith runners: Failures
|
…a (brings the clippy base red fix #31907)
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
The cmux-tui workspace clippy (
-D warnings) is red on feat-cmux-next since #31770 (947bb5e, cache-TTL idle reminders). It fails on three errors incmux-tui-core/src/mux/agent_chat_notices.rs:clippy::obfuscated_if_else: abool.then(..).unwrap_or_default()chain. It is now anif/else.clippy::semicolon_if_nothing_returned: a match arm whose unit call had no;.clippy::redundant_clone: a test'sspec.clone()that nothing used after.No behavior change.
Seen first on #31863's clippy step at 70edc9b (job 4aa99ea44b82505765387a3c), whose head merged that feat tip.
Changelog
none
Observed / Not run
Observed (fleet, Linux,
scripts/ci/cmux-tui-rust-check.sh clippy):cmux-tui-rust-check: green(cargo clippy --workspace --exclude cmux-holder-v3 --all-targets --locked --keep-going -- -D warnings; hq run 41400004617), so no crate that depends on cmux-tui-core has another error.Not run: tests (the change is a refactor of one expression, a
;and one test literal).