Skip to content

Auto-delete s3://nextstrain-ncov-private/*#73

Open
victorlin wants to merge 2 commits into
mainfrom
victorlin/update-lifecycle-rules
Open

Auto-delete s3://nextstrain-ncov-private/*#73
victorlin wants to merge 2 commits into
mainfrom
victorlin/update-lifecycle-rules

Conversation

@victorlin

Copy link
Copy Markdown
Member

Closes https://github.com/nextstrain/private/issues/180

Plan: 0 to add, 1 to change, 0 to destroy.

Checklist

  • Checks pass
  • Post-merge: apply plan

@victorlin victorlin self-assigned this Jun 12, 2026

filter {
prefix = "trial/"
prefix = "branch/"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are all files under the branch/ prefix gone and not to come back?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

They're gone now, but new files could be added if ncov-ingest is run with config/debug_sample_gisaid.yaml. Same with .github/workflows/fetch-and-ingest-gisaid-master.yml for trial/.

Comment on lines -84 to -87
noncurrent_version_expiration {
noncurrent_days = 15
}

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.

If inheriting from the root rules, does this mean branch/ and trial/ will always keep one noncurrent version even after the object is deleted by expiration?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oh right. Replaced 8f21bf7 with f1c350e

Use consistent naming and remove the now-redundant
abort_incomplete_multipart_upload config from prefix-specific rules.
@victorlin victorlin force-pushed the victorlin/update-lifecycle-rules branch from 8f21bf7 to f1c350e Compare June 18, 2026 21:21
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.

3 participants