Repository navigation
Run repair compute on bounded Cloudflare containers - #45
Merged
Merged
Conversation
…nly operator review
AyobamiH
marked this pull request as ready for review
September 28, 2026 11:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The operational Cloudflare branch proved operator PR 10, but normal repair dispatch still depended on the old runner configuration. This lands reusable Cloudflare provisioning and cleanup so ordinary repair jobs can run on the provisioned compute.
Changes
pr-behavior-proof
Claim: GitHub orchestration provisions two separate Cloudflare runner roles, executes real Linux containment on each, and destroys them.
Surface: the authenticated Worker, pinned image, composite lifecycle action and production runner labels.
Scenario: deployed service, real GitHub JIT registrations, compiled containment preflight, cleanup.
Environment/command: Cloudflare containers;
node /opt/clawsweeper/dist/repair/containment-preflight.js, throughcloudflare-repair-provision.yml.Evidence: Complete initial lifecycle: https://github.com/AyobamiH/clawsweeper/actions/runs/36353992480. Runs https://github.com/AyobamiH/clawsweeper/actions/runs/36412616259 and https://github.com/AyobamiH/clawsweeper/actions/runs/36413520853 proved deployment, two unique Cloudflare runners, both real containment preflights, proof artifacts, and cleanup. Regression run https://github.com/AyobamiH/clawsweeper/actions/runs/36414478446 provisioned both Cloudflare roles, passed both containment samples, and destroyed the fleet. Run https://github.com/AyobamiH/clawsweeper/actions/runs/36416443010 exposed an ineffective retry window on a transient second-runner start and still completed exact-name cleanup successfully. Head
9a3ee9eed0ca1940a469fdfc5c4b6a924dcdd4d0makes per-attempt timeouts shorter than the aggregate retry budget. Final exact-head lifecycle and subscription-review run: https://github.com/AyobamiH/clawsweeper/actions/runs/36417057578; it must complete successfully before merge.Limits: this lifecycle proof does not mutate a target repository. Historical full repair is https://github.com/AyobamiH/clawsweeper/actions/runs/36323734781; operator 44/44 adapter validation is https://github.com/AyobamiH/clawsweeper/actions/runs/36338829679/artifacts/10938660135; clean subscription review is AyobamiH/openclaw-operator#10 (comment). Those historical results do not replace current lifecycle proof.
Validation and review
pnpm run checkpassed on current head: https://github.com/AyobamiH/clawsweeper/actions/runs/36414478408. Local full coverage remains affected only by Work Mode/procprocess-incarnation visibility; assertions were not weakened.9a3ee9eed0ca1940a469fdfc5c4b6a924dcdd4d0: dispatch now targets the owned service; GitCrawl intake is skipped unless an already-authorised store is explicitly configured; lifecycle identities are stable across retries; failed-jobs-only reruns refuse stale compute; fixture cleanup is unconditional and deregisters survivors.9a3ee9eed0ca1940a469fdfc5c4b6a924dcdd4d0adds the missing fixture attempt guard and preserves GitHub deregistration when Cloudflare cleanup preparation fails. The next subscription review found a result-publication owner-scope regression; head9a3ee9eed0ca1940a469fdfc5c4b6a924dcdd4d0now includes all validated job-owner roots and a regression assertion. The final hosted automerge proof passed: https://github.com/AyobamiH/clawsweeper/actions/runs/36414478477. CodeQL passed: https://github.com/AyobamiH/clawsweeper/actions/runs/36414478399. A current PR-head/body ClawSweeper review remains required; no merge while actionable findings remain.OpenClaw Bay is unaffected: server-side compute/dispatch changes preserve the observer data contract and introduce no browser mutation controls. The owner explicitly authorised landing after proof and review.