FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

CI - Add `cargo ci dep-check` and remove unused deps by clockwork-labs-bot · Pull Request #5703 · clockworklabs/SpacetimeDB · GitHub

CI - Add cargo ci dep-check and remove unused deps - #5703

Draft
clockwork-labs-bot wants to merge 41 commits into
masterfrom
bot/cargo-ci-dep-check
Draft

CI - Add cargo ci dep-check and remove unused deps#5703
clockwork-labs-bot wants to merge 41 commits into
masterfrom
bot/cargo-ci-dep-check

Conversation

clockwork-labs-bot commented Aug 9, 2026
edited by bfops
Loading

Copy link
Copy Markdown
Contributor

Description of Changes

Adds cargo ci dep-check, stacked on #5687, to run cargo-machete from the repository root.

The command forwards any extra arguments to cargo-machete, so manual runs can use flags like --with-metadata or pass explicit paths.

The Lints workflow installs cargo-machete with --locked and runs cargo ci dep-check after cargo ci lint.

API and ABI breaking changes

None.

Expected complexity level and risk

  1. This is a small CI-tooling wrapper.

Testing

  • New CI check passes now that a bunch of deps have been removed

Comment thread tools/ci/commands/dep-check/src/main.rs Outdated
Comment thread .github/workflows/ci.yml Outdated
bfops changed the title Add cargo ci dep-check CI - Add cargo ci dep-check Aug 9, 2026
Comment thread sdks/rust/tests/test-client/Cargo.toml Outdated
Comment thread sdks/rust/tests/view-client/Cargo.toml Outdated
Comment thread sdks/rust/Cargo.toml Outdated
Comment thread templates/chat-console-rs/Cargo.toml Outdated
bfops changed the title CI - Add cargo ci dep-check CI - Add cargo ci dep-check and remove unused deps Aug 9, 2026
[dependencies]
spacetimedb = { path = "../../../crates/bindings" }
log.workspace = true
log = "0.4"

bfops Aug 9, 2026
edited
Loading

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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. Other templates (e.g. templates/basic-rs) already do things this way.

Comment thread sdks/rust/Cargo.toml
bfops and others added 2 commits August 12, 2026 08:16
Signed-off-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	tools/ci/Cargo.toml
#	tools/ci/README.md
#	tools/ci/commands/cla-assistant/src/main.rs
#	tools/ci/commands/cli-docs/src/main.rs
#	tools/ci/commands/codeowners-check/src/main.rs
#	tools/ci/commands/coordinate-internal-tests/src/main.rs
#	tools/ci/commands/docs/Cargo.toml
#	tools/ci/commands/docs/src/main.rs
#	tools/ci/commands/global-json-policy/Cargo.toml
#	tools/ci/commands/global-json-policy/src/main.rs
#	tools/ci/commands/keynote-bench/Cargo.toml
#	tools/ci/commands/keynote-bench/src/main.rs
#	tools/ci/commands/lint/Cargo.toml
#	tools/ci/commands/lint/src/main.rs
#	tools/ci/commands/publish-checks/Cargo.toml
#	tools/ci/commands/publish-checks/src/main.rs
#	tools/ci/commands/smoketests/Cargo.toml
#	tools/ci/commands/smoketests/src/main.rs
#	tools/ci/commands/test/Cargo.toml
#	tools/ci/commands/test/src/main.rs
#	tools/ci/commands/typescript-test/Cargo.toml
#	tools/ci/commands/typescript-test/src/main.rs
#	tools/ci/commands/update-flow/src/main.rs
#	tools/ci/commands/version-upgrade-check/Cargo.toml
#	tools/ci/commands/version-upgrade-check/src/main.rs
#	tools/ci/commands/wasm-bindings/Cargo.toml
#	tools/ci/commands/wasm-bindings/src/main.rs
#	tools/ci/src/ci_docs.rs
#	tools/ci/src/main.rs
bfops changed the base branch from bot/split-public-cargo-ci to master August 14, 2026 15:14
Comment thread .github/workflows/ci.yml Outdated
bfops and others added 2 commits August 14, 2026 08:15
Signed-off-by: Zeke Foppa <196249+bfops@users.noreply.github.com>

joshua-spacetime left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Why does this have to be automated?

bfops marked this pull request as draft August 14, 2026 15:53
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL