<#3504 [UI Feature] FlyteConsole: Update "task" ta...
# flyte-github
c
#3504 [UI Feature] FlyteConsole: Update "task" tab in execution detail panel to show data from dynamic closures Issue created by jsonporter ### Motivation: Why do you think this is important? When dealing with dynamic nodes, the "task" tab in the execution detail panel (slide-out) should always show the task template from the parent dynamic node's closure -- not from the node execution. Flyteconsole currently gets information about dynamic nodes by looking through the
node_execution
list for nodes with
is_dynamic_node
and then using that ID, fetching
api/v1/data/node_executions
. In the case of dynamic nodes, there will be a
dynamic_workflow
property -- this is the compiledWorkflowClosure we want to use in the task tab. Example WF with dynamic executions:
${host}/console/projects/flytesnacks/domains/development/executions/aqg8b6xfbqg6kf6hr7wg?duration=all
Example of dynamic execution:
${host}/api/v1/data/node_executions/flytesnacks/development/aqg8b6xfbqg6kf6hr7wg/n0-0-n0-n1
### Goal: What should the final outcome look like, ideally? 1. Task tab in the node execution detail panel shows the task template from the nearest-parent's compiledWorkflowClosure when dealing with dynamic executions. 2. The task template from the root compiledWorkflowClosure remains shown in non-dynamic cases. ### Propose: Link/Inline OR Additional context No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte