Skip to content

Classify artifact-only dirty worktrees#544

Merged
chubes4 merged 3 commits into
mainfrom
fix/issue-539-artifact-only-dirty-cleanup
Jun 3, 2026
Merged

Classify artifact-only dirty worktrees#544
chubes4 merged 3 commits into
mainfrom
fix/issue-539-artifact-only-dirty-cleanup

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented Jun 3, 2026

Summary

  • Classifies worktree cleanup dirt caused only by declared/generated artifact paths as artifact_only_dirty_worktree instead of generic dirty_worktree.
  • Exposes the artifact-only count in cleanup summaries and points operators to the artifact cleanup lane while keeping mixed source edits protected.
  • Adds smoke coverage for artifact-only build/ dirt and mixed artifact/source dirt.

Closes #539.

Verification

  • php -l inc/Workspace/Workspace.php
  • php -l tests/smoke-worktree-cleanup.php
  • php tests/smoke-worktree-cleanup.php
  • php tests/smoke-worktree-cleanup-cli.php
  • php tests/smoke-worktree-cleanup-artifacts.php

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the implementation and targeted smoke coverage; Chris remains responsible for review and validation.

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented Jun 3, 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 17e236f

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/26904526550

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 17e236f

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/26904526550

Audit

audit — passed

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

Deep dive: homeboy audit data-machine-code --changed-since 17e236f

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/26904526550
Tooling versions
  • Homeboy CLI: homeboy 0.219.1+79d6420
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 1f9ab9d7
  • Action: unknown@unknown

@chubes4 chubes4 merged commit 6a001b8 into main Jun 3, 2026
5 checks passed
@chubes4 chubes4 deleted the fix/issue-539-artifact-only-dirty-cleanup branch June 3, 2026 18:27
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.

Classify artifact-only dirty worktrees separately during cleanup

1 participant