Skip to content

feat(server)!: implement generation state and validated task updates - #386

Draft
msardara wants to merge 19 commits into
a2a-1.1/2-schemafrom
a2a-1.1/3-server
Draft

msardara wants to merge 19 commits into
a2a-1.1/2-schemafrom
a2a-1.1/3-server

Conversation

@msardara

@msardara msardara commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #385.

Implement generation/timeline persistence, conditional input, long polling,
resumption and client artifacts. Validate task/context identity and protocol
inputs, preserve authoritative state, and authorize listings before pagination.

Anonymous listings use scoped stateless cursors. Authenticated listings retain
bounded membership snapshots, with stateless fallback when the cache is full;
cache exhaustion no longer denies other callers' listings. Stateless continuations
select and sort only their page, and document omissions or repeats when task
timestamps change. Legacy positions remain accepted with current visibility checks.

Validation: server regressions cover authorization, cancellation, reservations,
artifacts, cursor binding and full-cache/anonymous listing availability.

@msardara
msardara added this pull request to stack #389 October 27, 2026 10:32
@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.24242% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
a2a-server/src/task_store/inmemory.rs 99.20% 4 Missing ⚠️
a2a-server/src/handler/updates.rs 98.70% 3 Missing ⚠️
a2a-server/src/push/sender.rs 98.00% 1 Missing ⚠️
a2a-server/src/rest.rs 99.21% 1 Missing ⚠️
a2a-server/src/task_store/mod.rs 92.85% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@msardara
msardara force-pushed the a2a-1.1/3-server branch 2 times, most recently from 6b1e3e1 to 42f385f Compare October 27, 2026 12:07
@msardara
msardara force-pushed the a2a-1.1/3-server branch 2 times, most recently from 2020450 to c45fb5e Compare October 27, 2026 15:41
@msardara msardara changed the title feat(server)!: implement A2A 1.1 generation, timeline and resumption feat(server)!: implement generation state and validated task updates Oct 30, 2026
@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/3-server branch 3 times, most recently from 983f06c to 756d56e Compare November 2, 2026 20:59
@msardara
msardara force-pushed the a2a-1.1/3-server branch 2 times, most recently from ea1f50d to 7428fe4 Compare November 4, 2026 16:49
@msardara
msardara force-pushed the a2a-1.1/3-server branch 2 times, most recently from 9e0009b to 607755e Compare November 11, 2026 10:56
Keep bounded five-minute snapshots for continued lists so moving status timestamps cannot skip or repeat tasks. Recheck visibility and deletion on every page, bind cursors to their filters, and accept legacy numeric and sort-key tokens.

Signed-off-by: Mauro Sardara <[email protected]>
Cover bare major and malformed version headers, and numeric patch compatibility. Keep the spec-mandated Major.Minor requirement and its REST protocol error.

Signed-off-by: Mauro Sardara <[email protected]>
Document the canonical ABORTED to generation-mismatch mapping and verify recognized A2A ErrorInfo takes precedence while foreign or unknown reasons do not.

Signed-off-by: Mauro Sardara <[email protected]>

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.

1 participant