Skip to content

fix(sessions): prevent database lock failures during reclamation - #139469

Merged
steipete merged 2 commits into
mainfrom
codex/team-reclamation-lock-cycle
Sep 6, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/team-reclamation-lock-cycle

Conversation

@steipete

@steipete steipete commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Fixes an issue where concurrent Gateway runs fail with database is locked while session reclamation is committing. This was reported on the Team Gateway and reproduced with two synchronous transcript writers against an isolated SQLite store.

The reclamation worker holds BEGIN IMMEDIATE and waits for the parent's commit-authorization message handler. A synchronous transcript append on the parent waits in SQLite's native busy handler for that same writer lock, preventing the authorization handler from running. The existing settlement barrier cannot satisfy that event-loop dependency.

Solution

Keep archive preparation, deletion, and COMMIT on the worker. Publish a distinct authorization-requested state in the existing shared memory. While reclamation is active, synchronous transcript writers use short admission attempts and service that pending request with the existing authority validator before retrying admission. The same admission path covers synchronous transcript replacement and compaction. Once the write transaction begins, its original busy timeout and diagnostics are restored; append callbacks and mutations are never replayed.

Reclamation performs a PASSIVE checkpoint and caps incremental vacuum at 512 pages per pass. Before pruning retained archives, the disk-budget owner drains its initially observed free pages in bounded units, yielding between them and reacquiring the connection after each yield. It retains physical checkpointing before pressure measurements so pending free pages do not cause unnecessary archive deletion. Duplicate history-deletion and initial sweep logic is consolidated while retaining existing snapshot and retention checks.

Design

The parent registers an operation-scoped authorization service before starting the worker and removes it after the worker settles. The service captures the reclamation owner's async context: the admission checks depend on that context to distinguish the owner's own work from competing admissions. The synchronous append invokes the same live authority checks in that captured context, then grants or rejects the shared request.

There is no parent event-loop dependency between authorization and worker COMMIT. The existing synchronous settlement join remains: after granting approval, the parent must not allow queued owner retirement before COMMIT, rollback, or connection-close settlement, including abrupt worker exit. A later queued request returns the already recorded result or failure, so it cannot authorize twice. Authorization rejection belongs to reclamation; unrelated transcript writers can continue after rollback.

The budget drain is limited to its initial freelist, stops when SQLite makes no progress, and never holds a transaction across a yield. Budget measurements retain TRUNCATE checkpointing because PASSIVE alone leaves WAL allocation counted as disk pressure. Archive pruning starts only after this physical reclamation step; the existing archive-selection and retention rules are unchanged.

The original append admission deadline is checked before and after servicing. An already-consumed authorization still requires the safety join, which cannot be abandoned at that deadline. PASSIVE avoids waiting for readers but does not cap the number of WAL frames copied.

This cooperative design and the production LOC exception were explicitly approved by the maintainer on September 5, 2026.

Impact

This fixes a reproduced production deadlock associated with Team Gateway runs failing with database is locked. The approved net +85 production lines implement the cooperative commit-authorization protocol: shared request publication, idempotent servicing from the parent's synchronous append path, and short admission attempts. They replace an event-loop dependency the old barrier could never satisfy; the settlement barrier itself remains for fencing.

Deletion atomicity, visibility, rollback, fencing, and thread ownership are unchanged. There is no schema change, configuration option, retention change, or dependency addition. Incremental vacuum work is now capped at 512 pages per pass. Nearby duplicate deletion and initial pressure-sweep logic offsets part of the additional protocol and bounded-drain code.

Deltas against task base 74b764e81d4b:

  • Production: +209 −124 (net +85); explicitly approved exception.
  • Tests: +309 −82 (net +227), including the new owner-boundary regression.
  • Documentation: +20 −0.

Evidence

Failing-first: restored the candidate regression in the session-accessor suite, adjusted the schedule so both synchronous append calls run while the actual worker holds the write lock and awaits authorization, and ran it against unchanged production at the task base:

node scripts/run-vitest.mjs src/config/sessions/session-accessor.sqlite-reclamation.test.ts

SQLite session reclamation commit checkpoint expired
expected 2051 to be less than or equal to 512
Test Files  1 failed (1)
     Tests  2 failed (2)

Initial focused proof, before extending replacement coverage:

OPENCLAW_TEST_RECLAMATION_LOG=1 node scripts/run-vitest.mjs src/config/sessions/session-accessor.sqlite-reclamation.test.ts src/config/sessions/session-accessor.sqlite-reclamation-commit.test.ts src/config/sessions/session-accessor.sqlite-reclamation-admission-race.test.ts src/config/sessions/session-accessor.sqlite-deletion.test.ts src/config/sessions/session-accessor.sqlite-cleanup-reclamation.test.ts src/config/sessions/cleanup-service.fix-missing.test.ts src/infra/sqlite-busy-timeout.test.ts

Test Files  1 passed (1)
     Tests  7 passed (7)
Test Files  6 passed (6)
     Tests  55 passed (55)
[test] passed 2 Vitest shards

The additional synchronous replacement variant also failed with checkpoint expiry before its one-line admission fix. Both cooperative authorization outcomes (grant/rejection), owner-context preservation, abrupt worker exits, barrier failures, native rollback, admission races, and bounded real-page reclamation pass. The existing 100,000-event cleanup recorded a maximum heartbeat gap of 201.23 ms, below its 500 ms requirement.

Broader owner proof on the initial PR head, before the retention follow-up:

OPENCLAW_VITEST_FS_MODULE_CACHE_PATH=.artifacts/vitest-fs-cooperative-full OPENCLAW_TEST_RECLAMATION_LOG=1 node scripts/run-vitest.mjs src/config/sessions src/state src/agents/sessions

Tests  864 passed | 6 skipped
Tests  1518 passed
Tests  684 passed | 3 skipped
[test] passed 3 Vitest shards in 798.79s

Total: 3,066 passed, 9 skipped, across 230 passing files and 2 skipped files. The final 100,000-event cleanup measured 200.66 ms maximum heartbeat gap. The final Codex autoreview is scoped-clean through P2. The initial changed-file gate found an authorizer export that had become test-only; it is now private, and the existing settlement/fault tests exercise the production authorization wrapper instead.

The final five-case reclamation regression also passed after a fixture-only lint cleanup.

A review found that simply capping the worker's vacuum could cause disk-budget pruning to destroy a still-retainable compressed archive. The extended existing budget regression reproduced this on the initial PR head: an 8 MiB compressible history needing 4 MiB of reclamation lost the archive (expected length 1, received 0). The corrected budget ordering retained it. A separate extension of the real-page test failed on the old budget helper (1539 pages reclaimed before the first yield exceeded 512), then passed with the bounded drain, including two synchronous writer appends and cache close/reopen across a yield. The retention and neighboring suites passed 33 tests; the bounded-drain and budget suites passed 24 tests. The follow-up broad rerun encountered an unchanged shared-state heartbeat startup failure: state lease heartbeat did not become ready under its one-second lease. It occurred before the maintenance callback ran; the worker, lease owner, test, and busy-timeout helper are byte-identical to the initial green CI head. Replaying the entire unchanged heartbeat file reproduced that one failure with ten passes under high host load. No timeout or assertion was changed. The session and agent-session portions were run separately:

OPENCLAW_VITEST_FS_MODULE_CACHE_PATH=.artifacts/vitest-fs-cooperative-retention-remaining OPENCLAW_TEST_RECLAMATION_LOG=1 node scripts/run-vitest.mjs src/config/sessions src/agents/sessions
Tests  1519 passed
Tests  684 passed | 3 skipped
[test] passed 2 Vitest shards in 495.87s

That is 2,203 passed, 3 skipped on the retention-safe candidate. Its 100,000-event cleanup measured 115.50 ms maximum heartbeat gap. The follow-up autoreview is scoped-clean through P2. node scripts/check-changed.mjs completed successfully again (exit 0), and git diff --check passed. node scripts/check-changed.mjs completed successfully (exit 0), including core/test typechecks, core lint, dead-export scans, database guards, and zero runtime import cycles. git diff --check passed. No Swift app lint lane was selected. No live Team validation was attempted; the coordinator owns that proof after landing. No UI changed.

CI status: blocked by an unrelated main-branch test

Exact-head CI for 4d345bcc69b14443c6a8b27a97d7af8308de329c completed with failure because of src/agents/embedded-agent-runner/run/assistant-failure.test.ts:273:

The assertion was added by #139409, commit c91b1eaab768dd8223a6176c1a24decf98ee1b9c. It is already present in CI's base 0cebe40cf7cb939da0c5722a990eb10522d27d5a; CI checked out merge f758ddd9 for this head. This PR does not modify that file. The aggregate openclaw/ci-gate also failed. The final observed check rollup was 130 passed, 51 skipped, 3 failed, with none pending. The failure needs an upstream repair and a fresh CI run; it is not being folded into this storage change. ClawSweeper reviewed corrected head 4d345bcc69b14443c6a8b27a97d7af8308de329c with no actionable findings and explicitly cleared the earlier archive-retention blocker.

Deferred

Durable logical deletion with resumable, bounded physical cleanup remains a separate approval for deletion latency. This fix preserves the existing atomic deletion units; it does not claim a hard bound on cascading deletion cost.

Release-note: Fix transcript writes failing with database lock errors during concurrent session reclamation, and cap incremental vacuum work per pass.

@clawsweeper

clawsweeper Bot commented Sep 5, 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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: L maintainer Maintainer-authored PR labels Sep 5, 2026
@steipete
steipete marked this pull request as ready for review September 5, 2026 22:36
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. 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. labels Sep 5, 2026
@clawsweeper

clawsweeper Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 5, 2026, 9:13 PM ET / September 6, 2026, 01:13 UTC.

ClawSweeper review

What this changes

Lets synchronous transcript writes service cleanup authorization during lock contention and reclaims free space before pruning retained session archives.

Merge readiness

✅ Ready for maintainer review

This remains a useful fix for a source-confirmed lock cycle. The earlier archive-retention blocker is resolved, and no actionable introduced defect was found.

Priority: P1
Reviewed head: 8d9a0748f6ba99f1244166e67b7c58cb3c574235

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused owner-level repair with meaningful regression coverage and the prior retention defect corrected.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied MEMBER association exempts this internal repair from external-contributor proof. Inspected worker/SQLite coverage supports contention recovery, rejection, and settlement; no unresolved authority bypass was found that requires additional final-effect proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied MEMBER association exempts this internal repair from external-contributor proof. Inspected worker/SQLite coverage supports contention recovery, rejection, and settlement; no unresolved authority bypass was found that requires additional final-effect proof.
Evidence reviewed 10 items Verified review scope: The checkout matches the pinned original head. Raw test-merge parents are the pinned base followed by that exact head, and its comparison with the base contains the same eleven introduced paths.
Current main still needs the repair: The fetched main still calls the ordinary synchronous writer directly. Its reclamation worker waits for parent authorization without the cooperative service, preserving the reported lock/event-loop dependency.
Latest-release comparison: Inspection of the supplied v2026.9.2 release commit also found the older WAITING-based authorization implementation without cooperative servicing; the proposed repair is not established as shipped.
Findings None None.
Security None None.

How this fits together

OpenClaw stores session transcripts in per-agent SQLite databases. Cleanup workers archive and delete session data while foreground runs write transcripts to the same database.

flowchart TD
  A[Foreground transcript writes] --> B[Short lock admission attempts]
  C[Session cleanup worker] --> D[Pending commit request]
  B --> D
  D --> E[Current cleanup owner check]
  E --> F[Commit or rollback and settlement]
  F --> B
  F --> G[Reclaim free pages]
  G --> H[Measure pressure before archive pruning]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +85, Tests +227, Docs +20. Total +332 across 11 files.

View PR surface stats
Area Files Added Removed Net
Source 6 209 124 +85
Tests 4 309 82 +227
Docs 1 20 0 +20
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 11 538 206 +332

Review metrics

Metric Value Why it matters
Production and regression coverage Production net +85 lines; tests net +227 lines The body explicitly justifies the production growth for cooperative authorization and bounded reclamation, with regressions covering lock contention and archive retention.

Technical review

Best possible solution:

Preserve cooperative write admission, live cleanup fencing, atomic deletion, and physical space reclamation before archive pruning.

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

Yes, from source: a synchronous transcript writer can block the parent event loop while the cleanup worker holds the write lock and awaits that parent's authorization. The body supplies a failing-first reproduction; this review did not execute it.

Is this the best way to solve the issue?

Yes. Retrying only lock admission breaks the dependency without replaying mutations, while the corrected budget ordering preserves retained archives.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P1: The reported production lock cycle interrupts concurrent Gateway runs while their transcripts are being persisted.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied MEMBER association exempts this internal repair from external-contributor proof. Inspected worker/SQLite coverage supports contention recovery, rejection, and settlement; no unresolved authority bypass was found that requires additional final-effect proof.

Evidence

What I checked:

  • Verified review scope: The checkout matches the pinned original head. Raw test-merge parents are the pinned base followed by that exact head, and its comparison with the base contains the same eleven introduced paths. (38f696b18e71)
  • Current main still needs the repair: The fetched main still calls the ordinary synchronous writer directly. Its reclamation worker waits for parent authorization without the cooperative service, preserving the reported lock/event-loop dependency. (src/config/sessions/session-accessor.sqlite-transcript-write.ts:329, 4d8398494f8e)
  • Latest-release comparison: Inspection of the supplied v2026.9.2 release commit also found the older WAITING-based authorization implementation without cooperative servicing; the proposed repair is not established as shipped. (src/config/sessions/session-accessor.sqlite-reclamation-commit.ts:23, 3928bad9badf)
  • Admission-only retry and current authority: The wrapper captures the cleanup owner's context, invokes its live validator, records authorization once, and retains synchronous settlement. The entered flag prevents replay after the transaction callback starts; transcript callers retain their separate writer-ownership checks. (src/config/sessions/session-accessor.sqlite-reclamation-commit.ts:86, 8d9a0748f6ba)
  • Earlier retention finding remains resolved: Archive pruning awaits physical reclamation before measuring pressure. The drain processes at most 512 pages per unit, yields without an open transaction, and reacquires the connection. The expanded budget regression asserts that an 8 MiB compressible history retains its archive while reclaiming 4 MiB. (src/config/sessions/session-history-archive-pruning.ts:171, 8d9a0748f6ba)
  • Boundary validation and limitations: The complete supplied body reports failing-first lock-cycle and retention regressions, followed by passing focused and broader suites. Inspected tests exercise actual workers and SQLite, approval/rejection, owner-context preservation, rollback, abrupt exits, and connection reopening. These commands were not rerun during this read-only review; the body explicitly reports no live Team validation. (src/config/sessions/session-accessor.sqlite-reclamation.test.ts:69, 8d9a0748f6ba)

Likely related people:

  • Peter Steinberger: Raw commit 3df4930 adds src/config/sessions/session-accessor.sqlite-reclamation-commit.ts:60 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3df493034d98; files: src/config/sessions/session-accessor.sqlite-reclamation-commit.ts)
  • Heming Zeng: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (5 earlier review cycles)
  • reviewed 2026-09-05T22:43:17.912Z sha 7188b5a :: blocked before merge. :: [P1] Reclaim available space before pruning retained archives
  • reviewed 2026-09-05T22:59:25.351Z sha 7188b5a :: blocked before merge. :: [P1] Reclaim available space before pruning retained archives
  • reviewed 2026-09-05T23:28:02.115Z sha 4d345bc :: needs maintainer review before merge. :: none
  • reviewed 2026-09-05T23:36:57.658Z sha 4d345bc :: needs maintainer review before merge. :: none
  • reviewed 2026-09-05T23:43:21.266Z sha 4d345bc :: needs maintainer review before merge. :: none

@steipete
steipete marked this pull request as draft September 5, 2026 22:53
@steipete
steipete marked this pull request as ready for review September 5, 2026 23:22
@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: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 5, 2026
@steipete
steipete force-pushed the codex/team-reclamation-lock-cycle branch from 4d345bc to 8d9a074 Compare September 6, 2026 01:07
@steipete
steipete merged commit 4f1bfca into main Sep 6, 2026
175 checks passed
@steipete
steipete deleted the codex/team-reclamation-lock-cycle branch September 6, 2026 01:54
@steipete

steipete commented Sep 6, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 6, 2026
* origin/main:
  fix(cli): keep note text with Windows and Unicode line endings (#139512)
  fix(agents): keep isolated completion context on its admitted generation (#139607)
  fix: avoid declaration builds during source-server updates (#139392)
  fix(models): keep discovered models after catalog refresh failures (#139357)
  fix(gateway): record a transcript notice when a run fails before replying (#139439)
  refactor(ios): reuse shared integer conversion (#139581)
  fix(sessions): prevent database lock failures during reclamation (#139469)
  perf(test): reuse transforms within owned scheduler slots (#139553)
  test(agents): share sparse transcript input fixtures (#139589)
  chore(ui): refresh control ui locales (#139481)
  fix(slack): keep prototype-named emoji shortcodes intact (#136374)
  fix(gateway): deliver upgrade rejection responses under Bun (#139516)
  refactor(test): simplify catalog guards and fix native report fixture (#139496)
  fix(macos): prevent dashboard fixture loopback timeouts (#139556)
  fix(matrix): preserve selected reply targets inside threads (#139479)
vincentkoc added a commit to ylcn91/openclaw that referenced this pull request Sep 6, 2026
* commit '6c55a99226ed0611ca088004c81b00fb296f1f71': (182 commits)
  test(ui): scope dashboard settings setup to the top frame (openclaw#139618)
  refactor(skills): share pending proposal creation (openclaw#139617)
  fix(release): accept frozen targets before worker bundles (openclaw#136699)
  fix(gateway): preserve percent sequences in media filenames (openclaw#139508)
  fix: preserve current update availability alongside update history (openclaw#139501)
  feat(diagnostics): expose garbage collection duration metrics (openclaw#139592)
  fix(ui): keep Logbook timestamps clear of the activity stripe (openclaw#139539)
  fix(ui): keep Swarm outcomes visible after completion (openclaw#139490)
  test: check file accessibility without runtime-specific return values (openclaw#139590)
  refactor(sdk): keep helper types private (openclaw#139601)
  fix(cron): preserve current-session delivery intent (openclaw#139491)
  fix: prevent browser profile permission hangs in Doctor (openclaw#139612)
  fix(agents): repair storage-failure test fixture after failover owner move (openclaw#139531)
  fix(cli): keep note text with Windows and Unicode line endings (openclaw#139512)
  fix(agents): keep isolated completion context on its admitted generation (openclaw#139607)
  fix: avoid declaration builds during source-server updates (openclaw#139392)
  fix(models): keep discovered models after catalog refresh failures (openclaw#139357)
  fix(gateway): record a transcript notice when a run fails before replying (openclaw#139439)
  refactor(ios): reuse shared integer conversion (openclaw#139581)
  fix(sessions): prevent database lock failures during reclamation (openclaw#139469)
  ...
vincentkoc added a commit that referenced this pull request Sep 6, 2026
* commit 'refs/openclaw/tasks/pr-135167-main': (2467 commits)
  refactor(ios): reuse shared integer conversion (#139581)
  fix(sessions): prevent database lock failures during reclamation (#139469)
  perf(test): reuse transforms within owned scheduler slots (#139553)
  test(agents): share sparse transcript input fixtures (#139589)
  chore(ui): refresh control ui locales (#139481)
  fix(slack): keep prototype-named emoji shortcodes intact (#136374)
  fix(gateway): deliver upgrade rejection responses under Bun (#139516)
  refactor(test): simplify catalog guards and fix native report fixture (#139496)
  fix(macos): prevent dashboard fixture loopback timeouts (#139556)
  fix(matrix): preserve selected reply targets inside threads (#139479)
  test(gateway): preserve held-work close failures (#139593)
  refactor(exec): share package argument scanning (#139560)
  fix(audit): preserve sequence range validation before numeric decoding (#139587)
  fix(transcripts): retain capture ownership through failed cleanup (#139572)
  refactor(models): share selector reference traversal (#139571)
  perf(agents): classify allowlists without intermediate sets (#138392)
  chore(release): update appcast for 2026.9.2 (#139575)
  fix(ci): synchronize cloud retries and board widget input (#139506)
  fix(plugins): explain SDK incompatibilities after core updates (#139458)
  fix(voice-call): retain installed WebSocket behavior under Bun (#139567)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 6, 2026
…nclaw#139469)

* fix(sessions): prevent database lock failures during reclamation

* fix(sessions): reclaim free pages before pruning archives
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 maintainer Maintainer-authored PR P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: L 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