Repository navigation
fix: accept first chat while the model catalog loads - #201127
Merged
Merged
Conversation
Prepare configured-owner storage before publication so independent catalog persistence cannot invalidate captured first-chat facts. Preserve read-only admission and isolate lifecycle-only fixtures from persistence. Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 1aa06656-e8e7-4f6d-8b15-8926f6f1acae
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
RomneyDa
marked this pull request as ready for review
November 18, 2026 10:05
RomneyDa
enabled auto-merge (squash)
November 18, 2026 10:10
RomneyDa
disabled auto-merge
November 18, 2026 10:17
Initialize the isolated empty auth store before injecting its runtime snapshot so early database preparation does not correctly invalidate unproven first-file state. Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: ac4fbefa-cfe9-438b-8cb9-ae11a7923cea
Member
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 19, 2026
* fix: accept first chat while the model catalog loads Prepare configured-owner storage before publication so independent catalog persistence cannot invalidate captured first-chat facts. Preserve read-only admission and isolate lifecycle-only fixtures from persistence. Co-authored-by: RomneyDa <[email protected]> * fix: accept first chat while the model catalog loads OpenClaw-Publication: 1aa06656-e8e7-4f6d-8b15-8926f6f1acae * test: persist auth source before catalog retirement fixture Initialize the isolated empty auth store before injecting its runtime snapshot so early database preparation does not correctly invalidate unproven first-file state. Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/land-message-buffer-fix OpenClaw-Publication: ac4fbefa-cfe9-438b-8cb9-ae11a7923cea --------- Co-authored-by: RomneyDa <[email protected]>
RomneyDa
added a commit
that referenced
this pull request
Nov 19, 2026
* fix: accept first chat while the model catalog loads Prepare configured-owner storage before publication so independent catalog persistence cannot invalidate captured first-chat facts. Preserve read-only admission and isolate lifecycle-only fixtures from persistence. Co-authored-by: RomneyDa <[email protected]> * fix: accept first chat while the model catalog loads OpenClaw-Publication: 1aa06656-e8e7-4f6d-8b15-8926f6f1acae * test: persist auth source before catalog retirement fixture Initialize the isolated empty auth store before injecting its runtime snapshot so early database preparation does not correctly invalidate unproven first-file state. Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/land-message-buffer-fix OpenClaw-Publication: ac4fbefa-cfe9-438b-8cb9-ae11a7923cea --------- Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 8c4fcb8) Release adaptation: Move source fixture setup into the baseline relocated scope integration test; no test duplication.: Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit c618a1f5966a34f5cc4cee65981c76c4d75d4356)
tideclaw-bot
added a commit
that referenced
this pull request
Nov 24, 2026
Baseline adaptation: Prepare configured writable agent storage before the catalog owner is visible; the pinned native execution owner supplies its captured creation reference and startup read-only owners retain read-only custody. (cherry picked from commit 8c4fcb8) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 98f2d7b31fa7ece0055636b07214110fc8f3a078)
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
The first message in a fresh chat can fail with an unavailable session-facts error when background model discovery creates the agent database between capturing and consuming the message's initial facts.
User Impact
User impact: the first chat message, including captions and attachments, can be accepted reliably while the model catalog is still loading. No configuration or migration is required.
Why This Change Was Made
Prepare the agent database through its existing execution owner before publishing a configured model owner that may start catalog discovery. Read-only and refused write admission remain unchanged; catalog discovery stays asynchronous.
The existing real-Gateway message-buffer test now forces the independent catalog save between initial fact capture and consumption. Lifecycle-only fixtures mock only the new preparation call, preserving all other exports and real persistence in the Gateway regression. The real retirement fixture initializes its empty auth store before injecting the synthetic snapshot, preserving persisted-source provenance and all retirement assertions.
Evidence
This is a narrowly scoped ordering repair. It adds no new schema, state owner, retries, or compatibility path. Separate release startup/upgrade failures are not represented as fixed by this change.