Skip to content

feat(admin): add manual transition run command - #310

Merged
houseme merged 1 commit into
mainfrom
houseme/ilm-manual-transition-rc
Jul 24, 2026
Merged

feat(admin): add manual transition run command#310
houseme merged 1 commit into
mainfrom
houseme/ilm-manual-transition-rc

Conversation

@houseme

@houseme houseme commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds rc admin ilm transition run for the backend manual ILM transition API. The command supports --prefix, --tier, --dry-run, and bounded --max-objects, emits a typed JSON envelope, and prints only aggregate counts in human mode.

Compatibility

The change is additive to the admin API trait and S3 admin client. It does not add Console functionality, does not change existing command behavior, and keeps request parameters mapped to the backend /ilm/transition/run query contract.

Verification

  • cargo fmt --all
  • cargo fmt --all --check
  • git diff --check
  • cargo test -p rustfs-cli --test admin_ilm -- --nocapture
  • cargo test -p rustfs-cli test_parse_admin_ilm_transition_run -- --nocapture
  • cargo clippy --workspace -- -D warnings
  • cargo test --workspace

Notes

Draft PR for the rc side of rustfs/backlog#1480, rustfs/backlog#1476 and rustfs/rustfs#5153 (comment).

@houseme
houseme marked this pull request as ready for review July 24, 2026 06:31
@houseme
houseme merged commit 8df0f69 into main Jul 24, 2026
17 checks passed
@houseme
houseme deleted the houseme/ilm-manual-transition-rc branch July 24, 2026 07:13
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.

1 participant