Repository navigation
fix(release): consolidate applicable backports for 2026.9.36 - #186177
Conversation
Adapt #167451 and #170130 to the September shared-state reader architecture. Reuse isolated rehearsal images, capture authored config without reopening migrated state, preserve candidate-owned verification, and retain actionable snapshot-capacity diagnostics. Keep saved outcomes and rollback restrictions. Require distinct known versions before reconciling runtime recovery advice; version-only health cannot identify a changed Git commit at the same version. Adapted from Peter Steinberger authored main commits: - 0ac773b - d128f0d Using older-line adaptation 47538fa from #170736 / #170753.
Keep the shell survivor roster canonical, preserve bounded/redacted Doctor lint and redirected failure evidence, and reset stale attempt logs. Share the September Chokidar fixture and await real cleanup recovery config settlement. Do not import October-only observer/startup-maintenance features. Adapted from Dallin Romney authored source proposals: f13af59 cd3346e 6dd10c2 5f40bd0 Consolidates relevant subsets of #166817, #166828, #166855, #166882, #166892.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR backports update snapshot, migration-verification, recovery-reporting, and release-fixture repairs to September extended-stable. Example: A failed update from 2026.9.35 to 2026.9.36 leaves an unsafe Doctor settlement receipt while the target Gateway responds.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this useful maintainer-authored backport open; the prior Doctor-custody finding is fixed, and source review found no remaining actionable defect. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe update CLI prepares isolated database checks, captures authored configuration, invokes candidate verification, and projects recorded outcomes into recovery guidance. flowchart TD
A[Installed updater] --> B[Private rehearsal state]
B --> C[Candidate verification]
A --> D[Authored config capture]
C --> E[Recorded update outcome]
D --> E
E --> F[Recovery report]
G[Current Gateway health] --> F
Technical reviewBest possible solution: Retain the bounded September adaptations and corrected custody reporting, then qualify the published-driver upgrade through the existing release workflow. Do we have a high-confidence way to reproduce the issue? The base source demonstrates redundant rehearsal snapshots, state-dependent config capture, and stale recovery reporting; supplied regressions target those paths, but no target code was executed during this read-only review. Is this the best way to solve the issue? The backport uses existing readers, capture, verification, reporting, and fixture owners, and the corrective head preserves Doctor custody rather than deriving restart authority from health. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 11091f0bf62f. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +125, Tests +378, Docs +13, Other -7. Total +509 across 31 files. Added test files: 2. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed October 29, 2026, 3:05 AM ET / 07:05 UTC (Revision 3). |
Preserve the prepared release validation composition; adopt pinned ClawHub materialization and compatibility-tested tool and runtime dependency security repairs. Remaining audit and review limitations are recorded in the external release audit evidence. Co-authored-by: RomneyDa <[email protected]>
Repair embedded Mermaid/KaTeX assets, migrate the coherent Vitest security cohort, and retain trusted workflow data boundaries. Co-authored-by: RomneyDa <[email protected]>
Preserve the three original #186177 commits and human authorship as merge ancestry. All 30 original PR files are byte-identical in the security candidate; the merge tree is exactly the qualified b61f899 tree. This commit changes history only and does not imply canonical review, hosted qualification, landing, or release approval. Co-authored-by: RomneyDa <[email protected]>
…7280) * fix(node): recheck upload cancellation after opening snapshots Backport the bounded node-worker upload snapshot fix and regression test from upstream #162567. Recheck cancellation after the awaited staged-file open, before constructing a ReadStream, and retain awaited handle disposal. Only src/node-host/node-worker-upload-snapshot.ts and its regression test are selected from the upstream aggregate; no delegated-completion changes are included. This fixes the AbortError exposed by #186177 CI in unchanged extended-stable code. (cherry picked from commit 4f0541e) Co-authored-by: RomneyDa <[email protected]> * fix(node): backport upload cancellation guard to extended stable OpenClaw-Publication: e79397d1-66dd-4264-970e-19793c20805e --------- Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: RomneyDa <[email protected]>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
What Problem This Solves
Fixes: September-line update checks can recopy private rehearsal databases, reopen candidate-migrated state, and keep stale restart advice; its release fixtures can lose Doctor diagnostics or race plugin-reload settlement.
User Impact
Prepares the applicable consolidated backports for the upcoming 2026.9.36 patch on
extended-stable/2026.9.33, without changing the release version or publishing anything. The original update outcomes and migration rollback restrictions remain authoritative. No public Plugin SDK/config-schema expansion, dependency changes, or operator migration is introduced.Why This Change Was Made
The requested
release/2026.9.33ref does not exist;extended-stable/2026.9.33is the existing maintenance branch. This is a bounded audit of #181924/#181927 and the twelve closed old-cut PRs, not a claim of a complete current-main or security release inventory.Baseline:
facd3f9494d64eb3d12be1b7e9399d965c9b6435.Existing Batch 5 is already covered
Closed #181920 states all 29 commits were cherry-picked into the September line for 2026.9.35. All 29 full source SHAs have unique cherry-pick trailers on the baseline: 28 have identical stable patch IDs; the remaining workflow-contract commit differs only by intentionally omitting its native Swift generated-model hunk. The existing candidate-provenance fix is represented by #181427. Do not replay this batch or restore its earlier workflow defects. The prepared SDK compiler-loader repair is already present in
7e0d495eb3c.Disposition of all twelve old-cut PRs
b899f42513bd/ #166977; no Fleet code or host runtime change.@openclaw/fs-safe/tempexport, not October's focused resolver.Peter Steinberger retains source author credit for the update/runtime and font fixture backports; Dallin Romney retains author credit for the survivor/Doctor/lifecycle proposals.
Source fixture proposals #166802/#166823 were not merged on main; these are explicitly requested relevant proposal consolidations, not a claim of canonical-main landing. Their historical full-Docker/original-shard proof holds are not cleared by focused passes.
Scope and simplification
Reuse the existing config capture, read-only snapshot, verification, report, diagnostics and lifecycle-test owners. Remove the survivor helper's obsolete roster down-conversion; keep published-baseline version adaptation. Share the existing Chokidar fixture in test support, without importing October's new observer or adding a runtime seam. Preserve existing assertions and deadlines.
Evidence
Harness red-on-baseline: four expected failures (canonical roster, Doctor lint capture, stale-attempt reset, redirected Doctor stderr), 66 passes.
Fixed harness: 70/70 passed across survivor-state, diagnostics and onboarding shell suites; 26.44s wrapper / 25.54s Vitest.
Complete Gateway lifecycle file: 8/8 passed, including cleanup rejection and timeout recovery (57.92s Vitest; the real Gateway/runtime boundary accounts for the existing suite cost).
Font fixture: 23/23 passed (1.47s Vitest); unmodified Google Meet gateway fixture: 12/12 passed (8.64s Vitest), confirming that October-specific fixture adaptation is unnecessary here. Combined three-shard wrapper: 71.81s.
Targeted Gateway-server, scripts, and root-script test typechecks passed. Harness/core/root-test/script lint, shell syntax, changed-file formatting and whitespace checks passed.
Initial independent P0–P2 review identified a same-version Git-update false reconciliation in the imported report change; the corrected report requires distinct known before/after versions, and a same-version/different-SHA regression fails before that correction and passes afterward.
Runtime suite results: 8 advisory + 4 capacity-refusal cases passed; final readonly/report rerun 112 passed / 1 pre-existing skipped, CLI Doctor 20 passed; the shared-state rehearsal case also passed. Runtime owner proofs cover recorded migration handoff, file-only config capture, shared rehearsal snapshot reuse/write refusal, live-WAL snapshot capacity and cleanup, capacity-versus-corruption guidance, and recovery reporting. The initial live-WAL test exposed an October helper-signature mismatch; the September fixture now explicitly creates its
writestable and the affected suites pass.QA packaged bootstrap/repair selection: 7 passed, 70 unselected cases skipped (23.56s wrapper). The synthetic packaged CLI binds its configured port during both auth and update commands, proving the placeholder listener is released first.
Core production, QA project, infra/state/CLI-update test graphs and targeted runtime/QA lint passed. Final independent P0–P2 review returned scoped-clean after the report correction.
Separate pre-existing Batch 5 concerns remain outside this delta: the artifact collector checks a retained preparation identity before its producer completes, and continuation requires a preparation log identity even when failed preparation produced no candidate. These already exist on the pinned September baseline; this PR neither introduces them nor claims to repair or qualify those recovery paths.
Full Docker survivor/upgrade qualification, Linux/Bun and hosted broad CI are not claimed. Nothing merged, no release tag/version changed, and no package, Docker, native, or ClawHub artifact published.
Final commits:
95e9050cc32e(runtime/update),0115c2875f5b(survivor/Doctor/lifecycle),32665a07ef80(font fixture). Whole change: 30 files, +601/-166 lines.Narrowed scope and current qualification status — October 29, 2026
The pushed corrective head is
550e329d3a43ec62214da0a5b77a344df0d830b2, based on current release tipe93b50ad2400871616c2e6588d57488dba94ecad. It restores only the original 30-file, +601/−166 change; its patch is byte-identical to the original three-commit submission. All original authorship/history and the superseded aggregate security history are retained; this is content reduction, not rewritten commits. The preceding sections are preserved original-submission context and historical scoped evidence, not a completed review of this head.Seven primary sources adapted into three original commits
95e9050cc32e:0ac773b4382d31ca13c6e15b5a85716d59309a01andd128f0d5b41f7a0b44bff57712ccc3486286f6b5;47538facd06171f0a12fadc9cc47e79a391058d3is the older-line adapter, not an eighth independently counted primary source.0115c2875f5b:f13af5968f4514a6e828b475dd66a14996574958,cd3346e5a90aec8f3ce72f391087e7c68585fd7b,6dd10c239edc6c97b50ab9077a4b96d32e69172f,5f40bd029f23878b17c4762a5553131b9ee4d8d4. These include authored proposals; no unsupported main-landing claim.32665a07ef80: only the reset from9ef85029b0d270b57838c84c612ea4f70d145249.Unrelated A2UI/Discord Zod patches, dependency upgrades, ClawHub/Vercel toolchain work, release-validation plumbing, Mermaid/Vitest changes and other runtime backports are deferred to separately scoped, source-attributed work. None is included or qualified by this narrowed diff.
Local verification of the pushed head: 239 tests / 10 files passed, exact tree/patch equality and signature verified, narrow diff and affected shell syntax checks passed. These are targeted local checks, not complete hosted CI/FRV or cross-platform/native acceptance.
Full canonical review remains outstanding. The aggregate review's capacity refusal is not cleared by this scope correction; historical scoped reviews are not approval of this whole head. No review, merge, FRV, release or publication approval is claimed. No version or dependency changes are introduced by the narrowed diff.
Ledger reconciliation completed October 29, 2026: all seven narrow source assessments remain needed/adaptation_required (not landed); eMudhra and Docker already-present portions are recorded separately, with unresolved qualification caveats preserved. Expanded work is deferred, not qualified by this PR.