Skip to content

Add automatic build retention - #49

Merged
jaredpar merged 1 commit into
mainfrom
jaredpar-data-retention
Sep 29, 2026
Merged

jaredpar merged 1 commit into
mainfrom
jaredpar-data-retention

Conversation

@jaredpar

Copy link
Copy Markdown
Owner

Why

Build history currently accumulates without automatic cleanup. Keep the local database aligned with the configured ingestion window.

What changed

  • Set the default ingestion window to 14 days.
  • Add a retention service that runs on startup and every 15 minutes, deleting expired builds along with dependent test, Helix, timeline, and analysis data.
  • Start and stop the service with the dashboard and foreground poller; update the config display and documentation.

Validation

  • dotnet test --nologo (254 passed)

Use the ingestion window as the retention period and periodically remove expired builds and their dependent database data.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jaredpar
jaredpar merged commit 069cc57 into main Sep 29, 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