Manual Execution #139
Merged
raphael-goetz merged 8 commits into#96-distinguish-local-remote-executionfrom Apr 5, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new “manual” CLI for executing validation flows (including remote node execution via NATS), factors shared test-case loading/types into a new tests-core crate, and updates flow fixtures/executor logic to support definition_source-based remote detection.
Changes:
- Add
crates/manualbinary to execute a single flow case from a JSON file, with optional remote execution via NATS. - Introduce
crates/tests-coreto share flow test-case structs and JSON loading helpers; updatecrates/teststo use it. - Add
definition_source: "taurus"to sample flows and adjust executor remote detection behavior for emptydefinition_source.
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| flows/03_for_each.json | Adds definition_source to node functions in the flow fixture. |
| flows/02_return_flow_input.json | Adds definition_source to node functions in the flow fixture. |
| flows/01_return_object.json | Adds definition_source to node functions in the flow fixture. |
| crates/tests/src/main.rs | Switches to shared tests-core types/helpers and refactors test runner structure. |
| crates/tests/Cargo.toml | Adds tests-core dependency. |
| crates/tests-core/src/lib.rs | New shared crate for test-case models + JSON loading helpers. |
| crates/tests-core/Cargo.toml | New crate manifest for tests-core. |
| crates/manual/src/main.rs | New CLI to run a selected flow/input and print the execution result. |
| crates/manual/Cargo.toml | New crate manifest for manual. |
| crates/core/src/context/executor.rs | Tweaks remote-node detection when definition_source is empty. |
| Cargo.toml | Adds manual and tests-core to the workspace and workspace dependencies. |
| Cargo.lock | Locks new dependencies introduced by the added crates (e.g., clap). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
92292f7
into
#96-distinguish-local-remote-execution
1 check passed
Closed
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.
Resolves: ##138