Skip to content

fix(update): backport offline snapshot reuse and migration verification to 10.3 - #170753

Closed
RomneyDa wants to merge 1 commit into
release/2026.10.3from
backport/update-recovery-10.3-20261012
Closed

RomneyDa wants to merge 1 commit into
release/2026.10.3from
backport/update-recovery-10.3-20261012

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: updates on the 10.3 branch can copy already-prepared shared-state databases again and reopen candidate-migrated state while capturing authored configuration.

User Impact

Candidate shared-state checks reuse their prepared image. Config capture does not require opening runtime state, and a responding target Gateway supersedes stale runtime-verification restart advice. Original update outcomes, pending migrations, and recovery backups remain authoritative.

Why This Change Was Made

Backports #167451 and #170130 to this branch's older shared-state reader architecture. The newer agent-reader scope is absent here and is not introduced. No new configuration, schema, admission gate, or error category. Snapshot capacity diagnostics distinguish temporary storage failure from source corruption.

Evidence

  • Focused snapshot, capacity, config/Doctor, advisory, and recovery-report coverage passed: 113 tests, one existing platform skip. The 10.2 run took 77.42 seconds; 10.3 passed the affected rerun after adapting its contracts.
  • Core and extension production/test typechecks passed, including every core test partition. Targeted lint, formatting, and diff checks passed after consolidating one duplicate test import.
  • Independent Codex P0/P1 review returned scoped-clean for the pinned branch cut.
  • Packaging build and PR CI are pending; this draft will be marked ready after build validation.
  • The broad changed-file check stopped at three unused exports in byte-identical baseline files: resolveSessionDisplayDefaults, readDeferredPluginMigrationCompletionsAsync, and hasActiveDeliveryOwner. Targeted type/lint proof passed; these are outside this patch.

Backport #167451 and #170130 to the 10.3 shared-state reader architecture. Preserve the original candidate and migration custody while avoiding redundant shared-state copies and old-driver config reads.

Co-authored-by: Peter Steinberger <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation cli CLI command changes scripts Repository scripts extensions: qa-lab size: L labels Oct 13, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

Closing this release/2026.10.3 backport as part of the maintainer-approved consolidation of the 2026.10.1–2026.10.3 backport PRs.

The intended changes are being assessed against release/2026.10.8 and the destination release heads. Still-relevant changes will be carried in #181924 and #181927; already-covered or retired changes will be recorded as such. This closure does not claim the changes have already been ported or qualified. The source branch and commit history are preserved.

@RomneyDa RomneyDa closed this Oct 27, 2026
RomneyDa added a commit that referenced this pull request Oct 29, 2026
* fix(update): backport safe validation and recovery reports to 2026.9.x

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.

* test(release): consolidate September survivor and lifecycle fixtures

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.

* test(ui): isolate September font fixtures before each case

Backport only the font fixture reset from 9ef8502
as carried by #166813 and #166890. Preserve the September theme inventory.

* fix: compose 2026.9.36 release validation security candidate

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]>

* fix: complete release security dependency and workflow repairs

Repair embedded Mermaid/KaTeX assets, migrate the coherent Vitest security cohort, and retain trusted workflow data boundaries.

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

* fix(release): restore original bounded scope of #186177

Preserve all original and security history while reducing this PR to the conflict-free merge of original head 32665a0 and release base e93b50a. Removed work remains in ancestor commits and local split evidence. Scope reduction does not certify full composition or waive unresolved review gates.

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

* fix(update): preserve unsafe Doctor recovery guidance

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

* test(update): adapt Doctor custody regression harness

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

---------

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

Labels

cli CLI command changes docs Improvements or additions to documentation extensions: qa-lab scripts Repository scripts size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant