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

Tool to send jobs to the worker #889

Open
josephjclark opened this issue Mar 3, 2025 · 1 comment
Open

Tool to send jobs to the worker #889

josephjclark opened this issue Mar 3, 2025 · 1 comment
Labels
good first issue Good for newcomers

Comments

@josephjclark
Copy link
Collaborator

josephjclark commented Mar 3, 2025

I would like a tool in ws-worker which:

  • allows me to specify a workflow in Javascript (with a helper API and multiline strings)
  • Maybe even lets me point to a workflow.json file, including file paths
  • (maybe we could use CLI compile to "import" a workflow .json)
  • Posts the workflow up to the worker directly

We can add dev options to the worker to make this easier. For example we may want to allow the worker to support native workflow.json format (rather than lighting's format)

What about log output? Will the worker freak out if lightning isn't attached? Maybe the tool needs to pretend to be lightning (or even start up the lightning mock), take events from the worker, and console.log them to shell or disk. That would be neat actually

I should be able to do like pnpm run path/to/workflow.{js|json} and it'll just magically do it for me

@github-project-automation github-project-automation bot moved this to New Issues in v2 Mar 3, 2025
@theroinaochieng theroinaochieng moved this from New Issues to DevX Backlog in v2 Mar 4, 2025
@josephjclark
Copy link
Collaborator Author

This issue is incomplete: but if you're looking for something to do in our repo, this is a great little issue to pick up! Please tag me if you're interested and I'll provide more details.

@josephjclark josephjclark added the good first issue Good for newcomers label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: DevX Backlog
Development

No branches or pull requests

1 participant