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

Simplify worker development logic #337

Open
1 task done
HenryQW opened this issue May 27, 2024 · 0 comments
Open
1 task done

Simplify worker development logic #337

HenryQW opened this issue May 27, 2024 · 0 comments

Comments

@HenryQW
Copy link
Contributor

HenryQW commented May 27, 2024

What feature is it?

Greatly simplify the development process for adding a new worker.

What problem does this feature solve?

Currently, adding a new worker may require thousands of lines of code, which is not great for attracting developers.
We may need to restructure the relevant logic to reduce the amount of work required to add a new worker.
Some possible ways:

  1. a CLI (TUI https://github.com/charmbracelet/bubbletea) to scaffold everything necessary for a worker, from folder directory to abigen, funcs to be implemented etc.
  2. decouple as much as logic possible from the current engine.Worker interface.

Additional description

No response

This is not a duplicated feature request or new worker proposal

@HenryQW HenryQW added the kind/feature New feature or request label May 27, 2024
@HenryQW HenryQW changed the title Optimize worker development logic Simplify worker development logic May 27, 2024
@HenryQW HenryQW added this to the v0.6 release milestone May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants