Skip to content

Align verify_patch Cargo checks with contributor verification commands #652

Closed

Description

@LunaStev

Current evidence

tools/verify_patch.sh currently runs bare cargo fmt --check, cargo build --quiet, cargo test --quiet, and cargo clippy -- -D warnings after applying an email patch.

CONTRIBUTING.md documents stricter Cargo verification for the repository: formatting uses cargo fmt --all --check, Clippy uses --locked --workspace --all-targets, tests use --locked --workspace --all-targets, and the normal build is locked. A patch can therefore pass the maintainer script while failing the corresponding documented Cargo gate.

Scope

Completion criteria

  • Formatting covers the full workspace with the documented --all behavior.
  • Build/test/Clippy use the repository's locked/workspace/all-target contracts where applicable.
  • A failure in any updated Cargo gate still causes patch verification to fail.
  • CONTRIBUTING.md and the script no longer describe conflicting Cargo checks.

Activity

  1. added
    build
    good first issue
    on Sep 15, 2026
  2. self-assigned this
    on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buildgood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions