fix(lint): the last two errors between the native lane and green #370
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
toasterson/Anima!370
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/fix-clippy-native-ci-green"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
With #369 merged, the native
rustlane produced its first honest verdict since 2026-07-11. It is no longer failing on protoc. It fails on lint.The good news from that run (
fd7237f6):cargo testpassed — 144 tests, 0 failures. That was the last unproven step of the rust lane, and it is now proven end to end: VM boot → https clone → CARGO_HOME redirect → toolchain → dep resolution → build → test → fmt → clippy.The two errors
Only one was visible. Clippy aborts the workspace at the first crate that fails, so while
anima-dbwas brokenanima-serverwas never linted at all. Fixing #1 alone would have produced another red run.anima-dbtoo_many_arguments(8/7)ThreadRepo::insert_messageanima-serverresult_large_err(176 B)check_status_phase_pairBoth are the existing convention in this codebase, not new suppression:
anima-dbalready carry#[allow(clippy::too_many_arguments)](workitem.rs,plan.rs,project.rs,document.rs,session.rs,companion.rs, …).insert_messagewas simply missing it.anima-server/src/services/already carry#[allow(clippy::result_large_err)], andmailbox.rsapplies it crate-file-wide.tonic::Statusis 176 bytes and every gRPC handler returns it; boxing it is not an option tonic offers.check_status_phase_pairis the new ADR 0024 guard and missed the convention.Verified locally:
cargo clippy --workspace --exclude anima-desktop -- -D warningsis clean.One thing deliberately not fixed
cargo fmt --checkreports a diff atthread.rs:569on cleanmain— I confirmed it by stashing. It is a rustfmt version difference: 1.97 wants to wrap that call, 1.96 does not.The workspace pins no
rust-toolchain.toml, so a-D warningsgate floats with whatever rustc the CI image happens to ship. Reformatting to satisfy one version breaks the other, and CI can go red from an image rebuild with no code change at all. That deserves a pin, not a reformat — filed separately rather than smuggled in here.Verification status
Same caveat as #369: this cannot be proven by the Actions lane on this PR, which was already passing. It is proven by the first native
rustjob after merge.🤖 Generated with Claude Code
-D warningsfloats with whatever rustc the image ships #385