Repository navigation
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
Open
kuangmi-bit wants to merge 4 commits into
kuangmi-bit wants to merge 4 commits into
Conversation
…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
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.
Same two jobs as #1515, moved out of
run-tck.yamlbecause that workflow isdisabled_manuallyin 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.
tck-1-0-jsonrpc104a7b4(1.0.0,requires-python>=3.15) viauv --python 3.15,--transport jsonrpc --level must; non-blocking until the SUT here declares 1.0native-consumerprobityai/probity/actions/observer@eb1376abwith nocontinue-on-error.github/scripts/a2a-native-selection.pyGate 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 wrongselection-sha256exits 1refused; one tampered artifact in the packet exits 1refused.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.yamlas 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 releaseda2a-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.
status: valid,planned: 6One defect found by running it, worth passing upstream: the composite action at
probityai/probity/actions/observerhands the reader${{ github.action_path }}/../../packages/agent-evidence-observer.native_reader.py:102requiresabsolute().resolve() == absolute(), so any..segment is refused assymlink_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.