Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: garbage collection with more sensible limits grouped by plan/repo #555

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

garethgeorge
Copy link
Owner

Garbage collection now enforces limits that better guarantee correctness w.r.t. new scheduling features (e.g. last run relative scheduling) and that make more sense in the UI.

For each repo

  • Prune and Check operations retain the last 12 executions. More than this should not be necessary. They are retained for a maximum time of 12 months.
  • Stats operations are retained for up to 1 year OR 100 data points to preserve preformance.
  • All other operations are retained up to 30 days or 100 operations.

Note that "snapshot" association overrides these rules e.g. if an operation is associated with a snapshot that is still present in the repo, the operation will not be deleted until that snapshot is forgotten.

@garethgeorge garethgeorge changed the title feat: improved garbage collection with more sensible limits grouped by plan/repo fix: garbage collection with more sensible limits grouped by plan/repo Nov 14, 2024
@garethgeorge garethgeorge merged commit 492beb2 into main Nov 14, 2024
7 checks passed
@garethgeorge garethgeorge deleted the garethgeorge/improve-gc branch November 18, 2024 06:58
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