Skip to content

feat(ilm): manage hourly lifecycle expiration - #444

Merged
cxymds merged 1 commit into
mainfrom
cxymds/feat-hourly-lifecycle
Dec 4, 2026
Merged

cxymds merged 1 commit into
mainfrom
cxymds/feat-hourly-lifecycle

Conversation

@cxymds

@cxymds cxymds commented Dec 4, 2026

Copy link
Copy Markdown
Member

Related issue

rustfs/rustfs#9889

Summary

GitLab Runner cache objects can use the RustFS hourly lifecycle extension. Add and edit accept --expiry-hours. Use --scope hourly for hourly-only listing, export, import, and removal, or list --include-hourly to list both rule types. On deployments with separate origins, --admin-endpoint selects the admin API.

The admin client signs the JSON body and the configuration revision, and reports a conflict if another writer changed the policy. Hourly exports use a versioned document that older CLI builds reject as a standard configuration. Standard lifecycle commands retain their existing request and output formats.

Verification

  • cargo fmt --all --check
  • cargo clippy --workspace -- -D warnings
  • cargo test --workspace passed 2,097 tests, with two existing ignored tests. The hourly integration tests capture signed requests and cover conflicts, unsupported servers, access denial, absent buckets, validation, and export compatibility.

@cxymds
cxymds merged commit 631986c into main Dec 4, 2026
14 checks passed
@cxymds
cxymds deleted the cxymds/feat-hourly-lifecycle branch December 4, 2026 02:28
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