Skip to content

chore: address PR review cleanup from #1039 and #1040 - #1055

Merged
ehsavoie merged 1 commit into
a2aproject:mainfrom
kabir:chore/pr-review-cleanup
Aug 11, 2026
Merged

chore: address PR review cleanup from #1039 and #1040#1055
ehsavoie merged 1 commit into
a2aproject:mainfrom
kabir:chore/pr-review-cleanup

Conversation

@kabir

@kabir kabir commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fix import ordering of TaskQueryParams in DefaultRequestHandlerTest
  • Remove fragile reflection-based test for negative historyLength guard — the two public-API tests (historyLength=2 and historyLength=0) already exercise the limitTaskHistory path
  • Trim verbose 4-line comment on negative historyLength guard to one line
  • Fix Javadoc on bufferFlushDelayMs(): negative values are clamped to 0 via Math.max(0, ...), not returned as the default
  • Replace fully-qualified class names with imports in EventQueueTest

Follow-up to review feedback from #1039 and #1040.

Test plan

  • mvn clean install -pl server-common -am passes (all tests green)
  • Verify no regressions in CI

🤖 Generated with Claude Code

…1040

- Fix import ordering of TaskQueryParams in DefaultRequestHandlerTest
- Remove fragile reflection-based test for negative historyLength guard
  (the two public-API tests already exercise the limitTaskHistory path)
- Trim verbose 4-line comment on negative historyLength guard to one line
- Fix Javadoc on bufferFlushDelayMs(): negative values are clamped to 0,
  not returned as the default
- Replace fully-qualified class names with imports in EventQueueTest

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ehsavoie
ehsavoie merged commit bfceb74 into a2aproject:main Aug 11, 2026
13 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.

2 participants