Skip to content

feat(client)!: route tenants before request interception - #1387

Open
ehsavoie wants to merge 1 commit into
a2aproject:mainfrom
ehsavoie:apply_tenant
Open

ehsavoie wants to merge 1 commit into
a2aproject:mainfrom
ehsavoie:apply_tenant

Conversation

@ehsavoie

@ehsavoie ehsavoie commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Select the current-protocol tenant before request interception and credential lookup across REST, JSON-RPC, and gRPC. Make the selected tenant available to credential services and normalize tenant handling across client and server paths.

Send intercepted protobuf requests for v0.3 gRPC calls, including builder replacements. Cover routing, credentials, and interceptor behavior with wire tests.

BREAKING CHANGE: Use ClientRoutingInterceptor to change request tenants. Applications using JSON-RPC must declare the transport dependency explicitly. The public tenant validation and URL helpers replaced by this change have been removed.

@ehsavoie
ehsavoie marked this pull request as ready for review December 4, 2026 14:53
@ehsavoie ehsavoie mentioned this pull request Dec 4, 2026
4 tasks
Select the current-protocol tenant before request interception and credential lookup across REST, JSON-RPC, and gRPC. Make the selected tenant available to credential services and normalize tenant handling across client and server paths.

Send intercepted protobuf requests for v0.3 gRPC calls, including builder replacements. Cover routing, credentials, and interceptor behavior with wire tests.

BREAKING CHANGE: ClientCallInterceptor.intercept now requires a sixth tenant argument; update custom interceptor implementations. Use ClientRoutingInterceptor to change request tenants. Applications using JSON-RPC must declare the transport dependency explicitly. The public tenant validation and URL helpers replaced by this change have been removed.

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>

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