Skip to content

fix(protocol): align server bindings with A2A 1.0.1 - #324

Closed
MisterVVP wants to merge 4 commits into
mainfrom
fix/tck-1.0.1-bindings
Closed

MisterVVP wants to merge 4 commits into
mainfrom
fix/tck-1.0.1-bindings

Conversation

@MisterVVP

@MisterVVP MisterVVP commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

The TCK job on main exposed 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+json alongside 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 104a7b4ae0d83f65c075e3793e322953a830eaba against both #324 and #323 each report 242 passed, 4 failed, 17 skipped against this SUT. Remaining upstream defects are visible:

  • a2a-tck #202: CORE-SEND-003 lacks its expected error, causing three failures across the bindings.
  • The mandatory AIP-193 structure test requires legacy application/json, contradicting the separate SHOULD test for application/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-intel runner; 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 from main.

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.

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.
@MisterVVP

Copy link
Copy Markdown
Owner Author

perhaps we can close this and keep v1.0.1 A2A compatibility within release v0.6.0 of this SDK.

@MisterVVP MisterVVP closed this Nov 6, 2026
@MisterVVP
MisterVVP deleted the fix/tck-1.0.1-bindings branch November 6, 2026 21:18
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI agent AI agent contribution maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant