Skip to content

feat(server)!: let executor output decide task creation - #392

Draft
msardara wants to merge 91 commits into
a2a-1.1/6-working-inputfrom
a2a-1.1/7-lazy-task
Draft

msardara wants to merge 91 commits into
a2a-1.1/6-working-inputfrom
a2a-1.1/7-lazy-task

Conversation

@msardara

@msardara msardara commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Closes #391. Stacked on #390.

Let executor output choose Task creation or a direct Message. Share authorization,
input admission, task ordering and protocol policy across all send modes without
changing execute/cancel signatures. TaskHandle owns execution lifetime, startup
recovery and sender-specific unread-input rejection.

Interrupted answers stay uncommitted until a pending recv claims them. Committed
messages remain tracked until actually read; abandoned reads cannot silently
consume input. One replaceable offer slot and bounded reservations release
capacity on expiry or disconnect. Preserve FIFO for artifact/cancel requests and
use one unary deadline across admission and response. Accepted input is never
replayed into another execution.

Webhooks publish outside the controller through bounded task queues and fair HTTP
dispatch. Existing custom stores retain their required trait methods.

Validation: workspace tests, all-target server Clippy, live transport e2e tests,
and deterministic regressions for reader cancellation, EOF races, input
correlation, queue saturation, deadlines and notification backpressure.

@msardara
msardara added this pull request to stack #389 October 27, 2026 13:52
@msardara
msardara force-pushed the a2a-1.1/7-lazy-task branch from 7d1d35e to 750cd80 Compare October 27, 2026 14:58
@msardara
msardara force-pushed the a2a-1.1/7-lazy-task branch from 750cd80 to 65794a3 Compare October 27, 2026 15:41
@msardara
msardara force-pushed the a2a-1.1/7-lazy-task branch from 32ae75b to bfe5c74 Compare October 30, 2026 16:54
@msardara msardara changed the title feat(server)!: let the executor create the task feat(server)!: let executor output decide task creation Oct 30, 2026
@msardara
msardara force-pushed the a2a-1.1/7-lazy-task branch from bfe5c74 to f2a2d33 Compare October 30, 2026 17:25
@msardara
msardara removed this pull request from stack #389 October 30, 2026 17:27
@msardara
msardara added this pull request to stack #398 October 30, 2026 17:28
@msardara
msardara force-pushed the a2a-1.1/7-lazy-task branch 3 times, most recently from cdd1b0f to e684ec9 Compare October 31, 2026 19:21
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
…sages

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
@msardara
msardara force-pushed the a2a-1.1/7-lazy-task branch from 9c51f77 to b18d5d7 Compare November 12, 2026 16:55

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Let the executor decide whether a task exists

1 participant