Skip to content

Prune expired GitHub artifacts#406

Merged
PrzemyslawKlys merged 1 commit into
mainfrom
codex/github-expired-artifact-cleanup
May 27, 2026
Merged

Prune expired GitHub artifacts#406
PrzemyslawKlys merged 1 commit into
mainfrom
codex/github-expired-artifact-cleanup

Conversation

@PrzemyslawKlys
Copy link
Copy Markdown
Member

Summary

  • include GitHub-expired Actions artifacts in artifact cleanup matching
  • plan expired artifacts for deletion even when they fall inside the keep/latest or age windows
  • add focused coverage for expired artifacts remaining deletion candidates

Context

TestimoX website maintenance scanned 5,339 GitHub Actions artifacts, all expired, but planned/deleted 0 because the cleanup service filtered expired artifacts out before matching. Those expired artifacts can still count against GitHub Actions artifact storage until GitHub removes or recalculates them, so cleanup needs to delete them explicitly.

Validation

  • dotnet test .\PowerForge.Tests\PowerForge.Tests.csproj -c Release --filter GitHubArtifactCleanupServiceTests --no-restore --nologo
  • git diff --check

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 794446ccaa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread PowerForge/Services/GitHubArtifactCleanupService.cs
@PrzemyslawKlys PrzemyslawKlys force-pushed the codex/github-expired-artifact-cleanup branch from 794446c to e6cbe81 Compare May 27, 2026 13:35
@PrzemyslawKlys PrzemyslawKlys merged commit 943252e into main May 27, 2026
6 checks passed
@PrzemyslawKlys PrzemyslawKlys deleted the codex/github-expired-artifact-cleanup branch May 27, 2026 13: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