Skip to content

fix: bring the #509/#510 provider-descriptor stack onto master - #545

Merged
eric8810 merged 10 commits into
masterfrom
recover/descriptors-stack
Nov 24, 2026
Merged

eric8810 merged 10 commits into
masterfrom
recover/descriptors-stack

Conversation

@eric8810

Copy link
Copy Markdown
Contributor

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, not master. GitHub marked them merged, but their merge commits landed on feat/registry-sync-and-probe / feat/provider-descriptors-and-config and never reached master. This is my (reviewer) mistake from merging them without re-checking base.ref.

This PR merges the stack tip a2f00027 into master and 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, StringOrEnv credentials), aimux_provider_utils::package_descriptor
  • ops provider.descriptors, registry.fromConfig, registry.list, registry.update (72 → 76 ops)
  • LanguageApi::{Chat,Responses,Completion,Messages} direct dispatch on provider.model / model.resolve / provider.custom (chatModels, responsesModels, …)
  • ProviderRegistry in-place/derived update API, registry.create separator, provider.create strict organization/project validation
  • The generated schema + 7-language binding DTOs for all of the above

Conflict resolution

Verification (local)

  • cargo check --workspace --all-targets ✅
  • cargo test -p aimux-ops 289 ✅ · aimux-core 590 ✅ · aimux-provider-utils 263 ✅ · aimux-ffi 24 ✅
  • aimux-providers --lib 4654 ✅ (2 failures in azure/anthropic_aws are 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 ✅
  • Clippy clean on the touched crates (the one must_use_candidate hit in provider-utils/src/fetch.rs is a local rustc 1.98 vs CI 1.100 artifact on untouched code).

Follow-ups (not in this PR)

cunninghamcard-bit and others added 10 commits November 18, 2026 19:58
…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.
@eric8810
eric8810 merged commit 56d68c2 into master Nov 24, 2026
38 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants