-
Notifications
You must be signed in to change notification settings - Fork 660
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
[BUG] Nested @task invocations should not supported #3734
Comments
The documentation might call this case out explicitly and offer dynamic tasks as an alternative. |
ahem dynamic workflows |
Need some help on this task...it seems there is no existing variable in |
@eapolinario @pingsutw please check flyteorg/flytekit#1727 if that is the right way to address this issue! Not sure if this is a good first issue, but it is a good exploration issue for the code base... |
flyteorg/flytekit#1727 fixes this and will go out in 1.9.0. |
Describe the bug
The documentation defines tasks as the units of execution. This doesn't explicitly disallow nested tasks, in other words, it's reasonable to assume that some users will extrapolate the assertion to cover nested tasks as well (i.e. separate tasks running in separate environments/containers).
For example, in this code:
nested_task
runs in the same process astask
, as though it was a local execution of that task.Expected behavior
Users should receive some indication that nested tasks are not allowed. A log message should suffice.
Maybe worth calling out in the documentation as well.
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: