Skip to content

fix(pr): prevent parallel main refreshes from colliding - #134014

Merged
steipete merged 11 commits into
mainfrom
codex/release82-native-git
Aug 31, 2026
Merged

steipete merged 11 commits into
mainfrom
codex/release82-native-git

Conversation

@steipete

@steipete steipete commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Related: #133896 (native release preparation contention), #134049 (superseded OpenGrep repair, now covered by #134054 on main), #134136 (Testbox preparation after a successful build).

What Problem This Solves

Maintainers refreshing different PR worktrees could fail with Git ref-lock or compare-and-swap errors because each refresh mutated shared origin/main. The release verification also exposed checkout authentication ending before implicit blob hydration and a historical-reader test trying to fetch its immutable prerequisite after checkout credentials were removed.

Why This Change Was Made

Native main refreshes now write only the current PR worktree's private FETCH_HEAD. Cold provisioning seeds the existing per-PR temporary branch without changing canonical FETCH_HEAD, initializes the worktree, and takes the normal private checkpoint. Canonical origin, wrapper trust, per-PR locks, interrupted-checkout recovery, exact-head guards and merge authority remain intact. There is no repository-wide mutex or additional retry loop.

The existing CI checkout owner supplies repository-scoped authentication through process-only Git configuration for explicit fetches and implicit promisor-blob hydration, then clears it. The test planner selects immutable historical-reader commits only for the owning Node shard; checkout fetches those objects before credentials leave scope. Workers receive no credentials, and compatibility assertions and deadlines are unchanged.

All three Testbox workflows now resolve the actual merge first parent with the existing resolver before ensuring history, and pass that same result to Testbox’s base pin. Linear and manual-dispatch bases remain unchanged. This removes the stale event-base fetch exposed after the successful artifact build in #134136; the generic exact-SHA history policy is unchanged.

User Impact

Maintainers can refresh independent PR worktrees while another Git operation owns the shared remote-tracking ref. CI can prepare shallow checkouts and historical-reader prerequisites without persistent credentials. Anthropic provider registration also defers credential-store, external-auth, and live-catalog imports until their existing asynchronous hooks run, reducing cold registration cost while preserving authentication and SDK contracts.

Evidence

  • A real Git transaction holds the shared origin/main ref while warm and cold review checkouts run concurrently. Before the fix, both fail and the cold path changes canonical FETCH_HEAD; afterward, both reach canonical main while shared state remains unchanged. The original containment suite passed all 39 cases.
  • The operation-lock fixture reproduced 11 failures before its fetch parser and private-checkpoint observation were corrected; all 18 freshness cases passed afterward. Lock, trust, artifact-preservation, fault injection and recovery assertions remain intact.
  • Real smart-HTTP fixtures cover explicit authenticated fetches, lazy blob hydration, cross-origin credential isolation, and opening a historical worktree after authentication ends. The missing-history fixture fails on the old owner and passes with preparation. All 18 authentication/prerequisite cases passed on the combined pre-rebase head.
  • The exact historical reader 5dc4cf602bc5e263e83cd16a12bb1e100544f4c3 and candidate reopen proof passed in 24 seconds. No test timeout or compatibility assertion was relaxed.
  • Post-conflict head dd8815bce8c861e67a1d72194e3e0d56ce7a1f5e: 36 selected prerequisite, native concurrency, manifest and OpenGrep cases passed; actionlint, Zizmor, generated-owner validation, composite interpolation and diff checks passed. Fresh combined-diff P0 Autoreview is clean. The full local changed gate passed before the mechanical rebase; range-diff proves all four remaining commits are patch-identical.
  • Head f245bd7957caaacbb80018a6da6e47c45966637d also declares the trusted selector in Knip’s canonical executable entry list, since inline workflow imports are not statically discoverable. Full pnpm deadcode:full passed both stages (51.6s and 52.4s); formatting, diff checks and fresh combined-diff P0 Autoreview passed. No unused-code exclusion was added.
  • The broad routing expectation now includes the new isolated prerequisite test:2 reproduced failures became367 passing cases; the required changed gate passed. The agent-menu browser fixture now waits for opening focus and closing popup retirement before the next key, preserving all original assertions. All6 browser cases passed on the combined revision.
  • The reviewed Anthropic import repair passed170 focused cases, full build, source/compiled hook proof and the built-entry profiler. The unchanged fresh-source case improved from92.2s to37.8s on macOS; that timing is not claimed as Windows proof. Integrated source hashes match the reviewed receipt.
  • Head b07535b582ebed082029a6bc12a87f51cbb830ee passed both Windows lanes, all selected Linux/compact/UI, lint, dependency and SQLite lifecycle jobs. Its native-i18n job exhausted its 10-minute cap during dependency setup after checkout consumed 9m28s; no i18n assertion ran. Prior run33393515458 preserved an audit lease timeout, UI focus precondition failure, stale routing expectation and explicit lint runner shutdown; none is described as passed or waived.
  • The Testbox depth-two synthetic-merge proof reproduced 3 failures before the fix; all 9 cases now pass, plus 16 existing OpenGrep/resolver cases. Network transports are disabled and Git tracing proves zero fetches on successful preparation; real shell base pinning, linear fallback and missing-parent failure remain covered. The integrated revision passed all 11 targeted Testbox, workflow-guard and routing cases.
  • Head ccf83fcd3336fc11bb803a7dea3d68c01605b89e also corrects the provider tutorial to use the existing public provider-auth export, which ships declarations. The bundled-only lightweight entry remains unchanged. Fresh combined P0 Autoreview is clean; required changed-file and workflow checks passed. Exact-head hosted CI remains required before landing.

The rebase resolved an actual conflict after #134054 landed the equivalent OpenGrep repair. Both OpenGrep files now match main exactly; this PR no longer duplicates that change. Main's stronger shallow-merge, linear and missing-history regression cases passed in the final focused run. #134049 is closed with canonical main and exact CI/SARIF proof.

Production/tooling growth: 100 executable lines, 10 metadata lines, 51 generated workflow lines and 30 Testbox workflow wiring lines. Test/support growth: 798 lines; maintainer guidance and documentation: net zero. The executable growth establishes scoped authentication and immutable-history preparation in the existing checkout owner and deferred provider imports. Testbox adds only step/output wiring to the existing merge-base resolver. There are no persistent credentials, broader retries, new configuration, dependency overrides, timeout increases, storage changes or alternate landing routes.

The two remaining failures in run33404287226 were new-main gateway fixture lint/type errors, covered by the independently reviewed correction #134207. Head 4f3e8ba6514610d8de0fa652c61834da22486830 is rebased once onto that complete reviewed correction ancestry. All ten retained commits are patch-identical in range-diff; no conflicts, dropped fixes or dependency-pin changes occurred. The 11 focused Testbox/workflow/routing cases passed again, and fresh full-native-delta P0 review is scoped clean. #134207 must land before this PR.

@clawsweeper

clawsweeper Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: S maintainer Maintainer-authored PR labels Aug 31, 2026
@steipete
steipete marked this pull request as ready for review August 31, 2026 09:37
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 31, 2026
@clawsweeper

clawsweeper Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 31, 2026, 11:27 AM ET / 15:27 UTC.

ClawSweeper review

What this changes

The branch prevents shared Git-ref collisions during PR refreshes, scopes CI checkout authentication and historical test setup, and defers Anthropic provider auth and catalog imports until their hooks run.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open. This maintainer-authored, maintainer-labeled PR retains a concrete repair for concurrent PR-worktree refreshes, and the prior provider-documentation finding is resolved. No introduced blocking defect was found, but exact-head CI is still incomplete and the new checkout credential boundary needs its normal final validation.

Priority: P2
Reviewed head: 4f3e8ba6514610d8de0fa652c61834da22486830

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch has focused owner-boundary coverage and resolves the prior documentation finding, with final confidence appropriately gated on exact-head CI.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: Not applicable to the contributor-proof gate because the repository state identifies this as a MEMBER-authored PR; its source includes focused real-Git worktree and smart-HTTP fixtures, but this read-only review did not execute them.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Not applicable to the contributor-proof gate because the repository state identifies this as a MEMBER-authored PR; its source includes focused real-Git worktree and smart-HTTP fixtures, but this read-only review did not execute them.
Evidence reviewed 7 items Private main-refresh owner: The cold path fetches main into the per-PR temporary branch with no FETCH_HEAD write, while normal snapshot capture still uses the worktree-private FETCH_HEAD; this removes the shared origin/main mutation that caused concurrent refresh collisions.
Concurrency regression coverage: The introduced containment test holds an origin/main transaction while warm and cold PR refreshes run, then asserts the shared ref and canonical FETCH_HEAD remain unchanged.
Checkout credential boundary: Checkout authentication is constructed as process-only Git configuration only when the checkout repository equals the workflow repository, then cleared in finally. The real smart-HTTP fixture asserts lazy hydration works without persisting credentials and rejects cross-origin and redirect forwarding.
Findings None None.
Security None None.

How this fits together

PR tooling creates isolated worktrees and snapshots main before review and merge operations. CI then prepares shallow checkouts, tests, and provider registration paths from those snapshots.

flowchart LR
  A[PR operation] --> B[Per-PR worktree]
  B --> C[Private main snapshot]
  C --> D[Review and merge gates]
  E[CI checkout] --> F[Scoped Git authentication]
  F --> G[Historical test setup]
  H[Anthropic registration] --> I[Deferred auth and catalog hooks]
Loading

Before merge

  • Resolve merge risk (P1) - The checkout owner now carries a repository token into Git subprocesses; final CI must confirm its same-repository, read-only, non-persistent scope on this exact head.
  • Resolve merge risk (P1) - The supplied check rollup is incomplete, and its verified merge fixture is against the pinned base rather than the newer main context.
  • Complete next step (P2) - This maintainer-authored, maintainer-labeled PR has no discrete repair finding; its remaining action is exact-head CI and normal maintainer handling.
Agent review details

Security

None.

PR surface

Source +31, Tests +813, Docs 0, Config +153, Other +7. Total +1004 across 31 files.

View PR surface stats
Area Files Added Removed Net
Source 5 338 307 +31
Tests 15 862 49 +813
Docs 1 1 1 0
Config 7 197 44 +153
Generated 0 0 0 0
Other 3 14 7 +7
Total 31 1412 408 +1004

Review metrics

Metric Value Why it matters
Introduced code split production/tooling +546/-355; workflows +106/-25; tests/support +865/-52 The positive production growth is concentrated in the checkout owner, lazy Anthropic boundary, and workflow wiring; the paired regression coverage is substantial.

Stored data model

Persistent data-model change detected: migration/backfill/repair: extensions/anthropic/auth.runtime.ts, migration/backfill/repair: src/plugin-sdk/test-helpers/provider-runtime-contract.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Require exact-head CI (recommended)
    Allow landing after the required checks complete green on 4f3e8ba and preserve the tested repository-scoped credential boundary.

Technical review

Best possible solution:

Land the per-worktree fetch and deferred-runtime design only after exact-head CI confirms the scoped checkout path; keep provider-auth as the documented external SDK surface and provider-entry confined to bundled implementation.

Do we have a high-confidence way to reproduce the issue?

Yes, source-reproducible: the previous cold refresh wrote shared origin/main, while the introduced containment fixture holds that ref transaction and exercises concurrent warm and cold refreshes. This read-only review did not execute the fixture.

Is this the best way to solve the issue?

Yes. Redirecting the cold fetch to the existing per-PR branch removes the shared-state collision at its producer without adding a repository-wide mutex or retry path; the provider deferral preserves the established async hook contract.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against c884d51b870b.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Not applicable to the contributor-proof gate because the repository state identifies this as a MEMBER-authored PR; its source includes focused real-Git worktree and smart-HTTP fixtures, but this read-only review did not execute them.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove merge-risk: 🚨 compatibility: Current PR review merge-risk labels are merge-risk: 🚨 automation, merge-risk: 🚨 security-boundary.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: The repair affects maintainer PR workflows and CI preparation, with bounded but meaningful operational impact.
  • merge-risk: 🚨 automation: The PR changes the central CI checkout owner and three Testbox workflow preparation paths.
  • merge-risk: 🚨 security-boundary: The checkout owner newly passes repository-scoped authentication to Git subprocesses, making its isolation and cleanup merge-critical.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Not applicable to the contributor-proof gate because the repository state identifies this as a MEMBER-authored PR; its source includes focused real-Git worktree and smart-HTTP fixtures, but this read-only review did not execute them.

Evidence

What I checked:

  • Private main-refresh owner: The cold path fetches main into the per-PR temporary branch with no FETCH_HEAD write, while normal snapshot capture still uses the worktree-private FETCH_HEAD; this removes the shared origin/main mutation that caused concurrent refresh collisions. (scripts/pr-lib/worktree.sh:229, 4f3e8ba65146)
  • Concurrency regression coverage: The introduced containment test holds an origin/main transaction while warm and cold PR refreshes run, then asserts the shared ref and canonical FETCH_HEAD remain unchanged. (test/scripts/pr-worktree-containment.test.ts:208, 4f3e8ba65146)
  • Checkout credential boundary: Checkout authentication is constructed as process-only Git configuration only when the checkout repository equals the workflow repository, then cleared in finally. The real smart-HTTP fixture asserts lazy hydration works without persisting credentials and rejects cross-origin and redirect forwarding. (.github/actions/git-owner/owner.py:205, 4f3e8ba65146)
  • Provider hook contract: Anthropic moves credential persistence and live catalog loading behind async hooks; the provider type explicitly permits an asynchronous doctor hint and its core caller awaits it. (extensions/anthropic/register.runtime.ts:809, 4f3e8ba65146)
  • Prior documentation finding resolved: The public SDK documentation continues to identify provider-auth as the supported typed API-key factory surface and explicitly marks provider-entry private-local; the PR no longer changes that guide. Public docs: docs/plugins/sdk-subpaths.md. (docs/plugins/sdk-subpaths.md:50, 4f3e8ba65146)
  • Feature-history routing: The current worktree implementation builds on the earlier scripts/pr trust-anchor change, whose recorded parent is available and whose raw-parent diff can be inspected; deeper history hydration was unavailable locally, so no introduction attribution is made. (scripts/pr-lib/worktree.sh:229, 9b4c3d5f1b21)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Let the exact-head required checks complete and retain the checkout authentication isolation assertions.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (9 earlier review cycles; latest 8 shown)
  • reviewed August 31, 2026, 6:06 AM ET / 10:06 UTC sha unknown :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T10:18:51.460Z sha d5d87b3a3460c2046e67397fa7ceb4e83551030c :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T10:55:06.453Z sha 2c5ada13c7e47ba0aa23b4c12e714b5ed06ec7dd :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T12:16:32.422Z sha 77313987eea19f3771b09c80d0bd5a2e6da534e9 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T12:27:04.406Z sha dd8815b :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T12:54:49.041Z sha f245bd7 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T13:30:53.732Z sha f245bd7 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T14:09:21.085Z sha b07535b :: found issues before merge. :: [P1] Restore the public provider-auth import in the guide

@steipete
steipete force-pushed the codex/release82-native-git branch from d5d87b3 to 2c5ada1 Compare August 31, 2026 10:46
@openclaw-barnacle openclaw-barnacle Bot added security Security documentation size: M and removed size: S labels Aug 31, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. label Aug 31, 2026
@steipete steipete self-assigned this Aug 31, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. label Aug 31, 2026
@steipete
steipete force-pushed the codex/release82-native-git branch from 7731398 to dd8815b Compare August 31, 2026 12:20
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The current head is b07535b582ebed082029a6bc12a87f51cbb830ee. In addition to the reviewed Git ownership repair, it includes the independently reviewed Anthropic cold-registration import repair and two CI fixture corrections: the historical-prerequisite routing expectation and agent-menu lifecycle synchronization. No timeout, storage, credential scope, or keyboard assertion was relaxed.

Local verification includes 367 routing cases, six real-browser focus cases, the required changed checks, and a fresh combined scoped review. The Anthropic source hashes match its 170-test, full-build, source/compiled-hook and profiler receipt. Exact-head CI remains required: https://github.com/openclaw/openclaw/actions/runs/33399315161

@clawsweeper

clawsweeper Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 31, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The public provider tutorial now uses openclaw/plugin-sdk/provider-auth again; the current PR has no net change to that guide. This resolves the P1 finding and its compatibility risk while keeping the lightweight bundled-only entry internal.

Current head: ccf83fcd3336fc11bb803a7dea3d68c01605b89e. It also repairs the confirmed stale event-base selection in all three Testbox workflows by reusing the existing merge-base resolver for both history preparation and shell pinning. The regression reproduced three failures before the repair; all nine real-Git cases now pass with transports disabled, plus the existing resolver/OpenGrep cases and integrated workflow/routing proof. No credential scope, timeout, retry policy, migration or storage behavior changes were added.

The repository-scoped, process-only checkout credential design remains within the maintainer-authorized release repair. The PR body records its isolation and cleanup proof. Exact-head CI is still required before landing: https://github.com/openclaw/openclaw/actions/runs/33404287226

@clawsweeper

clawsweeper Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

steipete and others added 3 commits August 31, 2026 08:01
Preserve the recovery coverage added in #134165 while using the actual WebSocket dependency and authored SecretRef fixture boundary.

