-
Notifications
You must be signed in to change notification settings - Fork 0
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
Don't tokenize --pre=all
#43
Don't tokenize --pre=all
#43
Conversation
a warning that the task was not dependent on "all".
a8586f5
to
f639513
Compare
for prereq in (prereqs or []) | ||
] | ||
_prereqs: 'Union[List[Tokens], Literal["all"]]' | ||
if prereqs == ['all']: |
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.
No point in carrying around the extra data structure of the list.
@@ -1393,8 +1393,8 @@ async def test_set_outputs_live( | |||
'runtime': { | |||
'foo': { | |||
'outputs': { | |||
'x': 'x', | |||
'y': 'y' | |||
'x': 'xylophone', |
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.
Unfortunately this change reveals a second bug caused by the message and the output having the same value.
I'm working on getting to the bottom of the why, but it looks to me like it's in the three satisfy_me
methods.
prerequisite.satisfied
seems to use a key of (cycle, name, message)
(I checked on master too), but the tokens being passed to this method are looking for (cycle, name, output)
.
Thanks @wxtim - I'll merge this then look at the other bug you've flagged here. |
leading to a warning that the task was not dependent on "all".
Bug created at 1c656ef