Skip to content

Fix cleanup reclaimed-byte aggregation#436

Merged
chubes4 merged 1 commit into
mainfrom
fix/cleanup-reclaimed-byte-aggregation
May 19, 2026
Merged

Fix cleanup reclaimed-byte aggregation#436
chubes4 merged 1 commit into
mainfrom
fix/cleanup-reclaimed-byte-aggregation

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 19, 2026

Summary

  • Read cleanup chunk task results from direct child job engine data as well as nested system task packets.
  • Count artifact discovery chunks toward artifact cleanup reclaimed-byte totals.
  • Avoid aggregating empty completed chunks under an unknown type.

Fixes #431

Testing

  • php tests/smoke-worktree-cleanup-cli.php
  • php tests/smoke-worktree-cleanup-chunks.php
  • php -l inc/Cleanup/DataMachineJobCleanupRunEvidenceStore.php
  • php -l tests/smoke-worktree-cleanup-cli.php
  • git diff --check
  • homeboy test --path /Users/chubes/Developer/data-machine-code@fix-cleanup-reclaimed-byte-aggregation --extension wordpress

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Implemented the targeted cleanup evidence aggregation fix and smoke test coverage; Chris remains responsible for review and merge.

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented May 19, 2026

Homeboy Results — data-machine-code

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
ℹ️ Save lint baseline: homeboy lint data-machine-code --baseline
Deep dive: homeboy lint data-machine-code --changed-since a9e490c

Test

test — passed

ℹ️ Auto-fix lint issues: homeboy refactor data-machine-code --from lint --write
ℹ️ Collect coverage: homeboy test data-machine-code --coverage
ℹ️ Pass args to test runner: homeboy test -- [args]
ℹ️ Full options: homeboy docs commands/test
Deep dive: homeboy test data-machine-code --changed-since a9e490c

Audit

audit — passed

  • dead_code — 3 finding(s)
  • requested_detectors — 2 finding(s)
  • intra-method-duplication — 1 finding(s)
  • test_coverage — 1 finding(s)
  • Total: 7 finding(s)

Deep dive: homeboy audit data-machine-code --changed-since a9e490c

Tooling versions
  • Homeboy CLI: homeboy 0.188.6+62f9b46
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 79202555
  • Action: unknown@unknown

@chubes4 chubes4 force-pushed the fix/cleanup-reclaimed-byte-aggregation branch from 2c0639c to 62f9b46 Compare May 19, 2026 15:31
@chubes4 chubes4 merged commit 50e5178 into main May 19, 2026
5 checks 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.

Cleanup run status reports zero reclaimed bytes for artifact cleanup

1 participant