chore: enforce clippy in CI, fix all warnings#642
Merged
softmarshmallow merged 13 commits intomainfrom Apr 7, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (112)
WalkthroughA comprehensive refactoring that establishes Clippy lint infrastructure (CI job, workspace configuration, clippy.toml) and applies widespread code improvements including trait implementation conversions (Into→From), Default derive adoption, control-flow simplifications, clone removals, and idiomatic Rust pattern updates across 70+ files. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
|
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Skia bindings require pre-built artifacts that are cached by the test job (shared-key: test-native). Using a separate cache key caused cold builds that fail on chromium git-sync-deps. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Clippy needs to fully compile all dependencies including skia-bindings. Running after the test job guarantees the shared cargo cache contains the pre-built Skia artifacts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
clippy.tomlwithtoo-many-arguments-threshold = 12for graphics API ergonomics[workspace.lints.clippy]to allowupper_case_acronyms(AABB, RGB, SVG are domain terms)[lints] workspace = truein all 6 crateCargo.tomlfilesthird_party/usvg(not our code to maintain)cargo clippy --no-deps -- -D warningstojust checkand CI (test-crates.yml)Per-crate changes
#![allow(clippy::all)]— vendored third-party codeTest plan
cargo clippy --no-deps -- -D warningspasses cleancargo test --workspace --exclude grida-canvas-wasm— all tests passcargo fmt --all -- --check— no formatting issuesSummary by CodeRabbit