Repository navigation
Closed
Copy link
Labels
Description
Summary
inference-gateway/adk#354 makes the Go ADK pass the full A2A v1.0.1 TCK JSON-RPC suite. It changes user-visible behaviour and adds public API that adk.md does not cover yet:
SendMessagenow waits until the task reaches a terminal or interrupted state unless the client setsconfiguration.returnImmediately: true(spec 3.2.2). Long-running agents should have clients set it or use streaming.historyLengthis honoured byGetTask,SendMessage,SendStreamingMessageandListTasks.- A
taskPushNotificationConfigsent inline inSendMessageis registered; deleting a push notification config is idempotent. SubscribeToTaskreturns UnsupportedOperation (-32004) for a terminal task and follows an interrupted task (input-required, auth-required) until it terminates./.well-known/agent-card.jsonsendsCache-Control: public, max-age=300,ETagandLast-Modified, and answers conditional requests with 304.- New
server.MessageResponderoptional interface: a background task handler implementingRespondToMessagecan answerSendMessagewith a directMessageand no task. - New
types.EventTaskArtifactUpdated(adk.agent.task.artifact.updated) CloudEvent with atypes.TaskArtifactUpdateEventpayload (append / lastChunk): streamed asartifactUpdateand recorded on the task. - New helpers on generated types:
TaskState.IsInterrupted,Task.WithHistoryLength,Task.ApplyArtifactUpdate. examples/tck-sutis a reference handler using all of the above; CI runs the TCK against it.
Affected page: adk.md
- "Task handlers": blocking
SendMessage,returnImmediately,MessageResponderwith a short example. - "Streaming and CloudEvents": add
EventTaskArtifactUpdatedto the event table, with an example emitting a chunked artifact. - "The A2A client" / "Cancelling, listing, and resubscribing":
returnImmediatelyandhistoryLengthonSendTask,SubscribeToTaskerror on terminal tasks. - Agent card section: caching headers.
Source: inference-gateway/adk#354 (follow-up to inference-gateway/adk#353, issue inference-gateway/adk#346).
Acceptance Criteria
-
adk.mddocuments blockingSendMessageandreturnImmediately, including the guidance for long-running agents -
adk.mddocumentsMessageResponderwith an example - The CloudEvents table lists
EventTaskArtifactUpdatedwith an example of emitting a chunked artifact -
historyLength, theSubscribeToTaskterminal-task error and the agent card caching headers are mentioned
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Oct 3, 2026
@claude can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Oct 3, 2026
Claude finished @edenreich's task in 3m 36s —— View job •
docs/issue-932-20261003-1530• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-932-20261003-1530?quick_pull=1&title=Issue%20%23932%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23932%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Go ADK docs update
adk.mdand the upstream ADK source for accurate API shapesSendMessage+returnImmediatelyMessageResponderwith exampleEventTaskArtifactUpdatedto the CloudEvents table + chunked artifact examplehistoryLength,SubscribeToTaskterminal-task error, agent card caching headerslint:md,format:check,buildall pass)What changed in
adk.mdTaskState.IsTerminal/IsInterrupted, a client snippet settingreturnImmediately+historyLength, and a callout telling long-running agents to poll or stream instead of holding the request open.server.MessageResponderwith aRespondToMessageexample, plus the note that it extends rather than replacesTaskHandler.types.EventTaskArtifactUpdatedrow in the event table, and a "Streaming artifacts" subsection with a chunkedappend/lastChunkexample, how the server fillstaskId/contextIdand records updates viaTask.ApplyArtifactUpdate, and a pointer toexamples/tck-sut.historyLengthonGetTask/ListTasks;SubscribeToTaskreturning-32004for terminal tasks while still following interrupted ones.taskPushNotificationConfigonSendMessage, idempotent deletion.Cache-Control: public, max-age=300,ETag,Last-Modifiedand304conditional responses.tck-sutadded to the catalogue.Not done: nothing from the acceptance criteria was left out. Per the repo convention I kept everything inside
adk.mdrather than adding a page, and followed the no-tracker-references rule, so the upstream PR/issue numbers are not cited in the content.PR: #934
| Branch
inference-gateway-releaser commentedon Oct 4, 2026
🎉 This issue has been resolved in version 0.9.21 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