You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: resolveAgentCard() fails in pure multi-tenant setup with no default @PublicAgentCard #1182
When all @PublicAgentCard beans carry a @tenant qualifier and no un-qualified default exists, JSONRPCHandler.resolveAgentCard() (and the equivalent in RestHandler) throws IllegalStateException("No agent card configured") on every RPC call.
The capability guards (streaming, push notifications, extended agent card, version/extension validation) all go through resolveAgentCard() → AgentCardValidator.resolveWithFallback() → CdiUtils.resolveDefault(), which skips every @Tenant-qualified bean and returns null.
Meanwhile getAgentCard(tenant) works correctly because it delegates to the AgentCardRouter.
Affected code:
JSONRPCHandler.resolveAgentCard() (line 783)
RestHandler has the same pattern
AgentCardValidator.resolveWithFallback() — no router fallback
Activity
fix(multitenancy): resolve agent card via router when no default bean…
fix(multitenancy): resolve agent card via router when no default bean…
fix(multitenancy): resolve agent card via router when no default bean…
fix(multitenancy): resolve agent card via router when no default bean…
fix(multitenancy): resolve agent card via router when no default bean…
fix(multitenancy): resolve agent card via router when no default bean…
fix(multitenancy): resolve agent cards via router in all transports
fix(multitenancy): resolve agent cards via router in all transports
fix(multitenancy): resolve agent card via router when no default bean… (