Skip to content

Fix cleanup apply pagination restart#806

Merged
chubes4 merged 3 commits into
mainfrom
fix/cleanup-stable-pagination-800
Jun 25, 2026
Merged

Fix cleanup apply pagination restart#806
chubes4 merged 3 commits into
mainfrom
fix/cleanup-stable-pagination-800

Conversation

@chubes4

@chubes4 chubes4 commented Jun 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Restart mutating cleanup/reconcile continuation commands at offset 0 after writes/removals change the candidate set.
  • Keep read-only pagination unchanged.
  • Teach abandoned cleanup drain to treat restart-at-zero as intentional continuation.

Fixes #800.

Testing

  • php -l inc/Workspace/WorkspaceMetadataReconciliation.php && php -l inc/Workspace/WorkspaceActiveNoSignalCleanup.php && php -l inc/Workspace/WorkspaceAbandonedCleanupOrchestrator.php && php -l tests/smoke-abandoned-cleanup-orchestrator.php
  • php tests/worktree-metadata-reconciliation-pr-backed-contract.php && php tests/worktree-metadata-reconciliation-finalizer-contract.php && php tests/worktree-active-no-signal-triage-preview.php && php tests/cleanup-remaining-work-summary.php && php tests/worktree-cleanup-candidate-classifier.php && php tests/smoke-abandoned-cleanup-orchestrator.php && php tests/smoke-cleanup-eligible-drain.php

AI assistance

  • AI assistance: Yes
  • Tool(s): openai/gpt-5.5 via OpenCode
  • Used for: Investigation, implementation, test updates, and PR preparation.

@homeboy-ci

homeboy-ci Bot commented Jun 25, 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 ab15060

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

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 ab15060

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

Audit

audit — passed

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

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

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/28169579419
Tooling versions
  • Homeboy CLI: homeboy 0.260.1+04458ed9e1f0+d3f4123
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 01fc0445
  • Action: unknown@unknown

@chubes4 chubes4 merged commit 0fe97b3 into main Jun 25, 2026
9 of 10 checks passed
@chubes4 chubes4 deleted the fix/cleanup-stable-pagination-800 branch June 25, 2026 12:37
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.

Workspace cleanup pagination becomes stale after apply/removal

1 participant