Skip to content

fix(server): align builder blocking timeouts with documented defaults - #1249

Merged
ehsavoie merged 1 commit into
a2aproject:mainfrom
kabir:fix/blocking-send-final-events
Oct 28, 2026
Merged

ehsavoie merged 1 commit into
a2aproject:mainfrom
kabir:fix/blocking-send-final-events

Conversation

@kabir

@kabir kabir commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Manually built DefaultRequestHandler instances used blocking timeouts of 5/2/1 seconds instead of the documented 30/5/1 defaults and offered no timeout overrides. Align the builder defaults, expose nonnegative timeout setters, and document how manual wiring differs from CDI configuration.

The event delivery race reported in #1247 is already fixed by #1227. Extend that deterministic regression to verify completed tasks include artifacts with both omitted configuration and explicit returnImmediately=false, and verify fire-and-forget responses still allow resubscription.

This fixes #1247

Expose timeout overrides for manually wired request handlers and document their configuration. Extend blocking send regression coverage to include artifacts, omitted configuration, and fire-and-forget resubscription.

This fixes a2aproject#1247
@ehsavoie
ehsavoie merged commit 4aeac45 into a2aproject:main Oct 28, 2026
16 checks passed
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.

[Bug]: Blocking SendMessage drops in-flight final events: InternalError: Timeout waiting for task <id> consumption

2 participants