Repository navigation
feat(ci): add the 1.0 TCK row and the native reader gate to run-tck - #1515
Open
kuangmi-bit wants to merge 2 commits into
Open
kuangmi-bit wants to merge 2 commits into
kuangmi-bit wants to merge 2 commits into
Conversation
Consumer half of the split agreed in a2aproject#666: the reader and every refusal condition belong to probityai, the consumer job belongs here. - tck-1-0-jsonrpc: a2a-tck at 104a7b4 (version 1.0.0, requires-python >=3.15) run through uv on Python 3.15 with the 1.0 runner flags (--sut-host/--transport/ --level). Kept outside the 3.10/3.13 matrix; non-blocking until the SUT declared in this repository supports 1.0. - native-consumer: produces the six-attempt native JSON-RPC packet with the pinned A2A profile (SDK 1.2.1), builds the consumer selection outside the packet, and invokes probityai/probity@eb1376ab with no continue-on-error, so a refusal fails the job. - .github/scripts/a2a-native-selection.py generates the selection manifest: the reader rejects one that does not match its own checkout and the packet's retained sources, so it cannot be hand-written.
Q000/I001/D/S603 from the pinned ruff config; re-ran the gate afterwards (reader exit 0, status valid) to confirm the manifest still verifies.
This branch has not been deployed
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.
Consumer half of the split agreed in #666: the reader and every refusal condition stay with probityai; the consumer job in
run-tck.yamlis here.What this adds
tck-1-0-jsonrpc104a7b4(version1.0.0,requires-python = ">=3.15"), run throughuv --python 3.15, jsonrpc transport,--level mustnative-consumer.github/scripts/a2a-native-selection.pyprobity-native-consumer-selection-v1manifestTwo things forced the shape:
104a7b4needs Python 3.15 while the existing matrix runs 3.10/3.13, and the 1.0 runner takes--sut-host/--transport/--levelinstead of--sut-url/--category/--transports. Wiring the 1.0 row intotck-testwould have silently run the 0.3 runner against the wrong flags.reader_sources/installed_sourcesdiffer from its own checkout, and whosenative_pinsdo not match the packet's retained sources. The script asks the reader for the source maps (--describe-sources a2a) and digests the seven retained source files, so the manifest is derived, not typed.Refusal is not overridable here: the reader step has no
continue-on-error, and the packet, the selection and the full receipt directory are uploaded withif: always()so a failed gate still leaves its evidence.What I actually ran (locally, offline)
The gate half is executed end-to-end: pinned observer at
eb1376ab, Python 3.12, producer profileinterop/a2a-native-2026-10-02.1.2.1@041c17bb, six planned attempts685d3f42…5a50, 23 artifactsstatus: valid, exit 0 — planned 6 / started 5 / scored 2 / task_passed 1 / task_failed 1 / unknown_start 1selection-sha256status: refused, exit 1status: refused, exit 1So the gate does block, and it blocks for the two reasons that matter (pin mismatch, byte mismatch).
What I did not run: the
tck-1-0-jsonrpcjob. There is no Python 3.15 interpreter on this machine, so I verified that104a7b4declaresrequires-python = ">=3.15", that the runner's flags are as used above, and that3.15is available tosetup-python/uv— but I have not seen the row execute. It is setcontinue-on-error: truefor that reason, and because whether the SUT declared in this repository speaks 1.0 is a separate question I cannot answer from here.Two things I need from you rather than deciding myself
a2a-sdk==1.2.1, so the packet currently attests the released SDK, not the tree under test. I can install this repository into the profile instead if the gate is meant to reflect the PR — but that changes what the packet is evidence of, so it is your call.docs/NATIVE-CONSUMER-CI.mdclasses as a reproduction-grade selection. Getting to an accepted pin set needs your channel; the script is written so the pins can be injected by a reviewer instead.run-tck.yamlis disabled in this repositoryGET /actions/workflowsreportsstate: "disabled_manually"for.github/workflows/run-tck.yaml(workflow id 225618664). Its last run is 2026-04-20, and the last five runs there are allfailure— including thepushtomain. NoRun TCKrun was scheduled for this PR, which is why the two new jobs have not executed in CI; the gate evidence above is from my local run only.So as it stands these jobs are inert. Three ways to settle it, and I have not picked one for you:
gh workflow enable run-tck.yaml) and the consumer job starts running beside the TCK row — closest to what we agreed in [Task]: 1.0: Run TCK tests against 1.0 implementation #666.run-tck.yamlis intentionally retired (the 0.3.0.beta3 pin in it suggests it predates the 1.0 work).run-tck.yamlfor the record and gates nothing until the workflow is restored — I would close the PR rather than leave a gate that cannot fire.Say which and I will follow it; option 1 needs no code change from me.
If the split was meant differently — e.g. the 1.0 row should gate as well — say which and I will adjust the blocking flags.