Skip to content

fix(upgrade): show the next effective verbosity#969

Merged
epage merged 1 commit into
killercup:masterfrom
ychampion:fix/867-verbose-hint
Jul 15, 2026
Merged

fix(upgrade): show the next effective verbosity#969
epage merged 1 commit into
killercup:masterfrom
ychampion:fix/867-verbose-hint

Conversation

@ychampion

Copy link
Copy Markdown
Contributor

Summary

  • point single---verbose users to --verbose --verbose when dependencies are still hidden
  • preserve the existing default hint and three-level filtering behavior
  • cover both hint levels with CLI snapshots

Why

The first --verbose level intentionally shows upgradeable dependencies, but the existing hint still told users to rerun with the same flag. The next command now reflects the level needed to show all dependencies.

Closes #867.

Validation

  • cargo test --locked --test cargo-upgrade upgrade_everything -- --nocapture — passed
  • cargo test --locked --all-features — passed
  • cargo fmt --all -- --check — passed
  • cargo clippy --locked --all-targets --all-features -- -D warnings — passed

Comment thread tests/cargo-upgrade/upgrade_everything/mod.rs Outdated
Constraint: Preserve the existing three-level dependency filtering and default hint.

Rejected: Change verbosity semantics | The maintainer confirmed the filtering behavior is intentional.

Confidence: high

Scope-risk: narrow

Directive: Keep hints aligned with the next display level when verbosity behavior changes.

Tested: focused red-to-green UI snapshots; full locked all-feature suite; rustfmt; strict all-target/all-feature Clippy.

Not-tested: None.
@ychampion ychampion force-pushed the fix/867-verbose-hint branch from 1b155b7 to e98ac32 Compare July 15, 2026 15:59
@epage epage merged commit 05a2660 into killercup:master Jul 15, 2026
9 checks passed
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.

Single --verbose is ignored, only --verbose --verbose works

2 participants