Repository navigation
feat(acts): sequential test runner - #62
Merged
Merged
Conversation
JakubWorek
force-pushed
the
jakubworek/acts-runner
branch
from
September 7, 2026 07:53
9411653 to
55a7eb5
Compare
mykytanetipa
reviewed
Sep 7, 2026
mykytanetipa
approved these changes
Sep 8, 2026
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.
Summary
Adds
runner.py: the part that decides what happened. Everything it needs already exists - the loader produced the plan,dispatcher/performs a call on one binding, andassertions.pyandvariables.pysay what a response means. This sequences them and turns the outcome into §13.3 results.Two distinctions carry the design.
Fail is not error. A
failis a statement about the SUT: it answered, and its answer did not conform. Anerroris a statement about the run: the call could not be completed, or the test referred to a variable nobody defined. Reporting the second as the first would put a bug in our runner into somebody else's conformance record. The split shows up in unobvious places - a capture whose path misses is a fail, because the path is well-formed and the SUT simply answered with the wrong shape, while an undefined{{variable}}is an error.Skip is not fail either. A SUT that does not advertise push notifications is not non-conformant for lacking them (§12.5), and neither is one reached over a binding the test does not target (§12.3). Missing
tck-*behaviours are the deliberate exception: those fail, because a skip would let an SDK's lagging support disappear quietly from its own report.sut_behaviors=Noneturns the gate off entirely, which is how a repo behaves before it adopts §11.Notes
expect.bodyroutinely assertsid: "{{send.taskId}}", so the wholeexpect/expect_error/assertionstree is resolved against the scope first. The one field deliberately left alone isnamed-assertion.source, which is a reference resolved separately into the value the assertion runs against.run_suiteis sequential on purpose: tests share one SUT whose task list is global to it, soCORE-LIST-*is only meaningful if nothing else is creating tasks concurrently.sleepandclockare injectable, which is the only reason the tests finish - the corpus polls withdelay_ms: 2000, max_attempts: 15.import test_suite.actsmust not pull ingrpc, a property exportingRunnerhad broken; a test pins it.Against a SUT that answers
{}to everything, all 111 corpus tests reach a verdict on all three bindings and none errors.