Open shydefoo opened 1 month ago
Thank you for opening your first issue here! 🛠
The issue you're encountering with the Flyte UI showing a TypeError
when using approve
in a dynamic workflow with overridden node names is likely related to known limitations and bugs in handling node name overrides, especially in dynamic contexts. According to this discussion and this GitHub issue, long node names or specific characters in node names can cause unexpected behavior in the Flyte UI.
To avoid this issue, you can either:
Would you like more details on how to handle node name overrides or any other aspect of Flyte?
Sources:
This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not.
Mention @runllm to ask follow-up questions. See runllm.com for more!
Describe the bug
Summary
Flyte UI shows
TypeError: Cannot read properties of undefined (reading 'id')
when subworkflow node_name is overriddenWhen clicking the resume button, this error message appears
This blocks the execution from resuming.
This was fixed by changing
subworkflow(v=i).with_overrides(node_name=f"subworkflow_{i}")
to justsubworkflow(v=i)
Expected behavior
Additional context to reproduce
Sample code to reproduce example:
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?