Skip to content

Expose safe cleanup progress evidence#842

Merged
chubes4 merged 4 commits into
mainfrom
fix/cleanup-safe-progress-839
Jul 1, 2026
Merged

Expose safe cleanup progress evidence#842
chubes4 merged 4 commits into
mainfrom
fix/cleanup-safe-progress-839

Conversation

@chubes4

@chubes4 chubes4 commented Jul 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Create a DMC cleanup run as soon as workspace cleanup safe starts, before long child drains run.
  • Persist checkpointed safe-cleanup summary, steps, commands, and continuation evidence after each step.
  • Emit an early JSON progress envelope for CLI JSON callers and expose status/evidence/resume commands for timeout recovery.

Closes #839.

Verification

  • php -l inc/Workspace/WorkspaceSafeCleanupOrchestrator.php && php -l inc/Workspace/CleanupRunService.php && php -l inc/Abilities/WorkspaceAbilities.php && php -l inc/Cli/Commands/WorkspaceCommand.php
  • php tests/workspace-safe-cleanup-orchestrator.php
  • php tests/cleanup-run-evidence-store-boundary.php
  • php tests/cleanup-remaining-work-summary.php
  • php tests/smoke-cleanup-eligible-drain.php
  • php tests/smoke-abandoned-cleanup-orchestrator.php
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): gpt-5.5 via OpenCode
  • Used for: Implementing the safe cleanup progress/evidence change, updating focused tests, and running local verification.

@homeboy-ci

homeboy-ci Bot commented Jul 1, 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 c1ff2dd

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

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 c1ff2dd

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

Audit

audit — passed

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

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

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/28553237764
Tooling versions
  • Homeboy CLI: homeboy 0.278.0+01373622b563+8572843
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 42e97f35
  • Action: unknown@unknown

@chubes4 chubes4 force-pushed the fix/cleanup-safe-progress-839 branch from b816dfe to 2a480b7 Compare July 1, 2026 22:40
@chubes4 chubes4 merged commit 01cb4a5 into main Jul 1, 2026
5 checks passed
@chubes4 chubes4 deleted the fix/cleanup-safe-progress-839 branch July 1, 2026 22:59
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.

Safe cleanup should make progress without client timeouts and expose resumable evidence

1 participant