Skip to content

Improve cleanup summary output#781

Merged
chubes4 merged 2 commits into
mainfrom
fix/bounded-cleanup-output-usability
Jun 17, 2026
Merged

Improve cleanup summary output#781
chubes4 merged 2 commits into
mainfrom
fix/bounded-cleanup-output-usability

Conversation

@chubes4

@chubes4 chubes4 commented Jun 17, 2026

Copy link
Copy Markdown
Member

Summary

  • Add explicit cleanup summary fields for total reclaimed bytes, remaining safe candidates, protected unpushed candidates, and flattened next commands.
  • Surface those fields in human/table cleanup output and compact operator JSON summaries.
  • Keep the existing recommended_commands structure intact while adding summary aliases for easier operator reads.

Tests

  • php tests/cleanup-remaining-work-summary.php
  • for test in tests/*.php; do php "" || exit 1; done
  • php -l inc/Cleanup/CleanupRemainingWorkSummary.php && php -l inc/Cli/Commands/WorkspaceCommand.php && php -l inc/Workspace/CleanupRunService.php && php -l tests/cleanup-remaining-work-summary.php

Risks

  • Adds fields to cleanup JSON summaries but does not remove or rename existing fields.
  • Flattened next_commands duplicates command values already present in recommended_commands for usability.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted and tested the cleanup summary output changes; Chris remains responsible for review and merge.

@homeboy-ci

homeboy-ci Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Homeboy Results — data-machine-code

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
Deep dive: homeboy lint data-machine-code --changed-since 478b13a

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-lint-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-lint-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/27719425510

Test

test — passed

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

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-test-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/27719425510

Audit

audit — passed

  • audit — 91 finding(s)
  • Total: 91 finding(s)

Deep dive: homeboy audit data-machine-code --changed-since 478b13a

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-audit-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-audit-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/27719425510
Tooling versions
  • Homeboy CLI: homeboy 0.238.0+ccd7d5e0bfec+7a4eada
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 11a1dc93
  • Action: unknown@unknown

@chubes4 chubes4 merged commit f65a652 into main Jun 17, 2026
5 checks passed
@chubes4 chubes4 deleted the fix/bounded-cleanup-output-usability branch June 17, 2026 21:13
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