CI - Add cargo ci dep-check and remove unused deps - #5703
Open
clockwork-labs-bot wants to merge 10 commits into
Open
CI - Add cargo ci dep-check and remove unused deps#5703clockwork-labs-bot wants to merge 10 commits into
cargo ci dep-check and remove unused deps#5703clockwork-labs-bot wants to merge 10 commits into
Conversation
clockwork-labs-bot
requested review from
bfops,
cloutiertyler and
jdetter
as code owners
August 9, 2026 18:05
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
bfops
reviewed
Aug 9, 2026
cargo ci dep-checkcargo ci dep-check and remove unused deps
bfops
reviewed
Aug 9, 2026
| [dependencies] | ||
| spacetimedb = { path = "../../../crates/bindings" } | ||
| log.workspace = true | ||
| log = "0.4" |
Collaborator
There was a problem hiding this comment.
note for human reviewers: templates can't depend on workspace versions because they're specifically designed to be copied out of the workspace for users by the CLI
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.
Description of Changes
Adds
cargo ci dep-check, stacked on #5687, to runcargo-machetefrom the repository root.The command forwards any extra arguments to
cargo-machete, so manual runs can use flags like--with-metadataor pass explicit paths.The Lints workflow installs
cargo-machetewith--lockedand runscargo ci dep-checkaftercargo ci lint.API and ABI breaking changes
None.
Expected complexity level and risk
Testing
cargo run -p ci -- self-docscargo fmt --manifest-path tools/ci/Cargo.toml --all -- --checkcargo check -p ci -p ci-dep-checkcargo clippy -p ci -p ci-dep-check -- -D warningscargo run -p ci -- self-docs --checkcargo run -p ci -- dep-check -- --helpgit diff --checkNote:
cargo run -p ci -- dep-checknow performs an unrestricted full-repo machete scan. In this branch it reports existing repository-wide findings and a template workspace load error, so I did not use a clean full run as a passing verification step.