Skip to content

[DNM] Migrate from A2A v0 to v1 (part 1)#1921

Draft
supreme-gg-gg wants to merge 6 commits into
mainfrom
jetc/feat/a2a-v1-migration-a
Draft

[DNM] Migrate from A2A v0 to v1 (part 1)#1921
supreme-gg-gg wants to merge 6 commits into
mainfrom
jetc/feat/a2a-v1-migration-a

Conversation

@supreme-gg-gg
Copy link
Copy Markdown
Contributor

@supreme-gg-gg supreme-gg-gg commented May 25, 2026

First part of 2 PRs for A2A v0 to v1 zero downtime migration. This will go into release 0.10.0

Makes the controller compatible with A2A v0 (trpc-a2a-go) and v1 (a2a-go) data and both v0 and v1 JSON-RPC routes / agent card routes depending on A2A-Version header (designed explicitly by the protocol for version negotiations). Replaces all internal usages of trpc-a2a-go with a2a-go except in data conversion code.

This ensure that the controller is compatible with old / existing agents and UI in A2A v0 and existing v0 data in db, while adding the capability to communicate with v1 agents and UI during upgrade as they are added in the next part.

Follows https://a2a-protocol.org/latest/whats-new-v1/#migration-strategy-recommendations and db conversion reuses as much of existing a2a backward compatible code as possible.

@chromatic-com
Copy link
Copy Markdown

chromatic-com Bot commented May 25, 2026

Warning

Testing paused

Monthly snapshot limit reached. Update your plan to get more snapshots and resume testing.

@supreme-gg-gg supreme-gg-gg force-pushed the jetc/feat/a2a-v1-migration-a branch 2 times, most recently from a0eea68 to 4aae019 Compare May 26, 2026 15:44
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
@supreme-gg-gg supreme-gg-gg force-pushed the jetc/feat/a2a-v1-migration-a branch from 4aae019 to 2cea435 Compare May 26, 2026 18:31
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tracing handler and associated tests have been moved to client_interceptors.go and client_interceptor_test.go

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