Skip to content

chore: remove & check unused dependencies#269

Merged
branchseer merged 9 commits intomainfrom
10-28-chore_remove_unused_dependencies
Oct 28, 2025
Merged

chore: remove & check unused dependencies#269
branchseer merged 9 commits intomainfrom
10-28-chore_remove_unused_dependencies

Conversation

@branchseer
Copy link
Copy Markdown
Member

@branchseer branchseer commented Oct 28, 2025

cargo shear now passes

@branchseer branchseer changed the title remove unused dependencies chore: remove unused dependencies Oct 28, 2025
Copy link
Copy Markdown
Member Author

branchseer commented Oct 28, 2025

@branchseer branchseer marked this pull request as ready for review October 28, 2025 07:30
@branchseer branchseer changed the title chore: remove unused dependencies chore: remove & check unused dependencies Oct 28, 2025
@branchseer branchseer changed the base branch from 10-28-chore_make_impl_handler_macro_self-contained to graphite-base/269 October 28, 2025 07:47
@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Oct 28, 2025

Merge activity

  • Oct 28, 7:54 AM UTC: This pull request can not be added to the Graphite merge queue. Please try rebasing and resubmitting to merge when ready.
  • Oct 28, 7:54 AM UTC: Graphite disabled "merge when ready" on this PR due to: a merge conflict with the target branch; resolve the conflict and try again..
  • Oct 28, 8:10 AM UTC: @branchseer merged this pull request with Graphite.

@branchseer branchseer force-pushed the 10-28-chore_remove_unused_dependencies branch from bb1f7ad to 68e28b2 Compare October 28, 2025 07:58
@branchseer branchseer changed the base branch from graphite-base/269 to main October 28, 2025 07:58
Copilot AI review requested due to automatic review settings October 28, 2025 08:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes unused dependencies across multiple crates and adds cargo shear to the CI pipeline to prevent unused dependencies from being reintroduced. The changes ensure all declared dependencies are actually used in the codebase.

Key changes:

  • Removed unused dependencies from 11 crate manifests
  • Added cargo shear to CI workflow to enforce dependency hygiene
  • Moved vite_glob from dev-dependencies to dependencies in vite_install

Reviewed Changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
crates/vite_workspace/Cargo.toml Removed unused test-log dev-dependency
crates/vite_task/Cargo.toml Removed 7 unused dependencies including clap, crossterm, edit, and tracing-subscriber
crates/vite_install/Cargo.toml Removed anyhow and tracing-subscriber; moved vite_glob from dev to main dependencies
crates/vite_error/Cargo.toml Removed unused serde dependency
crates/fspy_shared/Cargo.toml Removed platform-specific dependencies and memmap2
crates/fspy_seccomp_unotify/Cargo.toml Removed unused arrayvec and bytes dependencies
crates/fspy_preload_windows/Cargo.toml Removed 7 unused dependencies including arrayvec, backtrace, and which
crates/fspy_preload_unix/Cargo.toml Removed Linux and Unix-specific unused dependencies
crates/fspy_e2e/Cargo.toml Removed unused futures-util dependency
crates/fspy/Cargo.toml Removed multiple unused dependencies across different platform targets
Cargo.toml Removed workspace-level dependency declarations and added cargo-shear metadata
.github/workflows/ci.yml Added cargo shear tool installation and check to CI lint job

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@branchseer branchseer merged commit 3a30d70 into main Oct 28, 2025
10 checks passed
@branchseer branchseer deleted the 10-28-chore_remove_unused_dependencies branch October 28, 2025 08:10
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