Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow me to run a step, not a whole workflow #29

Closed
josephjclark opened this issue Feb 6, 2025 · 2 comments · Fixed by #42
Closed

Allow me to run a step, not a whole workflow #29

josephjclark opened this issue Feb 6, 2025 · 2 comments · Fixed by #42
Assignees

Comments

@josephjclark
Copy link
Collaborator

josephjclark commented Feb 6, 2025

At the moment we have a Run Workflow option, which can be triggered from many places and is great.

When I have a file open, I want to be able to that step standalone. Probably just from the command palette - so we have Run Workflow and Run This Step or something.

In technical terms, we can either run the workflow and pass --only to just run this step file, or we can load the adaptor and credential etc from the workflow and run the expression standalone openfn job.js -a http -s input.json

@josephjclark
Copy link
Collaborator Author

This is Mtuchi's biggest blocker now: he cannot run a single step (there is some confusion around this)

He uses --start, --end and --only in the CLI a lot.

Maybe what we need is "run this step" and "run workflow from this step" as two distinct commands? I think we can probably forgo "run between these steps" or "run until this step" for now. And actually I think the "only" has got to be the major use case. If it's easy to run one step with input, the dev can step through the workflow as they need and just run the bits they want

Private slack thread: link

@doc-han doc-han self-assigned this Feb 15, 2025
@doc-han
Copy link
Collaborator

doc-han commented Feb 18, 2025

  1. Run workflow from this step should be supported by CLI. Hence, you provide a workflow.json and then the step id then CLI will do its work.

Currently, we can only support running a single step.

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 a pull request may close this issue.

2 participants