Skip to content

feat(ci): add the 1.0 TCK row and the native reader gate as its own workflow - #1527

Open
kuangmi-bit wants to merge 4 commits into
a2aproject:mainfrom
kuangmi-bit:tck-1-0-workflow
Open

kuangmi-bit wants to merge 4 commits into
a2aproject:mainfrom
kuangmi-bit:tck-1-0-workflow

Conversation

@kuangmi-bit

@kuangmi-bit kuangmi-bit commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Same two jobs as #1515, moved out of run-tck.yaml because that workflow is disabled_manually in this repository (workflow id 225618664, last run 2026-04-20, last five runs all failures). Anything added there is never scheduled, so #1515's gate existed on paper only — five green checks on that PR were lint-green, never gate-green.

This file is active by default and does not depend on anyone's admin action.

Piece What it does
job tck-1-0-jsonrpc a2a-tck at 104a7b4 (1.0.0, requires-python>=3.15) via uv --python 3.15, --transport jsonrpc --level must; non-blocking until the SUT here declares 1.0
job native-consumer produces the six-attempt native packet with the pinned A2A profile (SDK 1.2.1), selects inputs outside the packet, runs probityai/probity/actions/observer@eb1376ab with no continue-on-error
.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

Gate evidence is the same as #1515 and was run offline before opening either PR: expected-pass exits 0 with status: valid (planned 6 / started 5 / scored 2); a wrong selection-sha256 exits 1 refused; one tampered artifact in the packet exits 1 refused.

What I have not run is the 1.0 TCK row (no Python 3.15 here), which is why it stays non-blocking.

If you would rather the gate live in run-tck.yaml as originally agreed, enabling that workflow (gh workflow enable run-tck.yaml) makes #1515 the right PR and this one redundant — say so and I will close this instead. Two decisions still open from #1515: whether the packet should be produced by the released a2a-sdk==1.2.1 (as the pinned profile does) or by this repository's tree, and how selection pins reach an accepted channel.

First real CI execution (2026-11-26)

The workflow runs on this PR — that is the point of moving it.

Job Result
Native A2A packet + reader gate success — status: valid, planned: 6
TCK 1.0 row (jsonrpc, Python 3.15) setup through "Wait for SUT to start" all green; the TCK run itself still executing at the time of writing (non-blocking)

One defect found by running it, worth passing upstream: the composite action at probityai/probity/actions/observer hands the reader ${{ github.action_path }}/../../packages/agent-evidence-observer. native_reader.py:102 requires absolute().resolve() == absolute(), so any .. segment is refused as symlink_or_noncanonical_path — which is what a remote consumer always gets. The first CI run failed on exactly that code before touching the packet. This PR therefore calls the same pinned reader CLI with canonicalised paths instead of the action; arguments are unchanged and a refusal still fails the job.

…orkflow

The two jobs were written against run-tck.yaml, which is disabled_manually in this
repository (id 225618664, last run 2026-04-20, last five runs all failures). Anything
added there is never scheduled, so the gate would exist on paper only.

Same content, in an active workflow file, plus the selection generator the gate needs:
- tck-1-0-jsonrpc: a2a-tck at 104a7b4 (1.0.0, requires-python >=3.15) via uv on 3.15,
  with the 1.0 runner flags; non-blocking until the SUT here declares 1.0.
- native-consumer: pinned A2A profile packet, consumer selection built outside the
  packet, then probityai/probity@eb1376ab with no continue-on-error.
- .github/scripts/a2a-native-selection.py: generates the selection manifest, because the
  reader rejects one that does not match its own checkout and the packet's sources.

Refs a2aproject#666. Supersedes a2aproject#1515, which placed the same jobs in run-tck.yaml.
The composite action hands the reader ${{ github.action_path }}/../../packages/agent-evidence-observer.
native_reader.py:102 requires absolute().resolve() == absolute(), so any path carrying a
'..' segment is refused as symlink_or_noncanonical_path, which is exactly what a remote
consumer gets. First CI run of the gate failed with that code before touching the packet.

Same pinned commit, same arguments, canonicalised paths; refusal still fails the job.
…e on the step

uv run --project changes the environment, not the working directory, so run_tck.py was
spawned from the repository root and failed with 'Failed to spawn: run_tck.py / No such
file or directory' — a wiring error, not a conformance result. The step now runs with
working-directory: tck/a2a-tck-1-0.

continue-on-error moves from the job to that step: at job level a failing row paints the
whole job red on the PR, which reads as a conformance failure; at step level it reads as a
warning on a green job, which is what a deliberately non-blocking row should look like.

This branch has not been deployed

No deployments
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