Title: docs: refresh a2a-sdk migration guidance against current 1.0.x pin · Issue #514 · adcontextprotocol/adcp-client-python · GitHub
Open Graph Title: docs: refresh a2a-sdk migration guidance against current 1.0.x pin · Issue #514 · adcontextprotocol/adcp-client-python
X Title: docs: refresh a2a-sdk migration guidance against current 1.0.x pin · Issue #514 · adcontextprotocol/adcp-client-python
Description: From the salesagent v3.12 → 4.x migration (SDK_FEEDBACK.md, item #5). MIGRATION_v3_to_v4.md says: a2a.utils.errors.ServerError → a2a.types.A2AError a2a.types.DataPart → a2a.types.MessagePart In a2a-sdk==1.0.1, none of those replacement t...
Open Graph Description: From the salesagent v3.12 → 4.x migration (SDK_FEEDBACK.md, item #5). MIGRATION_v3_to_v4.md says: a2a.utils.errors.ServerError → a2a.types.A2AError a2a.types.DataPart → a2a.types.MessagePart In a2a...
X Description: From the salesagent v3.12 → 4.x migration (SDK_FEEDBACK.md, item #5). MIGRATION_v3_to_v4.md says: a2a.utils.errors.ServerError → a2a.types.A2AError a2a.types.DataPart → a2a.types.MessagePart In a2a...
Opengraph URL: https://github.com/adcontextprotocol/adcp-client-python/issues/514
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"docs: refresh a2a-sdk migration guidance against current 1.0.x pin","articleBody":"From the salesagent v3.12 → 4.x migration (`SDK_FEEDBACK.md`, item #5).\n\n`MIGRATION_v3_to_v4.md` says:\n> `a2a.utils.errors.ServerError` → `a2a.types.A2AError`\n> `a2a.types.DataPart` → `a2a.types.MessagePart`\n\nIn `a2a-sdk==1.0.1`, none of those replacement targets exist:\n- `A2AError` does not exist (only `A2ARequest`)\n- `MessagePart` does not exist (only `Part`)\n- `a2a.server.apps` (whole submodule path) does not exist\n\nAdopter outcome:\n\n> `salesagent/src/a2a_server/` is hand-rolled against a2a-sdk 0.3 and won't run on 1.0+. The migration guide pointed at replacements that also don't exist, so I gated the whole module behind an `A2A_LEGACY_AVAILABLE` flag and skipped 6 unit-test modules. The migration target for these is `adcp.server.serve(transport=\"a2a\")` — but that's not what the guide says.\n\n## Proposal\n\nEither:\n\n1. **Regenerate** the a2a-sdk migration section against the current 1.0.x pin (correct symbol names), OR\n2. **Better:** point readers directly at `adcp.server.serve(transport=\"a2a\")` and explicitly acknowledge that hand-rolled a2a-sdk 0.3 servers don't have a mechanical migration path.\n\nOption 2 is more honest about adopter reality. Option 1 still helps adopters who wrote against `a2a-sdk` directly rather than via our `serve()`.\n\n## Acceptance\n\nA salesagent-shaped adopter (hand-rolled 0.3 server) reads the guide and lands on a clear path: \"delete the hand-rolled server, use `adcp.server.serve(transport='a2a')`.\"","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-05-04T01:02:21Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/514"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a8b2ef27-1789-3faa-7e55-0f1c0feb2f05 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B0BE:2679E9:B7CB9E:F67742:6B00F69A |
| html-safe-nonce | f92c74cf7a31ae3035aff202a351917526eef6a1eb6a121bea44461ca14b2a48 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEJFOjI2NzlFOTpCN0NCOUU6RjY3NzQyOjZCMDBGNjlBIiwidmlzaXRvcl9pZCI6IjY3ODAxOTUyMTY3NjM3MTMxNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 78fc7a12fcd431a91ebc3f4b6e3359aa3e11f264af21d847396dc6fce9eedf6b |
| hovercard-subject-tag | issue:4373476616 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/adcontextprotocol/adcp-client-python/514/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b6e4392e7574aca2602bf8df54b3a4b4e94807463d013057e82d0ad1a27fc84f/adcontextprotocol/adcp-client-python/issues/514 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b6e4392e7574aca2602bf8df54b3a4b4e94807463d013057e82d0ad1a27fc84f/adcontextprotocol/adcp-client-python/issues/514 |
| og:image:alt | From the salesagent v3.12 → 4.x migration (SDK_FEEDBACK.md, item #5). MIGRATION_v3_to_v4.md says: a2a.utils.errors.ServerError → a2a.types.A2AError a2a.types.DataPart → a2a.types.MessagePart In a2a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bokelley |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| go-import | github.com/adcontextprotocol/adcp-client-python git https://github.com/adcontextprotocol/adcp-client-python.git |
| octolytics-dimension-user_id | 221690821 |
| octolytics-dimension-user_login | adcontextprotocol |
| octolytics-dimension-repository_id | 1090305973 |
| octolytics-dimension-repository_nwo | adcontextprotocol/adcp-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1090305973 |
| octolytics-dimension-repository_network_root_nwo | adcontextprotocol/adcp-client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width