Repository navigation
Conversation
Accept the protocol HTTP+JSON media type while retaining legacy JSON requests, correct domain error bindings, and enforce the SUT's advertised input modes. Pin the current TCK revision and correct its two contradictory assertions without changing requirement scoring or skipping tests.
Run upstream main without modifying its assertions, preserving its failure results while the upstream defects are resolved. Keep the SDK binding fixes and document the known unmodified-suite failures.
Owner
Author
|
perhaps we can close this and keep v1.0.1 A2A compatibility within release v0.6.0 of this SDK. |
MisterVVP
added a commit
that referenced
this pull request
Nov 6, 2026
Refs #232; combines its four checkpoints in one PR targeting `release/v0.6.0`. Windows outbound libcurl requests now use `WSAPoll`, a coalesced TCP wake connection and steady-clock deadlines. Socket generations discard stale readiness, and orderly EOF drains buffered response data. New connections start between readiness/cancellation turns to prevent Winsock connection checks from delaying ready work. The existing CURLM ownership, bounded shard/dispatch pools and public APIs are preserved. Regression coverage includes timers, wakeups, cancellation/completion/shutdown races, 96 simultaneous transfers on one reactor, and HTTP+JSON/JSON-RPC streaming. Windows CI compares prebuilt native/fallback binaries in both execution orders and provisions enough TCP ports for the 28,320-stream workload. The release branch also needs the A2A 1.0.1 protocol corrections shared with #324: HTTP+JSON media types, HTTP/gRPC error bindings and SUT input-media validation. Protocol strings are centralized across the touched transports, benchmark tooling and fixtures. Wire values and benchmark budgets are preserved, and test expectations remain independent. Validation: - [SDK CI](https://github.com/MisterVVP/a2a-cpp/actions/runs/42262766833) passed, including Windows, both macOS builds, sanitizers, interoperability and coverage. - [Native benchmark reports](https://github.com/MisterVVP/a2a-cpp/actions/runs/42262766833/artifacts/13525827221) pass strict and cloud budgets in both orders, with all 28,320 samples and zero errors. Earlier native attempts occasionally missed the strict 16-stream startup budget; latency remains dependent on libcurl, Winsock and runner scheduling. - Local canonical verification: 781 registered checks, with three expected skips; formatting, explicit clang-tidy, mdBook, dependency audit and all 54 performance-smoke scenarios pass. The callback gRPC regression suite also passes all 35 checks. - [Windows build and comparison instructions](https://github.com/MisterVVP/a2a-cpp/blob/perf/windows-curl-readiness-232/book/src/streaming/windows-reactor.md). Unmodified upstream TCK at `104a7b4ae0d83f65c075e3793e322953a830eaba` reports **242 passed, 4 failed, 17 skipped**. Remaining upstream defects are [CORE-SEND-003's missing expected error](a2aproject/a2a-tck#202) and the [legacy Content-Type assertion](https://github.com/a2aproject/a2a-tck/blob/104a7b4ae0d83f65c075e3793e322953a830eaba/tests/compatibility/core_operations/test_error_handling.py#L777). TCK runs without local assertion patches or skipped failures.
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The TCK job on
mainexposed A2A 1.0.1 server-binding mismatches. This focused backport shares the SDK corrections with #323 and contains no Windows reactor changes.HTTP+JSON accepts
application/a2a+jsonalongside legacy JSON requests and emits the protocol response media type. HTTP/AIP-193 and gRPC domain errors use the prescribed statuses and ErrorInfo reasons. The deterministic SUT rejects message-part media types outside its advertised input modes.TCK runs directly from upstream
main. There are no local TCK assertion patches, added skips, or changes to requirement scoring or failure exit codes. The original upstream-checkout workflow is restored. Upstream now requires Python 3.15; CI installs that runtime explicitly.Fresh runs of unmodified upstream TCK at
104a7b4ae0d83f65c075e3793e322953a830eabaagainst both #324 and #323 each report 242 passed, 4 failed, 17 skipped against this SUT. Remaining upstream defects are visible:application/json, contradicting the separate SHOULD test forapplication/a2a+json(source). Prepared upstream report; automatic issue creation was denied by GitHub integration permissions (403).The macOS CI job uses the supported
macos-15-intelrunner; GitHub retired macOS 14 runners on November 2, 2026. This is a one-line runner-label correction.Validation: the latest canonical SDK verification and all 706 registered checks pass, together with explicit clang-tidy, tracked-file formatting, mdBook and the dependency audit. The existing 54-scenario performance-smoke result applies to the unchanged SDK implementation.
One initial verification attempt aborted during HTTP-client process teardown after the test assertions passed (
Resource deadlock avoided). The isolated test and subsequent full serial verification pass; that HTTP-client code is unchanged frommain.The TCK job remains expected to fail until upstream resolves the assertion defects. No full TCK-compliance claim is made.
Authorship: generated by an AI agent.