openclaw/docs/reference
Peter Steinberger 497d4ff3d2
fix(state): reclaim interrupted SQLite staging copies (#150816)
Interrupted Gateway startup, update inspection, and CLI reads could leave large private SQLite staging copies behind. Reclaim abandoned copies through the existing snapshot lifecycle owner while preserving live readers, recent legacy copies, canonical databases, and backups.

Use SQLite lifetime tokens and parent admission to coordinate nested workers. Commit retirement before closing handles and removing data; retain control files until copied data is removed. Recognize released updater layouts and retain the 24-hour legacy age threshold. Cleanup failures remain warnings.

Run asynchronous reclamation in the existing SQLite worker. Callers can cancel independently without terminating a surviving caller's shared pass. When the last caller leaves, settle the current directory before stopping, and let later allocation recover the remaining backlog. Drain snapshot workers before shutdown cleanup.

Validation: exact-head CI run 35266032454 passed with zero pending checks on ab8037229203cc8a42735263637245f09477f2aa. Recorded focused proof passed 203 SQLite tests with one platform skip and 31 Gateway lifecycle tests. Published OpenClaw 2026.9.4 worker proof preserved fresh interrupted copies, reclaimed 202,375,168 aged bytes, and left source bytes unchanged. Review r4 was scoped-clean at P0/P1; the exact-head ClawSweeper review reported no actionable findings or before-merge moves.

Windows CI covers released-layout removal, independent cancellation, and directory-boundary settlement. Native Windows signal interruption and late-worker races remain a documented coverage gap.

Closes #149978. Related: #150091. Thanks to @vyctorbrzezowski, @Glucksberg, and @stwhwing for the production reproductions.
2026-09-17 13:19:48 -07:00
..
database-schemas fix(state): reclaim interrupted SQLite staging copies (#150816) 2026-09-17 13:19:48 -07:00
full-release-validation fix(release): retry failed npm qualification without restarting validation (#150991) 2026-09-17 11:03:08 -07:00
session-management-compaction fix(sessions): isolate fresh creation from archive retries (#148958) 2026-09-17 08:24:45 -07:00
templates feat(onboarding): offer four avatar choices during hatching (#146669) 2026-09-12 19:58:12 -07:00
test fix(test): redact credentials from Vitest failure reports (#150983) 2026-09-17 10:32:29 -07:00
AGENTS.default.md docs: fix verified accuracy findings in channels, cli, nodes, and reference (#143950) 2026-09-10 18:58:15 +08:00
api-usage-costs.md docs: fix verified accuracy findings in channels, cli, nodes, and reference (#143950) 2026-09-10 18:58:15 +08:00
credits.md docs: fix and reciprocate cross-page links across install, help, reference, start, and web (#143773) 2026-09-10 15:35:25 +09:00
database-schemas.md docs: fix 20 link defects confirmed live in the verified backlog (#144133) 2026-09-11 03:48:10 +08:00
device-models.md feat(ios): render Mermaid diagrams in native chat (#135470) 2026-09-01 17:42:01 -07:00
full-release-validation.md docs(reference): split the full release validation guide by reader job (#142774) 2026-09-09 10:18:22 +08:00
memory-config.md fix(memory): honor bootstrap budget during promotion (#142545) 2026-09-13 18:42:01 -07:00
openclaw-ai.md perf: narrow model fetch diagnostic imports (#141488) 2026-09-07 12:59:58 -07:00
prompt-caching.md fix(agents): attribute prompt-cache drops to system prompt suffix churn (#150547) 2026-09-17 08:02:15 -07:00
pull-request-review-flow.md ci: acknowledge pull request receipts in clawsweeper dispatch (#120934) 2026-08-09 00:15:08 -07:00
release-performance-sweep.md build(deps): remove npm shrinkwrap; mirror pnpm lock into transient package locks (#114006) 2026-07-26 01:29:55 -04:00
RELEASING.md fix(release): keep complete SDK reports within artifact limits (#150273) 2026-09-16 13:25:39 -07:00
rich-output-protocol.md fix(media): preserve signed generation URLs across delivery retries (#118830) 2026-09-17 07:57:33 -07:00
rpc.md feat(channels): add channel-owned setup contracts (#112176) 2026-07-22 19:57:42 -04:00
secret-placeholder-conventions.md docs: rewrite published docs grounded in current source (#100142) 2026-07-05 00:32:47 -04:00
secretref-credential-surface.md docs: close the small audit categories (generated, governance, link, split) (#144029) 2026-09-10 21:52:03 +08:00
secretref-user-supplied-credentials-matrix.json feat: add Team Reports plugin for GitHub and Discord activity reports (#139850) 2026-09-06 23:15:10 -07:00
session-management-compaction.md docs(reference): split the session management deep dive by reader job (#143082) 2026-09-09 21:03:41 +09:00
test.md docs(reference): split the testing reference by reader job (#141221) 2026-09-09 02:15:05 +08:00
token-use.md fix(usage): refresh model prices after catalog writes (#146113) 2026-09-12 09:40:57 -07:00
transcript-hygiene.md feat: refresh plugin tools within active agent conversations (#145648) 2026-09-12 03:53:24 -07:00