fix(controller): gate AuthenticationConfig::Spire match for windows - #1859
Merged
Conversation
AuthenticationConfig::Spire is cfg(not(windows)) in slim-config, but controller's derive_auth matched on it unconditionally, so the crate failed to compile on windows. Compute `auth_is_spire` behind a cfg (false on windows). Mirrors slim-config#1855. Signed-off-by: Luca Muscariello <muscariello@ieee.org>
msardara
approved these changes
Jul 16, 2026
Merged
msardara
added a commit
that referenced
this pull request
Jul 16, 2026
…s-expose-offline-channel-membership-and-session-persistence * origin/main: fix(controller): gate AuthenticationConfig::Spire match for windows (#1859) chore: release (#1856) ci: exempt org members from DCO + scope release secrets to an environment (#1857) fix(config): gate RequiredAuthMethod::Spire for windows (#1855) chore: release (#1854) chore: release (#1853) chore(rpc): version agntcy-slim-rpc on the 2.0.0-alpha line (#1852) chore(docs): updating gh pulse widget (#1848) refactor(slim-bindings): reuse agntcy-slim-rpc, drop duplicated slimrpc (#1850) feat(rpc): extract native agntcy-slim-rpc crate from the FFI bindings (#1830) chore: move slim-bindings back to slim core (#1846) ci: disable docker build on PRs (#1845) ci: drop benchmark concurrency block that breaks the nightly reusable call (#1844) ci: move wasm test suites off the PR path to nightly (#1841) ci: move coverage and benchmark off the PR path (#1840) feat(mls): share one signing identity across an app and its sessions (#1825) ci: run coverage once, move release builds and e2e tests to nightly (#1837) fix(control-plane): re-expand routes when a node reconnects over a claimed link (#1836)
muscariello
pushed a commit
that referenced
this pull request
Jul 16, 2026
## 🤖 New release * `agntcy-slim-config`: 0.12.2 -> 0.12.3 (✓ API compatible changes) * `agntcy-slim-controller`: 0.11.1 -> 0.11.2 (✓ API compatible changes) * `agntcy-slim-proto`: 0.3.1 -> 0.3.2 * `agntcy-slim-tracing`: 0.4.4 -> 0.4.5 * `agntcy-slim-datapath`: 0.16.3 -> 0.16.4 * `agntcy-slim-session`: 0.5.2 -> 0.5.3 * `agntcy-slim-service`: 0.11.2 -> 0.11.3 * `agntcy-slim`: 2.0.0-alpha.4 -> 2.0.0-alpha.5 * `agntcy-slim-channel-manager`: 2.0.0-alpha.4 -> 2.0.0-alpha.5 * `agntcy-slim-control-plane`: 2.0.0-alpha.4 -> 2.0.0-alpha.5 * `agntcy-slim-rpc`: 2.0.0-alpha.4 -> 2.0.0-alpha.5 * `agntcy-slim-bindings`: 2.0.0-alpha.5 -> 2.0.0-alpha.6 * `agntcy-slimctl`: 2.0.0-alpha.4 -> 2.0.0-alpha.5 <details><summary><i><b>Changelog</b></i></summary><p> ## `agntcy-slim-config` <blockquote> ## [0.12.3](slim-config-v0.12.2...slim-config-v0.12.3) - 2026-07-16 ### Other - update Cargo.lock dependencies </blockquote> ## `agntcy-slim-controller` <blockquote> ## [0.11.2](slim-controller-v0.11.1...slim-controller-v0.11.2) - 2026-07-16 ### Fixed - *(controller)* gate AuthenticationConfig::Spire match for windows ([#1859](#1859)) </blockquote> ## `agntcy-slim-proto` <blockquote> ## [0.3.2](slim-proto-v0.3.1...slim-proto-v0.3.2) - 2026-07-16 ### Other - updated the following local packages: agntcy-slim-config </blockquote> ## `agntcy-slim-tracing` <blockquote> ## [0.4.5](slim-tracing-v0.4.4...slim-tracing-v0.4.5) - 2026-07-16 ### Other - updated the following local packages: agntcy-slim-config </blockquote> ## `agntcy-slim-datapath` <blockquote> ## [0.16.4](slim-datapath-v0.16.3...slim-datapath-v0.16.4) - 2026-07-16 ### Other - updated the following local packages: agntcy-slim-config, agntcy-slim-proto, agntcy-slim-tracing </blockquote> ## `agntcy-slim-session` <blockquote> ## [0.5.3](slim-session-v0.5.2...slim-session-v0.5.3) - 2026-07-16 ### Other - updated the following local packages: agntcy-slim-datapath </blockquote> ## `agntcy-slim-service` <blockquote> ## [0.11.3](slim-service-v0.11.2...slim-service-v0.11.3) - 2026-07-16 ### Other - updated the following local packages: agntcy-slim-config, agntcy-slim-controller, agntcy-slim-datapath, agntcy-slim-session </blockquote> ## `agntcy-slim` <blockquote> ## [2.0.0-alpha.5](slim-v2.0.0-alpha.4...slim-v2.0.0-alpha.5) - 2026-07-16 ### Other - updated the following local packages: agntcy-slim-config, agntcy-slim-tracing, agntcy-slim-service </blockquote> ## `agntcy-slim-channel-manager` <blockquote> ## [2.0.0-alpha.5](slim-channel-manager-v2.0.0-alpha.4...slim-channel-manager-v2.0.0-alpha.5) - 2026-07-16 ### Other - updated the following local packages: agntcy-slim-config, agntcy-slim-config, agntcy-slim-proto, agntcy-slim-tracing, agntcy-slim-datapath, agntcy-slim-datapath, agntcy-slim-session, agntcy-slim-service, agntcy-slim </blockquote> ## `agntcy-slim-control-plane` <blockquote> ## [2.0.0-alpha.5](slim-control-plane-v2.0.0-alpha.4...slim-control-plane-v2.0.0-alpha.5) - 2026-07-16 ### Other - updated the following local packages: agntcy-slim-config, agntcy-slim-config, agntcy-slim-proto, agntcy-slim-tracing, agntcy-slim-tracing, agntcy-slim-datapath, agntcy-slim-datapath, agntcy-slim-service </blockquote> ## `agntcy-slim-rpc` <blockquote> ## [2.0.0-alpha.5](slim-rpc-v2.0.0-alpha.4...slim-rpc-v2.0.0-alpha.5) - 2026-07-16 ### Other - updated the following local packages: agntcy-slim-config, agntcy-slim-datapath, agntcy-slim-session, agntcy-slim-service </blockquote> ## `agntcy-slim-bindings` <blockquote> ## [2.0.0-alpha.6](slim-bindings-v2.0.0-alpha.5...slim-bindings-v2.0.0-alpha.6) - 2026-07-16 ### Other - updated the following local packages: agntcy-slim-config, agntcy-slim-controller, agntcy-slim-tracing, agntcy-slim-datapath, agntcy-slim-session, agntcy-slim-service, agntcy-slim, agntcy-slim-rpc </blockquote> ## `agntcy-slimctl` <blockquote> ## [2.0.0-alpha.5](slimctl-v2.0.0-alpha.4...slimctl-v2.0.0-alpha.5) - 2026-07-16 ### Other - updated the following local packages: agntcy-slim-config, agntcy-slim-proto, agntcy-slim-tracing, agntcy-slim-datapath, agntcy-slim-session, agntcy-slim-service, agntcy-slim </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/).
muscariello
added a commit
to a2aproject/a2a-rs
that referenced
this pull request
Jul 16, 2026
controller 0.11.2 cfg-gates the AuthenticationConfig::Spire match for windows (agntcy/slim#1859), the last slim crate in a2a-slimrpc's windows dependency tree that failed to compile. Lock-only; host build unchanged. Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Merged
muscariello
added a commit
to a2aproject/a2a-rs
that referenced
this pull request
Jul 16, 2026
* feat(slimrpc)!: migrate a2a-slimrpc onto native agntcy-slim-rpc Repoint a2a-slimrpc off the UniFFI shim (agntcy-slim-bindings) onto the native SlimRPC crate agntcy-slim-rpc (2.0.0-alpha.3), dropping the entire UniFFI stack from the A2A dependency chain. - Deps: replace slim_bindings with slim_rpc + native slim_service (App), slim_datapath (ProtoName) and slim_auth (auth provider/verifier). - RPC types (Channel/Server/Context/RpcError/RpcCode/StreamMessage) now come from slim_rpc. - App/Name become native types: SlimApp = slim_service::app::App<AuthProvider, AuthVerifier> and slim_datapath::api::ProtoName. parse_slimrpc_target now splits the target into org/namespace/agent and builds ProtoName::from_strings. - e2e tests build apps via slim_service Service::create_app instead of the FFI App constructor. All unit + e2e tests pass; clippy -D warnings + fmt clean. BREAKING CHANGE: SlimRpcTransport/Factory now take native App/Name types instead of the agntcy-slim-bindings FFI types. Bump to 0.2.0. Signed-off-by: Luca Muscariello <muscariello@ieee.org> * fix(a2a-pb): allow useless_borrows_in_formatting in generated serde Newer clippy flags `write!(f, "...", &FIELDS)` in the pbjson-generated serde code as a useless borrow, failing `-D warnings` on CI (which uses latest stable; the repo pins no toolchain). Scope an allow to the generated `protojson` module. Signed-off-by: Luca Muscariello <muscariello@ieee.org> * build: pull agntcy-slim-config 0.12.2 for the windows build fix slim-config 0.12.2 cfg-gates RequiredAuthMethod::Spire for windows (agntcy/slim#1855), fixing the windows compile of the native slim stack that a2a-slimrpc now depends on. Lock-only bump; host build unchanged. Signed-off-by: Luca Muscariello <muscariello@ieee.org> * build: pull agntcy-slim-controller 0.11.2 for the windows build fix controller 0.11.2 cfg-gates the AuthenticationConfig::Spire match for windows (agntcy/slim#1859), the last slim crate in a2a-slimrpc's windows dependency tree that failed to compile. Lock-only; host build unchanged. Signed-off-by: Luca Muscariello <muscariello@ieee.org> --------- Signed-off-by: Luca Muscariello <muscariello@ieee.org>
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.
Follow-up to #1855.
AuthenticationConfig::Spireiscfg(not(windows))in slim-config, butcontroller'sderive_authmatched on it unconditionally (service.rs:217), so the crate fails to compile on windows (no variant Spire). Computeauth_is_spirebehind acfg(false on windows).Surfaced by a2a-rs windows CI (#104) once slim-config 0.12.2 fixed the config-internal refs. control-plane also references the gated variant but isn't in a2a-slimrpc's tree; controller is the last one on that path. Host build + clippy + fmt clean.