Skip to content

test(admin): cover repair status id validation - #332

Merged
overtrue merged 1 commit into
mainfrom
automation/test-gap-detection-20260726
Jul 25, 2026
Merged

test(admin): cover repair status id validation#332
overtrue merged 1 commit into
mainfrom
automation/test-gap-detection-20260726

Conversation

@overtrue

Copy link
Copy Markdown
Contributor

Related: recent durable site-replication repair lifecycle changes.

Evidence: repair execute already rejects malformed preflight tokens before alias/capability lookup, but repair status --operation-id had no CLI regression test for the same local validation order.

Change: add one integration test proving malformed repair status operation IDs return a usage error before alias or network setup.

Validation:

  • cargo test -p rustfs-cli --test admin_replicate replicate_repair_status_rejects_invalid_operation_id_before_alias_or_network
  • CARGO_BUILD_JOBS=2 make pre-commit

@overtrue
overtrue marked this pull request as ready for review July 25, 2026 21:26
Copilot AI review requested due to automatic review settings July 25, 2026 21:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@overtrue
overtrue merged commit 1ef7cdd into main Jul 25, 2026
28 of 29 checks passed
@overtrue
overtrue deleted the automation/test-gap-detection-20260726 branch July 25, 2026 22:18
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.

2 participants