Repository navigation
fix(sqlite): avoid cold-open waits when borrowing published actors - #173040
Merged
vincentkoc merged 2 commits intoOct 15, 2026
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
vincentkoc
marked this pull request as ready for review
October 15, 2026 10:39
vincentkoc
deleted the
fix/control-ui-owner-followup-20261015-01a13605
branch
October 15, 2026 11:11
Member
Author
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 16, 2026
…penclaw#173040) * test(sqlite): reproduce warm handle admission blocking * fix(sqlite): bypass cold admission for published actors
This was referenced Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Borrowing an already-open SQLite database waits behind the broker's global cold-open queue. If an unrelated cold open is awaiting its worker reply, an otherwise healthy published actor cannot accept a new client.
User Impact
Reusing a healthy SQLite actor no longer waits for unrelated cold-open replies. Unknown or unavailable actors still use serialized identity admission; capacity limits, cancellation, authority checks, and cleanup remain enforced.
Why This Change Was Made
The broker now recognizes a published, unsealed client for the requested path, revalidates physical identity and actor availability after asynchronous preparation, and attaches to that actor without entering cold admission. A stale candidate falls back to normal admission. Both paths retain input and client reservations and join the same shutdown drainage.
Evidence
33488188fcab94359d61e6b96b11b6ac0b91ddee.a8d36f46b9e260dd863b66b9f7e8c818ddf32df4.99ac112c3e1289d9dcb1175619ddd86c6ea15937was an unmeasured synthetic investigation, not a merge candidate. That diagnostic-only commit must never merge on its own.oxfmt0.72.0 andgit diff --checkpassed.borrowAndWriteMs: 3.517348000000311,coldReplyHeld: true. The test passed in 803 ms; all 16 broker tests passed, file duration 11.97 seconds, scoped-wrapper wall time 13.52 seconds. Actor continuity and continued original-client use passed before the cold reply was released.session-management.sidebar.e2e.test.ts/nests spawned sessions(personal pin false and true), expected 4 child rows to be 0. Both fail identically in scheduled main CI; the tested merge retains the baseline parent's entireuitree. The automated job-name classifier reports unknown; the direct test comparison above supplies the attribution. The native inherited-failure exception is used; CI is not represented as green.All inputs are synthetic. This reproduces a source-level admission blockage; it does not attribute production latency tails. No schema, protocol, dependency, or configuration changes.