-
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
[master] Fix requisite performance issues and aggregation #66135
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. |
This needs to be rebased and conflicts resolved |
9c21f3a
to
d8ab151
Compare
add install of networkx fix aggregate to properly work with requisites fix requisite checking to not be exponential fix pkg aggregate to work when multiple states specify the same package add some type hints to state.py to make the code easier to follow fix case of pkg aggregate duplicate package.
d8ab151
to
bbf8c74
Compare
Add slots to DependencyGraph Pinned networkx to 3.1 Pinned networkx to latest version supported on python 3.8 to support running salt-ssh to systems with python 3.8 Fixed assignment of env in support helpers VirtualEnv Restrict networkx version with contraints instead of in base Fixed setting context retcode in some places where errors are returned. Removed unnecessary pylint ignore comment. Reverted importlib-metadata version bump. Added networkx to versions report Actually fixed VirtualEnv env assignment from kwargs
bbf8c74
to
6f12f34
Compare
I rebased off the latest master and resolved the conflicts. |
What does this PR do?
What issues does this PR fix or reference?
Fixes: #8210, #47154, #59123, #62439, #65304
Previous Behavior
Applying states with many requisites took exponential time by the number of states with requisites.
Aggregating states did not honor requisites correctly.
New Behavior
Applying many states with requisites is no longer exponential.
Aggregating states now correctly honors requisites.
Merge requirements satisfied?
Commits signed with GPG?
No