Conversation
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
timflannagan
approved these changes
Nov 5, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An A2A message containing
{"text":""}fails ADK conversion after its task has been saved assubmitted. The A2A SDK then cancels the execution context and uses that same context to persist the failure, leaving the task active and the actor holding its worker.This lets admitted runtime writes finish independently of SDK cancellation, within the store's existing retry budget. Both an in-flight update and the subsequent
failedupdate need to finish against known versions. Native cleanup still completes before settlement publishes the failure and makes the actor eligible for suspension.Regression coverage includes unary and streaming empty text, an executor error during an intermediate save, and a panic. It checks that failed tasks become durable while publication and suspension remain blocked until cleanup finishes.
Failure persistence and cleanup ordering
sequenceDiagram participant SDK as A2A SDK participant Store as Runtime TaskStore participant API as Controller and PostgreSQL SDK->>Store: Create or update task Note over SDK,Store: Executor failure cancels SDK context Store->>API: Finish current save within retry budget API-->>Store: Saved version SDK->>Store: Update task to FAILED Store->>API: Persist failure within retry budget API-->>Store: Saved failure version SDK->>Store: Cleanup Note over Store: Native cleanup completes first Store->>API: Settle saved failure Note over API: Publish FAILED and make suspension eligibleValidated with race-enabled TaskStore, ADK, gRPC/PostgreSQL, TaskStore service, shared runtime, Codex, and Claude executor tests, plus repository Go lint.