Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

fix: handle blank push notification config id consistently across transports

Open Beginner friendly
#1,012 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Domain
api, backend

Research direction

Examine the GetTaskPushNotificationConfigParams class and its constructor validation. Look at the GrpcTransport and RestTransport implementations to see how they handle the id parameter. Write tests for the blank-id case to ensure consistent behavior. The fix should make both transports treat a blank id the same way, either as absent or as an empty string, and update the Javadoc accordingly.

Written by the indexing model from the issue text.

Description

GetTaskPushNotificationConfigParams rejects a null id but permits an
empty string, and the two transports diverge on that input:

  • GrpcTransport sends .setId("").
  • RestTransport treats it as absent and requests the trailing-slash
    "default config" URL.

Identical caller code against the same ClientTransport method therefore
produces two different requests. This aligns both on
and adds coverage for the blank-id path, which was previously untested.

Also corrects the Javadoc on GetTaskPushNotificationConfigParams, which
described id as optional and documented @throws for taskId or tenant
when the constructor actually validates taskId and id.

Dominant language
Java
Stars
500
Forks
179
Avg merge
1d 9h
Merged PRs (30d)
40

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from a2aproject/a2a-java

All issues in a2aproject/a2a-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.