Skip to content

Tenant routing - #1381

Draft
ehsavoie wants to merge 2 commits into
a2aproject:mainfrom
ehsavoie:tenant_routing
Draft

ehsavoie wants to merge 2 commits into
a2aproject:mainfrom
ehsavoie:tenant_routing

Conversation

@ehsavoie

@ehsavoie ehsavoie commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Description

Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

Fixes #<issue_number_goes_here> 🦕

Validate and encode task and push notification configuration identifiers in REST URLs. Build request URLs and pagination from intercepted values, and align v0.3 push configuration names with the intercepted parent and configuration ID.

Cover interceptor changes and encoded identifiers in both REST transports. Omit pagination parameters from v0.3 push configuration list requests.

Signed-off-by: Emmanuel Hugonnet <[email protected]>
Introduce tenant routing interceptors for REST, JSON-RPC, and gRPC so the selected tenant is used consistently for requests and credential lookup. Transport providers declare routing support, and ordinary interceptors must leave the routed tenant unchanged.

Centralize tenant canonicalization across clients and servers. Replace the public validateTenant helper with canonicalizeTenant, and update routing and transport tests.

Signed-off-by: Emmanuel Hugonnet <[email protected]>
@ehsavoie
ehsavoie requested a review from jmesnil December 1, 2026 13:48

This branch has not been deployed

No deployments
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.

1 participant