Skip to content

test(ilm): cover WORM expiry and tiering regressions - #168

Merged
cxymds merged 2 commits into
mainfrom
cxymds/auto-testing-ilm-regressions
Nov 25, 2026
Merged

cxymds merged 2 commits into
mainfrom
cxymds/auto-testing-ilm-regressions

Conversation

@cxymds

@cxymds cxymds commented Nov 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Add ilm.worm-expiration to verify held current and historical versions through expiration of unlocked controls and subsequent expiration after hold release.
  • Add ilm.immediate-transition-and-restore to verify a zero-day PUT transition with source scanners disabled. Restart the empty source after rule installation to clear its existing-object walk, then verify the remote payload and the restored bytes.
  • Extend TIER-115 to map three source versions to distinct remote keys and verify that deleting one source version clears exactly its remote key while both remaining versions stay readable.
  • Register the new cases for explicit selection in ilm-regressions and run the focused tier contract tests in validation CI. Refresh the review digests, including the S3 wrapper merged in test(s3): distinguish DeleteObjects replies from later visibility #167.

Validation

  • RustFS 1.0.6 with rc 0.1.38 on disposable local stores passed both new cases and TIER-115 on single-single.
  • python3 -B -m unittest -q test_validation_ilm.py test_validation_migration.py test_rustfs_tier_report.py passed 38 tests.
  • python3 -B scripts/validation_catalog.py check and python3 -B scripts/validation_migration_review.py --require-complete passed.
  • RUSTFS_TIER_TEST_MODE=versioned-cleanup bash test_rustfs_tier.sh, bash test_validation_scanner_usage.sh, and actionlint .github/workflows/validation-catalog-tests.yml passed.
  • Managed Storage dry runs confirmed two source nodes for WORM, a separate tier for immediate transition, and rejection of an incomplete topology or an unknown case.

Scope and rollback

The live evidence covers local stores. Multi-pool retirement overlapping ILM expiry still needs an executor that can verify the overlap. Reverting this test-only change restores the previous suite.

@cxymds
cxymds merged commit 919e439 into main Nov 25, 2026
1 check 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.

1 participant