-
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
Fix slot parsing in unless/onlyif function arguments #53307
Conversation
70b5066
to
20e02b4
Compare
@DmitryKuzmenko I made a few changes, could you please review this again? Also it would be nice if someone independently verified that my fix works. My initial one-line patch didn't work because the
I rewrote the fix as suggested in the Slack room and added a couple of unit tests. |
I would also like this to get merged before the Neon feature freeze |
FYI I migrated this PR from develop to neon to ensure it is included in the upcoming neon release. Let me know if this caused any issues. Thanks |
I noticed the test_state tests are not running, since develop runs partial tests related to the PR but it did not catch this one. I'm going to try to run a full test run so we can see the results of |
re-run full all |
re-run full all |
Rebased and added a release note. |
@max-arnold thank you for your work. Currently we're working on the upstream tests fixes. After that we'll have to rebase this again and ensure tests are green here. It's just a formal procedure. Sorry for delay. |
@max-arnold can this be re-based against master? |
9929dbf
to
0c36b95
Compare
re-run full centos6-py2 |
re-run full amazon1-py2 |
@dwoz Rebased, all tests are green! |
What does this PR do?
I'm trying to improve #51846 (a feature that allows using execution modules in unless/onlyif). I want to be able to do this:
Previous Behavior
Using slots as unless/onlyif function arguments doesn't work.
New Behavior
The basic expectation is that slots should work anywhere within a state.
Tests written?
WIP
Commits signed with GPG?
No