You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move the remaining step-script harnesses onto one step-bounded reader #2775
Several test harnesses read a workflow step's script by splitting the file on the step's name marker and taking the first run: | after it, without bounding the search to that step. Where the named step has no run: of its own, or loses it in an edit, the harness silently runs the next step's script instead, so a test can pass against a step it never read.
tests/test_prose_lint.py had three copies of this shape and now reads every step script through one reader, step_script(path, name), built on yaml_step, which slices exactly the one sequence item carrying the name before looking for its run: block (the change that closes #1665). The same unbounded shape survives in files that change did not touch:
tests/test_release_guards.py, five sites, each a split(marker) followed by the first run: | (or run: |-) match.
tests/test_publish_plan.py, decision_script, which takes the first run: | after id: decide.
Done looks like: the step reader and yaml_value move to a module the suites share (for example tests/host_capability.py, which these suites already import, or a new shared test helper module), every site above reads its step through it, and a constructed workflow where the named step has no run: makes each harness fail rather than run the following step.
Activity
Pin the Prose Gate's Override Wiring by Structure (#2776)
Share the Bounded Step Reader Across the Test Harnesses (#2778)