Repository navigation
refactor(models): simplify prepared owner access - #130683
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 27, 2026 04:13
Contributor
Author
|
Merged via squash.
|
vincentkoc
added a commit
that referenced
this pull request
Aug 27, 2026
…-retirement-v13 * origin/main: (243 commits) fix: preserve Gateway error reasons in text logs (#130645) refactor(video): deduplicate generation contracts (#130635) fix(agents): preserve direct-message sender identity (#124548) fix(agents): preserve silent reply after settled tools (#130675) fix(talk): preserve replacement speech when an old utterance is canceled (#130687) fix(browser): preserve literal names and formatter-owned snapshot refs (#130599) fix(auth): reset only the profile replaced by a successful login (#124014) fix: bind session creation to admitted Gateway (#130686) refactor(qa-lab): reuse model reference splitter (#130317) docs(gateway): clarify independent HTTP endpoint switches (#130690) fix(ui): Control UI smooth scrolling ignores the reduced-motion preference (#130428) refactor(lmstudio): remove unreachable catalog merge (#130689) fix(crabbox): restore cloud machine CPU and RAM (#130684) fix(secrets): compare proxy bearer tokens directly (#127054) fix(matrix): show recovery key availability in text status (#128051) fix(ios): restore approval settings navigation and remove duplicate shell state (#130651) refactor(agents): use fixed tool-loop defaults directly (#130681) refactor(qa-lab): share process tree metric reader (#130419) refactor(models): simplify prepared owner access (#130683) fix(parallels): main install and update smoke cannot complete (#130658) ...
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 27, 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
Maintainer-requested model architecture cleanup: model resolution and thinking metadata reads do unnecessary discovery work even when the caller already supplies stores or a published generation already answers the lookup. The prepared owner lifecycle also repeats replacement-wait and publication plumbing.
Why This Change Was Made
Reuse prepared facts before loading the manifest. Fill only missing discovery stores, retaining the injected auth/registry pair and generation boundary. The internal empty-store constructor now uses the in-memory APIs directly; both exist in the current implementation and stable v2026.7.1-2, so its runtime feature-detection fallback has no supported target.
Replacement races return to the existing loop-top wait/rebind owner. Pending publication coalescing, forced supersession, and timed-out-but-still-settling builds retain their distinct decisions. Remove the unreachable exact-versus-full branch and the unused private auth-materialization reader injection. Single-owner and batch publication remain separate because their atomicity and recovery contracts differ.
User Impact
No public API, config, defaults, provider metadata, storage, or auth behavior change. The same model and thinking results require less duplicate work. Production LOC: +41/-93 (net -52); tests: +46/-3 (net +43).
Evidence
The lifecycle suite covers replacement during lookup/activation, owner rebinding, workspace retention and timed-out builds. There is no new promise-depth-dependent test for the instant after standalone publication and before its awaiting caller resumes: the changed branch synchronously returns to the already-tested loop-top gate without intervening work. No authenticated inference claim is made for these local owner tests.