Skip to content

fix(doctor): suggest retry instead of restore after snapshot contention - #176779

Merged
steipete merged 2 commits into
mainfrom
fix/doctor-retryable-snapshot-no-restore
Oct 19, 2026
Merged

steipete merged 2 commits into
mainfrom
fix/doctor-retryable-snapshot-no-restore

Conversation

@steipete

@steipete steipete commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #176750

What Problem This Solves

Fixes: Doctor tells operators to restore a database backup when its final readiness check fails because a read-only SQLite snapshot did not stabilize.

User Impact

Doctor still refuses to complete repair, but retryable snapshot contention now tells operators to let writes settle and retry. Integrity failures retain restore guidance for the affected database, including when another database in the same report has a retryable failure.

Why This Change Was Made

The snapshot worker already returns a typed SqliteReadOnlyInspectionContentionError. Readiness now retains that error in its existing cause map, and the message owner chooses Doctor guidance per database without matching error text. Gateway guidance, database checks, update refusal, and recovery behavior stay unchanged. No database writes, deferred effects, config, schema, or worker protocol changes are added.

The simplification pass retained the existing error and cause owners. Production grows by 15 lines (+25/-10) to preserve classification and distinguish mixed reports; deleting unrelated code to offset that would broaden this fix. Tests: +58/-0. Docs: +6/-0.

Evidence

  • Exact-head CI run 39186907343 passed on 30ec55aed9fde8b1d6bda39d44c8aeaa919243ee: 41 successful jobs, no failures. The overall PR CI gate is green.
  • Confirmed from the current source and history: the snapshot worker preserves retryable classification, while Doctor's formatter unconditionally appended restore guidance and snapshot catch paths discarded the typed cause.
  • PR CI is the test gate and covers the existing database-preflight suite, type/lint checks, and these regression cases in openclaw-database-preflight.schema-only.test.ts:
    • keeps Doctor's refusal and gives the next step for retryable snapshot contention
    • keeps Doctor's refusal and gives the next step for database corruption
    • keeps retry and restore guidance with their affected agent databases
  • Regression suite in CI: all 10 tests passed in 14.64 seconds. The three new cases took 90 ms, 39 ms, and 222 ms respectively.
  • Changed-file oxlint with config/tsconfig/oxlint.core.json, oxfmt, and git diff --check: passed.
  • Codex autoreview (P0-P2): scoped-clean; no accepted/actionable findings. Review was source-only.
  • Live proof was intentionally skipped per maintainer policy. Local tests, negative controls, and typechecks were also intentionally skipped; no Gateway or cloud lease was started. Local test wall times were not measured under that policy.

@clawsweeper

clawsweeper Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T01:49:16.986977Z 30ec55a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime size: S labels Oct 19, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 19, 2026
@clawsweeper

clawsweeper Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Doctor recommends retrying a contended SQLite snapshot inspection while retaining restore guidance for other database failures.

Example: Doctor cannot stabilize a read-only snapshot of an agent database.

  • Before: Doctor refuses completion and recommends restoring the database from backup.
  • After: Doctor still refuses completion but recommends waiting for writes to settle and retrying; a separate corrupt database retains restore guidance.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The implementation is focused and source-consistent, but the required changed-behavior proof is absent.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Doctor recommends restoring a database when temporary snapshot contention only requires retrying inspection.
Reason: The maintainer-authored direction corrects a source-established diagnostic defect without weakening checks or adding settings.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR makes a focused correction to misleading Doctor recovery guidance, and source review found no introduced correctness or security defect.

Priority: P2
Reviewed head: 30ec55aed9fde8b1d6bda39d44c8aeaa919243ee

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: No shipped Doctor run demonstrates contention versus corruption guidance, and base-failing/head-passing regression execution is not shown.
Agent review details

How this fits together

Database preflight receives snapshot and schema inspection results, preserves underlying failures, and formats readiness refusals consumed by Doctor and Gateway lifecycle checks.

flowchart TD
  A[Doctor completion check] --> B[Database preflight]
  B --> C[SQLite snapshot worker]
  C --> D[Typed inspection failure]
  D --> E[Existing cause map]
  E --> F[Per database guidance]
  F --> G[Doctor refuses completion]
Loading

Technical review

Best possible solution:

Preserve typed snapshot failures through preflight and choose guidance per database in the existing formatter.

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

Source establishes the failure path: a typed snapshot contention error becomes an indeterminate readiness row, and current main then recommends restoring a backup; no runtime reproduction was performed.

Is this the best way to solve the issue?

The patch is the smallest complete correction using existing owners: retain causes at the two snapshot catches and select guidance per row without changing readiness decisions.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against c2549f8295d0.

Provenance checked

  • Doctor backup-restore guidance changes intended behavior with a stated reason (a145712: Give manual recovery for unsupported state instead of recommending another identical repair attempt.)
  • Private readiness causes keeps the original intent (be36d55: Preserve typed failures and distinguish unavailable reads from permanent startup refusals.)
  • Canonical error formatting keeps the original intent (e98fdee: Consolidate error formatting while retaining domain-specific classification.)
  • Stable multi-database diagnostics keeps the original intent (029d426: Identify every affected database in stable path order.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

  • Pinned change and policy: Read the complete introduced diff and root policy, applicable docs policy, and simplification instructions; no ancestor state policy or maintainer-notes directory was present. The patch reuses existing owners and adds no persistence, configuration, or protocol surface. (AGENTS.md, 30ec55aed9fd)
  • Current-main bug remains: Fetched main still unconditionally appends backup-restore guidance to Doctor's indeterminate-readiness report. (src/state/openclaw-database-preflight.messages.ts:66, c2549f8295d0)
  • Classification and guidance: The formatter checks the existing contention error for each database; shared-state and agent snapshot catches now retain the original error in the existing WeakMap. (src/state/openclaw-database-preflight.messages.ts:62, 30ec55aed9fd)
  • Production error boundary: The snapshot worker classifies source changes and SQLite locking as contention; its protocol reader reconstructs SqliteReadOnlyInspectionContentionError, which snapshot preparation preserves when cleanup succeeds. (src/infra/sqlite-readonly-worker-protocol.ts:229, 30ec55aed9fd)
  • Original recovery intent: Historical recovery work deliberately replaced another identical Doctor retry with manual recovery for unsupported state; this PR explains a narrow exception for typed snapshot contention while preserving that recovery guidance. (src/state/openclaw-database-preflight.ts, a1457127d365)
  • Regression coverage: Added tests exercise the readiness owner with injected snapshot failures for shared-state contention, ordinary failure, and mixed agent failures; none supplies shipped CLI execution evidence. (src/state/openclaw-database-preflight.schema-only.test.ts:33, 30ec55aed9fd)

Likely related people:

  • Peter Steinberger: Raw commit be36d55 adds src/state/openclaw-database-preflight.ts:86 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: be36d55a70a4; files: src/state/openclaw-database-preflight.ts)

PR surface

Source +15, Tests +58, Docs +6. Total +79 across 4 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 2 25 10 +15
Tests 1 58 0 +58
Docs 1 6 0 +6
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 89 10 +79

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #176750
Summary: This PR directly addresses the linked report's blanket restore guidance after retryable snapshot contention.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

  • add P2: Misleading recovery guidance creates avoidable operator work, while the existing readiness refusal remains intact.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Misleading recovery guidance creates avoidable operator work, while the existing readiness refusal remains intact.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 18, 2026, 10:01 PM ET / October 19, 2026, 02:01 UTC.

@steipete
steipete merged commit 2528311 into main Oct 19, 2026
146 of 148 checks passed
@steipete
steipete deleted the fix/doctor-retryable-snapshot-no-restore branch October 19, 2026 02:33
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 19, 2026
RomneyDa added a commit that referenced this pull request Oct 20, 2026
RomneyDa added a commit that referenced this pull request Oct 20, 2026
* test(discord): classify native registry cases as test support

Keep the backported native routing cases out of production dependency and database-worker inventories while retaining their focused coverage.

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

* chore(agents): shrink settings assertion baseline

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

* fix(agents): keep the poll vote echo matcher private (#168333)

#167979 moved the matcher's only production caller into suppressPollVoteEcho,
leaving isPollVoteEchoText exported solely for its unit test. The Knip
production unused-export scan rejects that export, so pnpm check:changed fails
on main for local and Testbox runs (GitHub Actions only reports it as advisory).

Make the matcher module-private and drive the unchanged matcher table through
the module's real public pair, recordPollVote -> suppressPollVoteEcho. No
production behavior change.

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

* test(cron): await archive RPC after cancellation

The PR-automation archive fixture treated the cron finished event as a
session-patch response receipt. Archiving cancels the occurrence from the
committed cron update while the archive RPC is still finishing, so the
response assertion raced that handler.

Capture and join the actual archive request before inspecting its response.
Hold the real cron update after commit to reproduce this ordering without
timers, while preserving every existing session identity, cancellation,
disabled-job and teardown assertion. Keep worker run rows and launch checks
unchanged.

The forced pre-fix control reproduced the hourly's zero-response failure
(1 failed, 2 passed). The fixed file passed all 3 cases: 100.79s Vitest,
105.94s wrapper with --maxWorkers=1; most elapsed time was compilation/import.
Cron test types, type-aware lint, boundary lint and formatting passed.
P2 autoreview is scoped-clean. Full cron-config proof passed: 1,961 tests
in 251 files, 1090.77s, one worker.

Focused command: pnpm test src/cron/service.pr-automation.test.ts --maxWorkers=1
Full config: node scripts/run-vitest.mjs run --config
test/vitest/vitest.cron.config.ts --maxWorkers=1

Refs: main CI run 38881317413, job 116908788842.
Co-authored-by: RomneyDa <[email protected]>

* fix(update): settle state writers before Doctor schema repair (#177844)

* fix(update): consume SQLite migration source once

* fix(update): retain captured source through Doctor preparation

* fix(update): settle state writers before Doctor schema repair

Drain prior canonical handles before private schema repair so their native-close receipts publish legitimate maintenance writes and release exclusive custody. Keep all migration attribution and strict source checks; remove the source-consumption workaround that lost later Doctor writes.

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

* fix(release): close required-backport compatibility gaps

Restore test-only transcript access, classify the extracted update helper as test support, retain the full PR-wrapper runtime closure, align native-bootstrap journal expectations, and point non-isolated fixtures at the extracted state owner.

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

* fix(cli): preserve JSON output when gateway commands exit (#176795)

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

* test(cli): preserve exit semantics in gateway harness

Construct the mocked runtime exit with the production ExitError so JSON completion remains distinguishable from ordinary command failures.

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

* test(agents): distinguish hidden recovery prompts from user turns

prompts as hidden internal_system user rows to preserve model-prefix
bytes. The finalization and cron fallback tests still counted those rows
as new user turns.

Require the expected hidden rows and their provenance, retain the single
visible original turn, and verify finalization does not hide the next real
user message. Keep receipt, attempt-count, provider-request, fallback-notice
and final-answer assertions intact. No production behavior changes.

Proof: both hourly failures reproduced on current main; all eight focused
cases pass with --maxWorkers=1, including runtime retry/cold-reopen coverage.
Agents and cron test typechecks, typed lint, boundary lint, formatting and
P2 autoreview pass.

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

* test(memory): join background dreaming cleanup at stop

Align the startup-admission proof with #169945: the gateway hook no longer blocks on historical cleanup, while service stop remains the deterministic settlement boundary.

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

* fix(cli): use typed exits for gateway JSON commands

Backport the narrow runtime exit contract required by #176795 without importing the full #168587 refactor, and keep the gateway harness mock non-throwing outside the explicit typed-exit proof.

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

* fix(update): restore initialization selector revalidation

Restore the selector fence omitted by the partial #168882 compatibility backport while keeping the core file within the release line count ratchet.

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

* test(agents): align recovery prompts with release behavior

Match the current finalization prompt text while retaining the release-line provider fallback contract of one visible cron user turn.

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

* fix(update): finalization ignores TMPDIR for disposable copies

Keep update inspection images and source captures on the candidate helper temporary volume without relocating native admissions or recovery backups.

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

* fix: native app messages fail after reconnecting

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

* test: prove native reconnect dispatch and stale-session policy

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

* fix(codex): previews block replies after context refresh

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

* fix(codex): preserve persistent policy checks during context refresh

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

* test(codex): narrow active binding before checking successor

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

* fix(ui): offer desktop setup instead of Retry when Host Desktop is off

- The chat Desktop panel asks environments.list for desktopSetup only when
  its unresolved automatic target is the Gateway host.
- The panel says desktop access is not enabled on the Gateway host and that
  it shares the Gateway host's screen, shows setup steps worded for the
  Gateway host plus account and network notes, and offers Enable desktop
  access when the connection can patch config (else the administrator
  hint) or Check again, then re-reads inventory and connects the Gateway
  desktop.
- Systems and the panel share the setup state selection and the
  desktop.host.enabled patch helper; other targets, document mode and a
  failed setup check keep desktop.sourceUnavailable.
- The setup helper declares its own runtime-config shape and imports
  nothing from desktop-panel-inputs.ts, so the type import runs one way.
- Docs mention the chat panel path.

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

* test(ui): adapt Host Desktop setup proof to Lit

Use the release-line i18n registry, shadow-root assertions, and Lit settlement instead of the upstream Solid-only test helpers.

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

* fix(release): repair merged validation fixtures

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

* refactor(release): close candidate source ratchets

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

* test(update): restore safe managed handoff fixtures

Complete the #168722 fixture integration omitted by the release backport.

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

* test(release): drop incompatible question cleanup

The release snapshot does not retain the mainline sharing-read owner introduced after this branch point.

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

* test(codex): adapt recovery fixture to release helper

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

* refactor(cli): simplify update and offline repair bookkeeping

Use the rehearsed configuration during update activation instead of looping
through candidate checks after late config edits. Rely on the sequential node
auto-update caller and Doctor's exclusive maintenance ownership for internal
pause and title bookkeeping. Preserve validation, schema, authorization,
service-publication, privacy and work-settlement boundaries.

Best-effort tradeoffs accepted:
- Late root/include edits no longer restart rehearsal (b36eb3e's injected
  save cases); incompatible edits can require correction or Doctor/restart.
- Unsupported overlapping pause/resume calls do not retain distinct tokens
  (#149517); the production auto-update loop awaits each pause before resume.
- Concurrent foreground title changes during offline Doctor are unsupported
  (#151211); existing names/incognito sessions and live commit authority stay.

Remove 76 net production lines and 292 test lines. Focused proof covers 177
supported node/update/Doctor cases; core types, both zero-cycle checks, typed
lint, formatting and independent P2 review pass. The lint-suppression test has
an inherited allowlist mismatch already fixed on main in dab6a8d. Full
changed-check and release-matrix proof are not claimed for this branch-only
below-500 simplification.

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

* refactor(cli): simplify update and worker lifecycle guards

Carry admitted snapshots through updates and retain live authority at effects. Remove speculative observation, generation, and bookkeeping machinery while preserving rollback, native settlement, bounded resources, and public interfaces.

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

* test(cli): align Windows probes with single service inspection

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

* test(cli): retire remaining synthetic completion checks

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

* fix(cli): preserve shutdown and update fixture contracts

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

* fix(cli): preserve full config read failures

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

* test: retire obsolete command revalidation scenarios

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

* test: revoke publication authority after confirmed service stop

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

* test(cli): align progress fixtures with simplified ownership

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

* fix(plugins): retain Windows dependency links across Doctor phases

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

* fix(update): guide Windows task disable permission failures

Refs #170956 (finding 3). Preserve the autostart disable guard while reporting definite access denials with elevation and manual-update guidance, without attempting an unnecessary enable.

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

* fix(doctor): suggest retry after snapshot contention

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

* fix: Windows backup scratch cleanup fails with EPERM

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

* fix(update): recognize Dutch Scheduled Task access denial

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

* fix(release): retain native lifecycle dependencies

Adapt required PR #168882 to the 2026.10.6 architecture without importing unrelated mainline dependency trees.

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

* fix(release): preserve initialization revalidation

Retain the later release-specific selector fence while adapting required PR #168882.

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

* test(release): adapt Doctor contention fixture

Exercise the required #176779 guidance through the 2026.10.6 database admission interface.

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

* test(release): shrink mock export baseline

Remove the obsolete plugin lifecycle config mock exception eliminated by required PR #168882.

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

* fix(release): adapt lifecycle refactor interfaces

Preserve required PR #168882 while retaining the 2026.10.6 progress, child-binding, and Doctor convergence contracts.

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

* test(release): adapt simplified update lifecycle

Keep the required #168882 validation coverage while retaining the 2026.10.6 sidecar catalog and update-run fixture contracts.

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

* test(release): drop unsupported settle-window fixture

Remove the #178170 test-only import that depends on #172069 settlement timing, which is not part of the 2026.10.6 release architecture.

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

* fix(release): close expanded candidate lint

Remove stale and redundant constructs while restoring the two pre-existing max-lines suppressions accidentally dropped by the earlier repair commit.

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

* refactor(release): split oversized candidate files

Split the BTW runtime helpers and Doctor memory-auth scenarios so the required backports satisfy the source-size ratchet without adding suppressions. Consolidate the duplicated Docker activation marker spelling to close inherited environment-inventory drift.

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

* test(release): document split isolation boundaries

Document the intentionally closed Doctor mocks and runtime transcript assertions introduced by the validation-safe file split, and prune the repaired assertion baseline entry.

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

* style(release): format validation runner changes

Apply the repository formatter to the backported test runner and workflow guard updates.

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

* fix(cli): preserve typed exits after output drain

Catch the default runtime's typed ExitError inside the legacy output-drain callback and retain its process status. This keeps the V8-safe typed exit contract while preventing successful help renders from surfacing as uncaught failures.

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

* perf(ui): defer page-only English copy from startup

Adapt upstream PR #178054 to the release branch after the TypeScript page migration.

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

* chore(ui): refresh Host Desktop locales

Adapt upstream locale refresh PR #178236 to the 20-locale release catalog.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

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

* fix(ui): register lazy secret copy at view boundary

Keep direct page rendering self-contained and retain the current plugin catalog anchor type.

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

* docs(changelog): refresh 2026.10.6 contribution record

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

* fix(windows): recognize task permission denials in every locale (#178624)

(cherry picked from commit 00cb4b3)

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

* docs(changelog): record Windows locale recovery backport

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

* fix(apple): Shared OpenClawKit Periphery fails on every OpenClawKit PR (#168171)

The reconnect-backoff hooks added in #168024 lived in OpenClawKit
Sources but were called only from OpenClawKitTests. The shared
Periphery workflow scans the iOS and macOS consumer indexes, and
neither builds OpenClawKitTests, so both reported
_test_setReconnectBackoffMs(_:) and _test_reconnectBackoffMs() as
unused and the intersection failed on every PR touching the kit.

Move the setter into the test file's existing @testable fileprivate
GatewayChannelActor extension, beside seedPathRecoveryConnectBackoff,
and read the internal backoffMs directly. The remaining _test_ hooks
stay because the macOS OpenClawIPCTests call them.

Proof: swift test --filter GatewayNetworkPath (10 tests in 2 suites,
including the reset-both-backoffs case) passes; SwiftFormat clean.

(cherry picked from commit 46d5488)

* chore(ui): move Host Desktop locale refresh out of source PR

This reverts commit f777409.
CI preflight requires generated Control UI locale artifacts to land
isolated from source changes; the refresh lands on the release branch
as its own generated-only commit after this PR merges.

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: Jacqueline Henriksen <[email protected]>
Co-authored-by: Mitchell Etzel <[email protected]>
Co-authored-by: n572770 <[email protected]>
Co-authored-by: xuzhijun <[email protected]>
Co-authored-by: openclaw-mantis[bot] <281431406+openclaw-mantis[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: S 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.

[Bug]: Doctor instructs a database restore after a retryable snapshot inspection failure

1 participant