Skip to content

Fix reviewed artifact cleanup planning and apply#937

Merged
chubes4 merged 1 commit into
mainfrom
fix/artifact-cleanup-plan-936
Jul 21, 2026
Merged

Fix reviewed artifact cleanup planning and apply#937
chubes4 merged 1 commit into
mainfrom
fix/artifact-cleanup-plan-936

Conversation

@chubes4

@chubes4 chubes4 commented Jul 21, 2026

Copy link
Copy Markdown
Member

Summary

  • make artifact-only cleanup plans inventory and paginate the same stable size-ranked candidates shown by low-level previews
  • persist and revalidate reviewed artifact paths and sizes, preserve source-dirty/unpushed worktrees, and report measured reclaimed bytes
  • include DB-backed artifact cleanup in the canonical safe runner and fix stored force-policy decoding so non-forced runs cannot bypass protections

Tests

  • php tests/artifact-cleanup-reviewed-run.php
  • php tests/artifact-cleanup-plan-output-contract.php
  • php tests/workspace-safe-cleanup-orchestrator.php
  • cleanup service, retention safety, disk budget, and remaining independent standalone PHP tests
  • direct PHP syntax checks and git diff --check
  • homeboy review --changed-since origin/main: audit and lint passed; test stage could not initialize the WP Codebox PHPUnit harness because PHPUnit\\Framework\\TestSuite was unavailable before discovery

Closes #936

@chubes4
chubes4 merged commit 488017a into main Jul 21, 2026
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.

Artifact cleanup runner drops low-level inventory candidates

1 participant