Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug]: REST client drops task cutoff and push-config pagination parameters

オープン 初心者向け
#1,233 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@sumitvairagar がすでに取り組んでいます。

2026年10月20日 から。

  • #1239 @sumitvairagar による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
java
領域
api, backend

調査の方向性

まず listTasks と listTaskPushNotificationConfigurations の REST クエリ構築の経路を確認し、次に既存の RestTransportTest のリクエスト記録ケースを読みます。これらのテストを実行し、statusTimestampAfter、pageSize、不透明な pageToken がリクエスト URL に渡され、未設定のパラメーターは省略されることを確認します。ケースが成功すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

What happened?

The REST client drops optional query parameters that the server already supports. Reproduced on main at 86a0eb3c601aaa143b389b117f87f69df982ad4a.

For listTasks, setting statusTimestampAfter does not put the cutoff in the request:

ListTasksParams params = ListTasksParams.builder()
        .statusTimestampAfter(Instant.parse("2024-01-01T00:00:00Z"))
        .build();
transport.listTasks(params, null);

Expected /tasks?statusTimestampAfter=2024-01-01T00%3A00%3A00Z; the recorded request has no statusTimestampAfter. The gRPC/JSON-RPC mappings and REST server handler already handle the field.

The same omission affects listTaskPushNotificationConfigurations: pageSize and pageToken never reach /tasks/{taskId}/pushNotificationConfigs. The server consumes them and returns nextPageToken, but the client cannot request that next page.

I added request-recording cases to the existing RestTransportTest and ran them on JDK 17 in an isolated Maven container. Both omission checks fail on main; the control with no optional parameters passes (3 tests, 2 failures, 0 errors/skips).

I can fix these two REST query-building paths and cover the timestamp, opaque page tokens and unset-parameter behavior without changing public APIs. Please assign this scope to me if that works for the project.

Relevant log output
Tests run: 3, Failures: 2, Errors: 0, Skipped: 0
listTasks must send the documented statusTimestampAfter query parameter
listTaskPushNotificationConfigurations: expected pageSize <1> but was <>
Code of Conduct
  • I agree to follow this project's Code of Conduct.

Reproduction and report prepared and posted by an AI assistant for @hutiefang76.

主要言語
Java
スター
505
フォーク
187
平均マージ
1日 17時間
マージ済み PR(30日)
24

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

a2aproject/a2a-java のほかの issue

a2aproject/a2a-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。