Repository navigation
fix: bring the #509/#510 provider-descriptor stack onto master - #545
Merged
Merged
Conversation
…/completion/messages
…nd tighten PR #510 docs/tests - Drop displaced Arc<dyn Provider> entries outside the RwLock write guard in ProviderRegistry::{extend_providers,replace_providers,update_providers} so provider Drop impls cannot deadlock reading the registry; add regression test. - Add regression tests for trusted-caller/envAllowlist schema publication and preset organization/project rejection in favor of settings.headers. - Document breaking provider.create organization/project tightening in CHANGELOG.md and clarify google_vertex settings.project semantics and offered-constructor error preservation across upgrade and architecture docs.
…d-descriptors feat(ops): expose provider descriptors, config registries, and live updates
PRs #509 and #510 were stacked on #508's branch and merged there, so their merge commits (aec27d4, a2f0002) never reached master. This brings the feat/provider-descriptors-and-config tip (a2f0002) back onto master and reconciles it with the #538 ops refactor. Conflicts resolved: - aimux-ops/src/ops/provider.rs, registry.rs: re-applied the #509/#510 semantics (LanguageApi sub-method dispatch, package descriptors, provider.descriptors / registry.fromConfig|list|update, env allowlist, StringOrEnv settings, separator, atomic update) on top of the #538 Params<'_>/CallFuture<'_> / HandleField types. - codex/provider.rs, openai_compatible/provider.rs: kept both the #532/#536 image/video model hooks and the new language_model_with_api. - CHANGELOG.md: kept both entries. Verified: cargo check --workspace --all-targets; aimux-ops 289 tests, aimux-core 590, aimux-provider-utils 263, aimux-ffi 24, aimux-providers 4654 (2 local-proxy env failures reproduce on master); codegen --check, fmt, layout, boundaries, sync_registry, gen_providers_doc all clean.
This was referenced Nov 24, 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
#509 (
feat/provider-descriptors-and-config) and #510 (feat/ops-registry-management-and-descriptors) were stacked PRs whose base branches were the previous PR's branch, notmaster. GitHub marked them merged, but their merge commits landed onfeat/registry-sync-and-probe/feat/provider-descriptors-and-configand never reachedmaster. This is my (reviewer) mistake from merging them without re-checkingbase.ref.This PR merges the stack tip
a2f00027intomasterand reconciles it with the #538 ops refactor that landed in between.What master was missing
aimux_providers::{package_descriptor, package_descriptors},config_loader(provider_from_config_with_transport,providers_from_config_with_policy,ProviderConfigDocument,EnvLookupPolicy,StringOrEnvcredentials),aimux_provider_utils::package_descriptorprovider.descriptors,registry.fromConfig,registry.list,registry.update(72 → 76 ops)LanguageApi::{Chat,Responses,Completion,Messages}direct dispatch onprovider.model/model.resolve/provider.custom(chatModels,responsesModels, …)ProviderRegistryin-place/derived update API,registry.createseparator,provider.createstrictorganization/projectvalidationConflict resolution
aimux-ops/src/ops/{provider,registry}.rs: rebuilt from master's perf(core,ops,ffi): RFC-0049/0050 non-breaking hot-path, wire dispatch, and async C ABI #538 versions and re-applied the feat(providers): add package descriptors, config loader, and dynamic registry #509/feat(ops): expose provider descriptors, config registries, and live updates #510 semantics on top ofParams<'_>/CallFuture<'_>/crate::op::HandleField.resolve_secondary(removed on master) replaced with directHandleRegistry::getas master's other handlers do.codex/provider.rs,openai_compatible/provider.rs: kept both the feat(codex): image models on the ChatGPT subscription channel #532/feat(openai-compatible): add asynchronous video gateway models #536image_model/video_modelhooks and the newlanguage_model_with_api.CHANGELOG.md: both sides kept.Verification (local)
cargo check --workspace --all-targets✅cargo test -p aimux-ops289 ✅ ·aimux-core590 ✅ ·aimux-provider-utils263 ✅ ·aimux-ffi24 ✅aimux-providers --lib4654 ✅ (2 failures inazure/anthropic_awsare the known local-proxy env issue; they reproduce on master and pass with the proxy bypassed)aimux-codegen --check✅ ·cargo fmt --check✅ ·check_layout.py✅ ·check_provider_boundaries.sh✅ ·sync_registry.py --check✅ ·gen_providers_doc.py --check✅must_use_candidatehit inprovider-utils/src/fetch.rsis a local rustc 1.98 vs CI 1.100 artifact on untouched code).Follow-ups (not in this PR)
docs/api/ops.mdstill lists the pre-feat(ops): expose provider descriptors, config registries, and live updates #510 op table (it was not regenerated by feat(ops): expose provider descriptors, config registries, and live updates #510 either). I'll fix that in the 0.7.0 release-prep PR.feat/*branches can be deleted after this merges.