-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[3007.x] Fix minion config option startup_states #66605
base: 3007.x
Are you sure you want to change the base?
Conversation
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. |
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 should probably be made against 3007.x branch. Would you mind rebasing this PR?
Thanks for the review! I'm currently on vacation, I'll take care of it when I get back (around June 24). |
Hey @transistortim any update on this? Thanks |
72142f6
to
4917f0d
Compare
Sorry for the delay, I was busy with some other things. Finally, here's the update :) |
Will this fix be made available for 3007.2 ? |
Looks like there is a lint failure. Would you mind taking a look? |
Shane,
Today I worked on another two issues related to async/await and also the tune_in() (the main tune_in in minion class). |
What does this PR do?
The changes in this PR fix #66592 by making additional functions use async/await.
What issues does this PR fix or reference?
Fixes #66592
Previous Behavior
11a06ce made some internal functions async. This broke functions calling these internal functions without await. This leads to the minion configuration option
startup_states
not working any more.New Behavior
Starting the minion with startup_states now works as expected.
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
No. Is this required?
Note
Making more functions async might have introduced some more bugs I didn't catch yet. Specifically I've never used ProxyMinions and Syndic, maybe somebody with more experience could look into that.