[codex] Sync refreshed provider service models#1025
Merged
tpae merged 1 commit intoMay 4, 2026
Conversation
Business rationale: Custom providers can add models while Osaurus is running, and the picker now refreshes those lists on open. Keeping the provider service snapshot in sync with that refreshed state preserves trust in the local harness: a model that appears available should also be reflected by the service that will handle the request. Coding rationale: Build on the merged refreshConnectedProviders path instead of keeping a second refresh API. Update the existing service actor only after the merged model list changes, and add a process-wide test lock for provider/cache singletons because suite-level serialization does not prevent cross-suite notification races.
This was referenced May 4, 2026
Contributor
Author
|
@tpae quick maintainer-facing summary of the current CI situation and the requested next step. Current state
What is required
Why this should be first Rerunning the red PR checks before this lands will mostly reproduce the same shared failure. Merging the green base fix first should turn those PRs back into meaningful signal: anything still red afterward is branch-specific and can be debugged cleanly. Separate note: #958 is a different external/draft failure ( |
This was referenced May 4, 2026
Merged
tpae
approved these changes
May 4, 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.
Business rationale
Custom OpenAI-compatible providers can add models while Osaurus is running. After #1020, the picker refreshes visible model lists on open; this follow-up keeps the backing provider service in sync too, so a model shown as available is also reflected by the service that handles requests. That protects trust in the local multi-provider harness.
Coding rationale
What changed
Validation
Non-scope
Residual risks