fix(multitenancy): resolve agent card via router when no default bean… - #1184
Merged
Merged
Conversation
ehsavoie
force-pushed
the
issue_1182
branch
2 times, most recently
from
September 25, 2026 15:31
ce51067 to
daf85cb
Compare
kabir
approved these changes
Sep 25, 2026
ehsavoie
force-pushed
the
issue_1182
branch
3 times, most recently
from
September 26, 2026 11:44
80fc9f2 to
a08d019
Compare
ehsavoie
force-pushed
the
issue_1182
branch
2 times, most recently
from
September 28, 2026 10:45
16ad2b9 to
ee008f1
Compare
- Thread AgentCardRouter through handlers for tenant-scoped card resolution - Map TenantNotFoundException to client errors instead of HTTP 500 - Gate extended card router on non-blank tenant; fall back to CDI bean otherwise - Track per-card validation with ConcurrentHashMap instead of single AtomicBoolean Fixes a2aproject#1182 Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
ehsavoie
force-pushed
the
issue_1182
branch
from
September 28, 2026 11:21
ee008f1 to
e144bfe
Compare
kabir
approved these changes
Sep 28, 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.
… exists
When all @PublicAgentCard beans carry a @tenant qualifier, resolveAgentCard() threw IllegalStateException because CdiUtils.resolveDefault() skips tenant-qualified beans. Thread the tenant and AgentCardRouter through the resolution chain so the router is consulted before throwing.
Fixes #1182 🦕