Co-authored-by: Shakker <[email protected]>
Keep provider descriptors synchronous without importing credential stores, external auth discovery, or live catalog transport during registration. Load those implementations only when the existing asynchronous setup, doctor, usage, and catalog hooks need them.

Expose the existing lightweight API-key descriptor factory through provider-entry while preserving the shipped auth SDK helpers and their synchronous contracts. The unchanged fresh-process registry proof retains its original timeout and verifies scoped failover without global activation.
Wait for opening focus initialization and visible popup retirement before exercising selection and typing ownership. Preserve the existing focus, selected-agent, and composer assertions without changing product behavior or timeouts.
@steipete
steipete force-pushed the codex/release82-native-git branch from ccf83fc to 4f3e8ba Compare August 31, 2026 15:18
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime extensions: anthropic size: XL and removed security Security documentation size: M labels Aug 31, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 31, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Canonical preparation completed for 4f3e8ba6514610d8de0fa652c61834da22486830.

Exact-head CI33407712263 completed successfully, including both Windows lanes, macOS, all selected runtime/UI/Git tests, typecheck, lint, dependencies, builds and i18n. The native preparation verified the same local and remote head and skipped an unnecessary push. The three Testbox workflows also passed on the preceding patch-identical revision, and their local shallow-Git proof covers both successful base pinning without network fetches and fail-closed missing history.

The shared main fixture correction #134207 is now merged as ace8a13f19cc. This branch was refreshed once onto its complete reviewed ancestry; all ten release-repair commits remained patch-identical. No later advisory rebase, credential widening, timeout increase or assertion waiver was used.

Local verification retained the real Git concurrency and smart-HTTP isolation proofs, immutable-reader compatibility proof, full Knip checks, provider cold-import build/profile proof and six browser focus cases. After the final rebase, node scripts/run-vitest.mjs test/scripts/testbox-base.test.ts test/scripts/ci-workflow-guards.test.ts test/scripts/test-projects.test.ts -t 'Testbox base preparation|prepares Testbox checkouts|keeps Crabbox and Testbox workflow edits' passed all11 selected cases. Fresh full-native-delta Codex review is scoped clean at P0.

The latest ClawSweeper review covers this exact head and has no actionable findings. Its remaining request was green exact-head CI with authentication isolation assertions retained; both are satisfied. The public provider-auth documentation correction is preserved, and no persistent-store behavior changed. Live main rules require the normal CI gate and do not require a separate review approval; no bypass route is being used.

Earlier CI failures and cancellations remain recorded in the PR body. A local pre-prepare Git HTTPS fetch also stalled; only that owned fetch was stopped, its children were verified gone, and the native wrapper's exact operation-lock recovery was used before the single checkpoint retry. No merge request had been sent during that recovery.

@steipete
steipete merged commit 9cc05cc into main Aug 31, 2026
278 checks passed
@steipete
steipete deleted the codex/release82-native-git branch August 31, 2026 16:09
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

steipete added a commit that referenced this pull request Aug 31, 2026
Keep the independently landed main fixture from #134014 byte-identical while preserving the separately verified theme-transition regression.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 1, 2026
)

* fix: restore gateway recovery fixture lint and types

Preserve the recovery coverage added in openclaw#134165 while using the actual WebSocket dependency and authored SecretRef fixture boundary.

Co-authored-by: Shakker <[email protected]>

* fix(pr): prevent parallel main refreshes from colliding

* test(pr): observe private main refresh checkpoints

* fix: authenticate CI checkout and lazy blob fetches

* fix: prepare immutable reader history during CI checkout

* fix(ci): declare historical reader selector entry point

* test: include historical prerequisite in routing expectations

* perf(anthropic): defer auth and catalog runtime imports

Keep provider descriptors synchronous without importing credential stores, external auth discovery, or live catalog transport during registration. Load those implementations only when the existing asynchronous setup, doctor, usage, and catalog hooks need them.

Expose the existing lightweight API-key descriptor factory through provider-entry while preserving the shipped auth SDK helpers and their synchronous contracts. The unchanged fresh-process registry proof retains its original timeout and verifies scoped failover without global activation.

* test(ui): await agent menu lifecycle before keyboard navigation

Wait for opening focus initialization and visible popup retirement before exercising selection and typing ownership. Preserve the existing focus, selected-agent, and composer assertions without changing product behavior or timeouts.

* fix(ci): prepare Testbox against the checked-out merge base

* docs(plugins): use public provider auth import in tutorial

---------

Co-authored-by: Shakker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui extensions: anthropic gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant