Skip to content

Drain marked worktrees during abandoned cleanup#583

Merged
chubes4 merged 1 commit into
mainfrom
fix-abandoned-cleanup-drain-marked
Jun 7, 2026
Merged

Drain marked worktrees during abandoned cleanup#583
chubes4 merged 1 commit into
mainfrom
fix-abandoned-cleanup-drain-marked

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented Jun 7, 2026

Summary

  • Run bounded cleanup removal before returning from incomplete abandoned cleanup classification stages.
  • Reuse bounded cleanup accounting so staged continuations still report removals, reclaimed bytes, and blockers.
  • Add smoke coverage for a stalled remote-clean classifier continuation that must still drain already-marked cleanup rows.

Tests

  • php -l inc/Cli/Commands/WorkspaceCommand.php && php -l tests/smoke-worktree-cleanup-cli.php
  • php tests/smoke-worktree-cleanup-cli.php
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the cleanup orchestration patch and regression smoke test; Chris directed the behavior and remains responsible for review/testing.

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented Jun 7, 2026

Homeboy Results — data-machine-code

Audit

audit — passed

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

Deep dive: homeboy audit data-machine-code --changed-since 8d40799

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/27091427968
Tooling versions
  • Homeboy CLI: homeboy 0.222.4+6a6314c
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 7e31b663
  • Action: unknown@unknown

@chubes4 chubes4 merged commit 37fc9be into main Jun 7, 2026
5 checks passed
@chubes4 chubes4 deleted the fix-abandoned-cleanup-drain-marked branch June 7, 2026 11:39
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