Skip to content

Review fixes - #6

Closed
kabir wants to merge 3 commits into
ehsavoie:reference_tasksfrom
kabir:reference_tasks
Closed

Review fixes#6
kabir wants to merge 3 commits into
ehsavoie:reference_tasksfrom
kabir:reference_tasks

Conversation

@kabir

@kabir kabir commented Aug 4, 2026

Copy link
Copy Markdown

No description provided.

ehsavoie and others added 3 commits August 4, 2026 16:45
- Authorize referenceTaskIds through TaskAuthorizationProvider before
  populating RequestContext; fail with TaskNotFoundError on denial
- Rename validateRequestedTask → authorizeTaskAccess, passing
  ServerCallContext for auth checks in streaming/subscribe paths
- Replace DefaultRequestHandler.create() with Builder pattern
- Make populate-referred-tasks configurable (a2a.request-context)
- Standardize fail-closed authorization in both TaskStore impls

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
Replace response.pipe() with response.body() for non-SSE responses in
executeAsyncSSE to prevent "Response already ended" when small error
bodies are fully received before pipe attaches.

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
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.

2 participants