Skip to content

fix(a2a): propagate transport, protocol and remote task failures as structured errors (issue #213) - #371

Open
XianReallyHot-ZZH wants to merge 1 commit into
agentic-ai-java:mainfrom
XianReallyHot-ZZH:feat/issue-213-a2a-structured-error-propagation
Open

XianReallyHot-ZZH wants to merge 1 commit into
agentic-ai-java:mainfrom
XianReallyHot-ZZH:feat/issue-213-a2a-structured-error-propagation

Conversation

@XianReallyHot-ZZH

Copy link
Copy Markdown
Contributor

Contributing to ARGI: propagate A2A streaming and single-body transport, protocol and remote task failures as structured terminal errors (A2aTransportException/A2aProtocolException/A2aRemoteTaskException extending IllegalStateException for legacy catch compatibility) instead of error text followed by a normal done completion — SSE wire-format framing (comments/unknown fields ignored, multi-data lines joined, [DONE] or completed status terminates, missing terminal state fails), JSON-RPC error frames, corrupt frames and remote failed/canceled tasks (both status-update events and Task objects) surface through the existing GraphResponse.error channel with at most one terminal state and partial output identity preserved, error-looking remote body text never treated as a control signal (issue #213).

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