mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 17:53:39 +00:00
Fix PR worktree provisioning that could write allocation leases into the operator's Gateway database and leave unusable checkout directories after interruption. Keep allocation leases and template records in repository-owned PR state. Scale checkout deadlines and bounded Git cleanup grace to measured tree size, and remove only unchanged, exclusively reserved partial checkouts while current allocation and PR-lock authority still hold. Preserve foreign or registered worktrees and uncertain cleanup; failed operations still require exact-lock recovery. Tooling release note: interrupted native PR checkouts can recover without manual directory deletion, and allocation state stays separate from Gateway state. No Gateway restart, operator-state migration, schema change, dependency change, or new option. Related sightings: #151459, #151470, #151385, #151370, #151568. Validation: 359 focused Testbox tests passed with one APFS-only skip; check:changed passed. Exact-head CI run 35382721022 succeeded, and all 293 check runs for the reviewed head completed without failures. Codex autoreview and ClawSweeper found no actionable findings. |
||
|---|---|---|
| .. | ||
| changelog.sh | ||
| ci-dispatch.mjs | ||
| clawsweeper-review-gate.mjs | ||
| common.sh | ||
| crabbox-gate-contract.mjs | ||
| crabbox-gate-plan.mts | ||
| crabbox-merge-bypass.mjs | ||
| crabbox-merge-bypass.sh | ||
| darwin-process-identity.py | ||
| gates.sh | ||
| gh-api-preflight.mjs | ||
| materialize-dependencies.mjs | ||
| merge-body.mjs | ||
| merge-legacy-refusal.mjs | ||
| merge-outcome.sh | ||
| merge.sh | ||
| operation-lock.sh | ||
| prepare-core.sh | ||
| process-group-runner.mjs | ||
| push.sh | ||
| review-artifacts.mjs | ||
| review-transition-state.mjs | ||
| review.sh | ||
| worktree-provision.mts | ||
| worktree.sh | ||
| wrapper-components.txt | ||