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

Collections: better support for executing workflows #841

Open
josephjclark opened this issue Dec 9, 2024 · 0 comments
Open

Collections: better support for executing workflows #841

josephjclark opened this issue Dec 9, 2024 · 0 comments

Comments

@josephjclark
Copy link
Collaborator

When running a workflow through the CLI which uses Collections, we ought to improve the support

  • Detect whether any steps use collections.*
  • For those steps, automatically add the collections adaptor to the execution plan
  • Automate the generation of the top-level credentials object
  • accept --lightning as an argument to use as the collections endpoint, defaulting to OPENFN_ENDPOINT
  • accept --pat argument, defaulting to OPENFN_PAT

The worker does exactly these things. The CLI should too!

The collections command already adds support and precedence for the env vars and lightning argument. We should totally re-use this stuff for execute.

@github-project-automation github-project-automation bot moved this to New Issues in v2 Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New Issues
Development

No branches or pull requests

1 participant