[Bug]: Multitenancy fails if the AgentCard producer is @PublicAgentCard annotated · Issue #1175 · a2aproject/a2a-java · GitHub
Skip to content

[Bug]: Multitenancy fails if the AgentCard producer is @PublicAgentCard annotated #1175

Closed

Description

@ehsavoie

What happened?

While this

    @Produces
    @Tenant("schedule")
    public AgentCard agentCard() {} 

will work

    @Produces
    @PublicAgentCard
    @Tenant("schedule")
    public AgentCard agentCard() {}

will fails
The filters on qualifiers is wrong since it should exclude @ExtendedAgentCard only if it is not on a @PublicAgentCard and shouldn't filter out @PublicAgentCard

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added theissue type on Sep 24, 2026
  2. added a commit that references this issue on Sep 24, 2026
    ebe3f01
  3. self-assigned this
    on Sep 25, 2026
  4. added a commit that references this issue on Sep 25, 2026
    091ccb4
  5. added a commit that references this issue on Sep 25, 2026
    d6068f5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions