-
-
Notifications
You must be signed in to change notification settings - Fork 172
Update notes entry for new dynamic runner loading #807
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
Conversation
docs/source/upgrade_notes.rst
Outdated
|
|
||
| This provides for more flexible installation and loading of runner modules. To install a custom | ||
| runner, user now just needs to install Python package which contains runner module into |st2| | ||
| virtual environment and run ``sudo st2ctl reload --register-runners`` command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to be sure I'm understanding it right, default runners that we package in core don't need additional st2ctl reload --register-runners and would work by default on app init?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This command still needs to be run so the information from disk is stored in the database (same as for any other resources).
In the future though, we could make that step implicit and happen automatically on service start up (like it used to be the case).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, it sounds like a regression to me 👎
While ideally to go towards pre-init all the content that comes with st2 core on app startup, making the st2 self-sufficient and minimally working after the first installation (and that affects all deployments), we sadly go the opposite side offloading repetitive instructions on user's shoulders adding more complexity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not a regression - it's exactly the same end user behavior, just the internals change.
While I would prefer if we could get rid of it, we need to approach it in incremental steps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having said that, I will see what we can do.
That st2 PR is already growing a bit big and I would like to scope things down.
Upgrade notes entry for change in StackStorm/st2#4217.