Skip to content

Make workspace hygiene size scans opt-in#783

Merged
chubes4 merged 2 commits into
mainfrom
fix/workspace-hygiene-bounded
Jun 17, 2026
Merged

Make workspace hygiene size scans opt-in#783
chubes4 merged 2 commits into
mainfrom
fix/workspace-hygiene-bounded

Conversation

@chubes4

@chubes4 chubes4 commented Jun 17, 2026

Copy link
Copy Markdown
Member

Summary

  • Make default workspace hygiene skip top-level du sizing so large workspaces get cheap inventory output by default.
  • Add an explicit --include-sizes path plus a suggested bounded size continuation command in report output.
  • Keep cleanup-run inventory and scheduled hygiene defaults on the cheap path unless sizing is requested.
  • Add smoke coverage for the timeout-safe hygiene contract across CLI, ability, task, and schedule entry points.

Tests

  • php -l inc/Workspace/WorkspaceHygieneReport.php && php -l inc/Cli/Commands/WorkspaceCommand.php && php -l inc/Abilities/WorkspaceAbilities.php && php -l inc/Tasks/WorkspaceHygieneReportTask.php && php -l data-machine-code.php && php tests/workspace-hygiene-timeout-safe-contract.php
  • php -l inc/Abilities/WorkspaceAbilities.php && php tests/workspace-hygiene-timeout-safe-contract.php && for test in tests/*.php; do php "$test" || exit 1; done

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Drafted and tested the hygiene default change, smoke coverage, commit, and PR body for Chris to review.

@homeboy-ci

homeboy-ci Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Homeboy Results — data-machine-code

Lint

lint — failed

ℹ️ Auto-fix: homeboy lint data-machine-code --path /home/runner/work/data-machine-code/data-machine-code --changed-since 478b13a --fix (or homeboy refactor data-machine-code --path /home/runner/work/data-machine-code/data-machine-code --changed-since 478b13a --from lint --write)
ℹ️ Some issues may require manual fixes
ℹ️ 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/27718797210

Audit

audit — passed

  • audit — 26 finding(s)
  • Total: 26 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/27718797210
Tooling versions
  • Homeboy CLI: homeboy 0.238.0+ccd7d5e0bfec+5962c8b
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 12a679af
  • Action: unknown@unknown

@chubes4 chubes4 merged commit d0d2a18 into main Jun 17, 2026
@chubes4 chubes4 deleted the fix/workspace-hygiene-bounded 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