Skip to content

chore(deps): bump github.com/a2aproject/a2a-go/v2 from 2.7.0 to 2.9.0 - #218

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/a2aproject/a2a-go/v2-2.9.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/a2aproject/a2a-go/v2-2.9.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/a2aproject/a2a-go/v2 from 2.7.0 to 2.9.0.

Release notes

Sourced from github.com/a2aproject/a2a-go/v2's releases.

v2.9.0

2.9.0 (2026-11-17)

Features

  • plugins: extend clients and servers with a2aclient.WithPlugins and a2asrv.WithPlugins. Client plugins wrap calls; server plugins wrap calls, the agent executor, the task store and push delivery. The a2aplugin package builds plugins from hooks (#572, #581) (5216340, b25d155)
  • a2aclient/oauth: OAuth 2.0 client support. oauth.Manager discovers authorization servers from agent cards and Protected Resource Metadata, signs users in (authorization code or device grant), and its plugin attaches and refreshes tokens (#568, #570) (c42999a, 50dd177)
  • a2aclient: errors received from a server carry the response HTTP headers or gRPC metadata in a2a.Error.ServiceParams (#595) (d6a1d26)
  • a2asrv: pass the client's accepted output modes to agents in ExecutorContext.AcceptedOutputModes (#603) (57ee56c)

Behavior Changes

  • a2asrv: SendMessage and SendStreamingMessage return at most Config.HistoryLength messages of task history (#603) (57ee56c)
  • a2asrv: NewAgentCardEnforcer rejects messages with a push config when the card doesn't support push notifications (#603) (57ee56c)
  • a2asrv: a message reply gets the execution's contextId when the agent doesn't set one, and its taskId is cleared (#577, #609) (eee75ec, 97de334)
  • a2asrv: getting a missing push config returns TaskNotFound instead of an internal error, and a REST push config delete returns {} (#578, #600) (ff3fcf8, 0d1ac2a)
  • a2aclient: a JSON-RPC HTTP error without a JSON-RPC body is an *a2a.Error (ErrUnauthenticated for 401, ErrUnauthorized for 403, ErrServerError otherwise) instead of a plain error (#595) (d6a1d26)
  • a2aclient: stream responses of an unknown type are skipped instead of ending the stream with an error (#532) (212512b)

Bug Fixes

  • a2a: accept pointer OAuth flow types when marshalling (#541) (fe407e3)
  • a2aacp: don't count exited agents in makeRoom (#563) (6b0c5bd)
  • a2aacp: drop empty parts instead of sending a block without content (#594) (d8323ce)
  • a2aacp: fail turns of a stopped agent with AgentStoppedError (#573) (4acb390)
  • a2aacp: release the context lock before reporting the end of a turn, so RejectBusyContext accepts the next message (#601) (964e814)
  • a2aacp: reserve pool capacity during startup (#587) (621d73b)
  • a2av0: keep unset ListTasks history length unset (#527) (9b4435f)
  • pbconv: leave an unset ListTasks page size unset (#576) (5a3d99d)
  • sse: support carriage-return event line endings (#487) (ecaea9c)
  • taskexec: don't end remote subscriptions at the caller's message (#575) (d0710f5)

v2.8.0

2.8.0 (2026-11-06)

Features

  • a2aacp: add an A2A agent executor for Agent Client Protocol (ACP) agents (#491, #492, #493, #494, #530, #545, #548, #552, #562)
  • a2agrpc: add GRPCConnectionPool for gRPC client connection reuse (fixes #109) (#382) (a2411f7)
  • a2asrv: add NewErrorSanitizer, an opt-in interceptor which logs request errors in full and sends clients only A2A errors (#552) (ece71bc)
  • a2asrv: agent card HTTP caching (ETag/304, opt-in Cache-Control) (#496) (313efd9)
  • implement structured input extension (#490) (367f987)

Bug Fixes

... (truncated)

Changelog

Sourced from github.com/a2aproject/a2a-go/v2's changelog.

2.9.0 (2026-11-17)

Features

  • plugins: extend clients and servers with a2aclient.WithPlugins and a2asrv.WithPlugins. Client plugins wrap calls; server plugins wrap calls, the agent executor, the task store and push delivery. The a2aplugin package builds plugins from hooks (#572, #581) (5216340, b25d155)
  • a2aclient/oauth: OAuth 2.0 client support. oauth.Manager discovers authorization servers from agent cards and Protected Resource Metadata, signs users in (authorization code or device grant), and its plugin attaches and refreshes tokens (#568, #570) (c42999a, 50dd177)
  • a2aclient: errors received from a server carry the response HTTP headers or gRPC metadata in a2a.Error.ServiceParams (#595) (d6a1d26)
  • a2asrv: pass the client's accepted output modes to agents in ExecutorContext.AcceptedOutputModes (#603) (57ee56c)

Behavior Changes

  • a2asrv: SendMessage and SendStreamingMessage return at most Config.HistoryLength messages of task history (#603) (57ee56c)
  • a2asrv: NewAgentCardEnforcer rejects messages with a push config when the card doesn't support push notifications (#603) (57ee56c)
  • a2asrv: a message reply gets the execution's contextId when the agent doesn't set one, and its taskId is cleared (#577, #609) (eee75ec, 97de334)
  • a2asrv: getting a missing push config returns TaskNotFound instead of an internal error, and a REST push config delete returns {} (#578, #600) (ff3fcf8, 0d1ac2a)
  • a2aclient: a JSON-RPC HTTP error without a JSON-RPC body is an *a2a.Error (ErrUnauthenticated for 401, ErrUnauthorized for 403, ErrServerError otherwise) instead of a plain error (#595) (d6a1d26)
  • a2aclient: stream responses of an unknown type are skipped instead of ending the stream with an error (#532) (212512b)

Bug Fixes

  • a2a: accept pointer OAuth flow types when marshalling (#541) (fe407e3)
  • a2aacp: don't count exited agents in makeRoom (#563) (6b0c5bd)
  • a2aacp: drop empty parts instead of sending a block without content (#594) (d8323ce)
  • a2aacp: fail turns of a stopped agent with AgentStoppedError (#573) (4acb390)
  • a2aacp: release the context lock before reporting the end of a turn, so RejectBusyContext accepts the next message (#601) (964e814)
  • a2aacp: reserve pool capacity during startup (#587) (621d73b)
  • a2av0: keep unset ListTasks history length unset (#527) (9b4435f)
  • pbconv: leave an unset ListTasks page size unset (#576) (5a3d99d)
  • sse: support carriage-return event line endings (#487) (ecaea9c)
  • taskexec: don't end remote subscriptions at the caller's message (#575) (d0710f5)

2.8.0 (2026-11-06)

Features

  • a2aacp: add an A2A agent executor for Agent Client Protocol (ACP) agents (#491, #492, #493, #494, #530, #545, #548, #552, #562)
  • a2agrpc: add GRPCConnectionPool for gRPC client connection reuse (fixes #109) (#382) (a2411f7)
  • a2asrv: add NewErrorSanitizer, an opt-in interceptor which logs request errors in full and sends clients only A2A errors (#552) (ece71bc)
  • a2asrv: agent card HTTP caching (ETag/304, opt-in Cache-Control) (#496) (313efd9)
  • implement structured input extension (#490) (367f987)

Bug Fixes

  • a2aclient: honor API key security scheme Location (#497) (c59beb5)
  • a2aclient: honor configured HTTP authentication schemes (#502) (413de0c)

... (truncated)

Commits
  • c746bfd chore(main): release 2.9.0 (#580)
  • 97de334 fix(a2asrv): keep the agent's contextId on message replies (#609)
  • 0d1ac2a fix(a2asrv): return an empty object when a REST push config delete succeeds (...
  • 212512b fix(client): skip unknown v1 streaming response payloads (#532)
  • d0710f5 fix(taskexec): don't end remote subscriptions at the caller's message (#575)
  • 57ee56c fix: honor SendMessageConfigs (#603)
  • 4acb390 fix(a2aacp): fail turns of a stopped agent with ErrAgentStopped (#573)
  • 621d73b fix(a2aacp): reserve pool capacity during startup (#587)
  • d8323ce fix(a2aacp): drop empty parts instead of sending a block without content (#594)
  • eb06cc0 chore: agent reflections
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/a2aproject/a2a-go/v2](https://github.com/a2aproject/a2a-go) from 2.7.0 to 2.9.0.
- [Release notes](https://github.com/a2aproject/a2a-go/releases)
- [Changelog](https://github.com/a2aproject/a2a-go/blob/main/CHANGELOG.md)
- [Commits](a2aproject/a2a-go@v2.7.0...v2.9.0)

---
updated-dependencies:
- dependency-name: github.com/a2aproject/a2a-go/v2
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from harshsaver as a code owner December 1, 2026 19:29
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Dec 1, 2026
@harshsaver harshsaver added the agentbox: ready to merge Audited by Claude and Codex; Harsh can merge label Dec 1, 2026
@harshsaver

Copy link
Copy Markdown
Member

🤖 Agentbox PR audit: ready to merge

What this PR changes

  • What it does: Updates the library that lets outside AI agents send work to Agent Intercom, together with its recorded networking and text dependencies.
  • What changes in the product: Nothing visible in normal use. Outside agents still send text messages and receive tracked tasks. A few unsupported requests receive different errors.
  • Why it exists: The repository requests monthly dependency maintenance. Most new library capabilities are not used by this product.
  • Why merge (or why not yet): No blocking regression was found in the supported workflow. All 11 checks pass, including tests on macOS, Linux and Windows.
  • What to expect after merging: Normal use should continue unchanged. Separately, remove the outdated library-version row from the architecture document and point readers to the dependency files.
Full audit (Claude (claude-opus-5-5, xhigh) × Codex (gpt-6.1-sol, xhigh), 2 turns, commit 78f1b41)

PR audit: #218 — chore(deps): bump github.com/a2aproject/a2a-go/v2 from 2.7.0 to 2.9.0

Head: 78f1b41

Sign-off

  • Claude (claude-opus-5-5, xhigh): ✅ satisfied — routine dependency bump. The checksums are verified, and the library code this repo calls (RequestHandler, NewRESTHandler) is unchanged in substance. 11/11 CI checks pass on the head. Nothing blocks.
  • Codex (gpt-6.1-sol, xhigh): ✅ satisfied — independently confirmed the supported bridge behavior and green CI; added one harmless rejected-content difference and qualified the blanket “no behavior change” claims.

Decision

merge — the dependency update preserves supported message sending and card publication, introduces no active limits or default changes, and has 11/11 passing checks. The documented rejection differences and stale architecture row do not block.

Should this exist?

  • Verdict: yes — this follows the monthly Go dependency updates configured in .github/dependabot.yml:9-13 and maintains the SDK already used by the A2A bridge.
  • Product-rule issues: None. The SDK’s history trimming, push-config cap, plugins and agent-card enforcement are outside the bridge’s execution path. bus/a2a_ingress.go:27 supplies its own handler directly to the REST transport; it does not construct the SDK’s default handler, push store or enforcer. The rejected-request differences below are bug fixes, not new product limits or silent default changes.
  • Simpler alternative: None. Keep the existing library and focused dependency update.
  • Real-launch evidence: not applicable — no startup or supported workflow behavior changes were identified. CI builds and runs the daemon’s demo on macOS, Linux and Windows (.github/workflows/ci.yml:18,26-32).

What changes (plain language)

  • What it does: Updates the library that lets outside AI agents send work to Agent Intercom, together with its recorded networking and text dependencies.
  • What changes in the product: Nothing visible in normal use. Outside agents still send text messages and receive tracked tasks. A few unsupported requests receive different errors.
  • Why it exists: The repository requests monthly dependency maintenance. Most new library capabilities are not used by this product.
  • Why merge (or why not yet): No blocking regression was found in the supported workflow. All 11 checks pass, including tests on macOS, Linux and Windows.
  • What to expect after merging: Normal use should continue unchanged. Separately, remove the outdated library-version row from the architecture document and point readers to the dependency files.

Findings

Blocking

  • None

Non-blocking

  • docs/architecture/a2a-bridge.md:14 — the SDK row still says v2.5.0, although base already used v2.7.0. Line 17 says the bridge records both SDK and protocol versions, making the document misleading. This is pre-existing documentation drift. docs/dependencies.md:3 explicitly identifies go.mod and go.sum as the Go pin records, and this PR updates both, satisfying CONTRIBUTING.md:62. Suggested follow-up: remove the duplicated SDK pin and reference go.mod. Earlier SDK updates chore(deps): bump github.com/a2aproject/a2a-go/v2 from 2.5.0 to 2.6.0 #149 and chore(deps): bump github.com/a2aproject/a2a-go/v2 from 2.6.0 to 2.7.0 #175 also changed only the dependency files.

  • Rejected-request behavior changes slightly; the earlier audit’s statement that all error responses are unchanged was too broad:

    • HEAD …/tasks/{id}:subscribe now returns 405 before calling the bridge’s unsupported-operation handler.
    • POST …/tasks/{id}:cancel now parses its body. Malformed non-empty JSON returns 400 PARSE_ERROR before bridge authentication, rather than reaching the authentication or unsupported-operation checks. Empty bodies remain accepted by the parser.

    Both changes are visible in the SDK REST handler, at handleSubscribeToTask and handleCancelTask. These operations remain unsupported by bus/a2a_ingress.go:173-179.

    • The SDK’s null-data decoding fix also reaches message:send: a part containing only {"data":null} now decodes as a data part. Previously it failed parsing. With otherwise valid message fields and credentials, the bridge now returns 400 CONTENT_TYPE_NOT_SUPPORTED; invalid credentials return 401. The bridge still rejects it before creating work (bus/a2a_ingress.go:60-69,99-104). Ordinary text parts, including text accompanied by data:null, retain their previous interpretation. See SDK part decoding, Part.UnmarshalJSON.

    Static tracing confirms these requests still create no Bus work, preserving spec/0.1/README.md:208. No action needed.

  • The SDK’s new agent-card caching partly overlaps a2abridge/handler.go:65-157, but does not replace the repository’s handler:

    • It rejects HEAD and has no Last-Modified or If-Modified-Since support.
    • Its CORS behavior reflects the request origin and permits credentials.

    These differences are explicit in the SDK card handler. The repository supports HEAD and date validators, with owner publications using zero-second cache lifetimes (bus/routes.go:231-234, bus/a2a_routes.go:135-137, a2abridge/card_test.go:290-319). Keeping the existing handler is justified.

  • The SDK’s major/minor protocol-version normalization does not weaken the bridge’s strict version check. It changes the client factory and intercepted server handler; neither is used by the daemon’s bridge. The protocol constant remains 1.0, and bus/a2a_ingress.go:52-55 still requires that exact value, as specified in spec/0.1/http.md:169. The published interface also remains 1.0 through a2a.NewAgentInterface.

  • The sibling stripe-go update at 3fb847c edits different dependency entries in the same files. Its changes do not overlap this PR’s replacements. Both should combine cleanly; verify the resulting dependency files and checks when the second PR merges.

  • CI has no dependency-tidiness check (.github/workflows/ci.yml:26-32). Static inspection supports the submitted dependency changes:

    • The SDK module file requires x/net v0.60.0 and x/text v0.42.0.
    • x/text moves in go.mod:36; x/net remains checksum-only, matching the structure at base.
    • The SDK’s x/mod, x/sync and x/sys requirements are below this repository’s pins; its jsonschema-go requirement equals the repository’s pin.

    Optional maintainer verification: go mod tidy && git diff --exit-code go.mod go.sum, followed by go mod verify.

Fix plan

n/a

Message to the developer

n/a

Questions for Harsh

n/a

Verification

  • PR and diff: Read the full base-to-head diff. Only go.mod and go.sum change: two version replacements and six checksum replacements. Confirmed the checkout is at 78f1b418909a0a28dbdc741b335182248224aca7 and remains clean.
  • Description and discussion: The requested gh pr view 218 -R october-dev/october-bus --comments failed because the installed CLI requested GitHub’s retired classic-project field. The explicit JSON-field fallback succeeded. Read the dependency release notes in the description; there are no discussion comments, reviews or product-issue links.
  • Repository review: Rechecked A2A imports, bridge implementation, ingress tests, card tests, publication wiring, conformance card usage, dependency policy, specifications, Dependabot configuration and code ownership. The ingress tests cover durable acceptance, idempotency, authentication, version/content rejection and capacity errors (bus/a2a_ingress_test.go:30-105).
  • Upstream comparison: Codex compared cached v2.7.0 sources with v2.9.0 source, including the complete REST handler, request-handler interface, transport options, service parameters, call context, JSON decoder, core wire types, card types, authentication types and error mapping:
    • RequestHandler has the same methods.
    • NewRESTHandler still dispatches directly to the supplied bridge handler; it enables no default plugins or interceptors.
    • The send-message decoder, text representation, task serialization, bearer-card representation and server error mappings are unchanged in substance.
    • Changes in request parsing are recorded above.
    • The SDK’s history trimming and push enforcement require components the bridge does not construct. See the default handler, card enforcer and push store.
  • Release and Go versions: Read both new release sections in the SDK changelog. The official v2.9.0 release is dated 2026-11-17 at c746bfd. The SDK, x/net and x/text declare Go 1.26.0, matching the repository’s language floor. CI uses Go 1.27.x.
  • Checksums: Claude verified all six new checksum entries against sum.golang.org in turn 1 and checked release metadata through proxy.golang.org. Codex could not independently repeat those requests: the web tools could not access the URLs, and shell networking failed DNS resolution. This remains explicitly attributed to turn 1.
  • CI: Independently queried the PR head’s check rollup: all 11 checks are completed and successful. The runtime workflow runs tests on all three operating systems, race tests on Ubuntu, vet, builds and the demo. The vulnerability check is also successful. Job logs were not independently inspected.
  • Precedent and merge state: Read git show for earlier SDK bumps eb2d91a and f3e893a and the sibling stripe-go diff. GitHub reports MERGEABLE with BLOCKED; maintainer and code-owner review is required by CONTRIBUTING.md:58-59 and .github/CODEOWNERS:11-12. No approving review is currently recorded.
  • Not run: No installs, tests, builds or repository scripts were executed, as required for this outside-contributor audit. No checkout files or GitHub state were modified. Full upstream compare access was unavailable; the review used individual source files. Independent advisory access was unavailable in turn 1, so vulnerability evidence remains the green CI check.

Audit log

  • Turn 1 (Claude (claude-opus-5-5, xhigh)):
    • Checked whether the PR should exist (Dependabot config, precedents chore(deps): bump github.com/a2aproject/a2a-go/v2 from 2.5.0 to 2.6.0 #149/chore(deps): bump github.com/a2aproject/a2a-go/v2 from 2.6.0 to 2.7.0 #175) and read every a2a-go call site.
    • Verified all go.sum lines against sum.golang.org and the go directives via proxy.golang.org.
    • Diffed the library surfaces the repo depends on (RequestHandler, NewRESTHandler, internal/rest error mapping, a2a errors, Version) between v2.7.0 (local module cache) and v2.9.0 (raw GitHub), and read the full 2.8.0/2.9.0 changelog.
    • Checked overlap with the sibling stripe-go PR.
    • Decision: merge, with five non-blocking notes. The main one is the stale SDK row at docs/architecture/a2a-bridge.md:14, left as a follow-up rather than an edit to the Dependabot branch.
  • Turn 2 (Codex (gpt-6.1-sol, xhigh)): Independently rechecked the diff, discussion, CI, repository rules and upstream implementation; confirmed merge, added the rejected-null-data decoding difference, qualified “no behavior change” claims, and distinguished turn-1 checksum verification from checks repeatable this turn. No material changes.

Final checks

Not run here: this PR is from an outside contributor, so its code is never executed on this machine. Rely on CI before merging.

Automated review by Harsh's agentbox: two AI reviewers audited this PR against the project ruleset and agreed on it.

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

agentbox: ready to merge Audited by Claude and Codex; Harsh can merge dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant