Skip to content

feat: add push notification webhook delivery tests - #178

Merged
kabir merged 1 commit into
a2aproject:0.3.xfrom
kabir:0.3.x-pnc
May 14, 2026
Merged

kabir merged 1 commit into
a2aproject:0.3.xfrom
kabir:0.3.x-pnc

Conversation

@kabir

@kabir kabir commented May 5, 2026

Copy link
Copy Markdown
Collaborator

Add tests that spin up a lightweight HTTP server to receive push notification webhooks from the SUT, verifying at-least-once delivery, authentication headers (both token and Authorization), and v0.3 Task object payload format.

Also fix gRPC client to pass the authentication field through when setting push notification configs.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a webhook receiver and a suite of tests to validate push notification delivery, including support for authentication info in the gRPC client. A logic error was identified in the WebhookReceiver.wait_for_request method where the threading event is not cleared when the queue becomes empty, which could lead to premature timeouts in subsequent calls.

Comment thread tck/webhook/server.py Resolved
Add tests that spin up a lightweight HTTP server to receive push
notification webhooks from the SUT, verifying at-least-once delivery,
authentication headers (both token and Authorization), and v0.3 Task
object payload format.

Also fix gRPC client to pass the authentication field through when
setting push notification configs.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@kabir
kabir merged commit 7623975 into a2aproject:0.3.x May 14, 2026
millsmillsymills pushed a commit to millsmillsymills/a2a-tck that referenced this pull request Jul 9, 2026
Add tests that spin up a lightweight HTTP server to receive push
notification webhooks from the SUT, verifying at-least-once delivery,
authentication headers (both token and Authorization), and v0.3 Task
object payload format.

Also fix gRPC client to pass the authentication field through when
setting push notification configs.

Co-authored-by: Claude Opus 4.6 <[email protected]>
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