<#6476 [BUG] Task Statuses Under Dynamic Workflow ...
# flyte-github
c
#6476 [BUG] Task Statuses Under Dynamic Workflow Not Propagated to FlyteAdmin Database Issue created by ta-stripe ### Describe the bug We are experiencing an issue with a dynamic sub-workflow. The workflow executed successfully and displays the correct input and output, but the task information is not visible in the Flyte Console UI. There're logs under the "Executions" tab and no "Task" tab. All child tasks of the sub-workflow also executed successfully, as confirmed through wandb logging. However, despite their successful execution, the statuses of these child tasks are shown as
UNKNOWN
instead of
SUCCEEDED
in Flyte UI, and there is no input/output data displayed. Querying the
flyteadmindb.task_execution
table does not yield any logs for the nodes in question. This inconsistency suggests that while the Flyte Console UI is consistent with the FlyteAdmin database, it does not accurately reflect the actual execution status. ### Expected behavior FlyteAdmin's
task_execution
table should correctly reflect the statuses of these tasks, and the Flyte Console should accordingly display the status as
SUCCEEDED
instead of
UNKNOWN
. The Flyte Console should also properly display task information and logs for the parent sub-workflow. ### Additional context to reproduce • We are on Flyte 1.15 (flytekit 1.15.3) ### Screenshots (p1) Flyte UI showing the dynamic sub-workflow (parent)'s information: missing execution logs and the task tab [Image](https://private-user-images.githubusercontent.com/197316484/449056095-78ad6a1f-3960-4879-b1cc-4f5def056490.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDkwMTMyNzYsIm5iZiI6MTc0OTAxMjk3NiwicGF0aCI6Ii8xOTczMTY0ODQvNDQ5MDU2MDk1LTc4YWQ2YTFmLTM5NjAtNDg3OS1iMWNjLTRmNWRlZjA1NjQ5MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwNjA0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDYwNFQwNDU2MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zYTQ1Nzc0MDc0MTY0MGRlY2E0Y2Q2NjQyZDc0ZTU3YzQ2ZTcyNDFkZDRmODg2NDBkNjVlY2Q4YjRmZTFjNDA0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.EM01tBWIt__Y_jHlADTkZvgr56M4nTvS2srnaiKfuP0) (p2) Flyte UI showing the child tasks of the dynamic sub-workflow: status
UNKNOWN
[Image](https://private-user-images.githubusercontent.com/197316484/449056098-d3789f58-296f-4421-9abb-b33e6b41e07f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDkwMTMyNzYsIm5iZiI6MTc0OTAxMjk3NiwicGF0aCI6Ii8xOTczMTY0ODQvNDQ5MDU2MDk4LWQzNzg5ZjU4LTI5NmYtNDQyMS05YWJiLWIzM2U2YjQxZTA3Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwNjA0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDYwNFQwNDU2MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wZDBhZWRmNzJhZjg0OWUxOTI0ZGJiNzRhMWE1OTIxNzU2ZDU0MWVmMTJiYzdlNmM0MTI4Mzk0ZGMxZGIwMzIwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.wZl3N5lcT5P9zZ_w9dS4Ljq_GEB7myqAd9qNV0TWMII) (p3) Querying FlyteAdmin database
task_execution
table shows no trace of the sub-workflow's node and its child nodes [Image](https://private-user-images.githubusercontent.com/197316484/449056096-2d27dfb2-2eb9-411a-9912-9ac232de4ee3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDkwMTMyNzYsIm5iZiI6MTc0OTAxMjk3NiwicGF0aCI6Ii8xOTczMTY0ODQvNDQ5MDU2MDk2LTJkMjdkZmIyLTJlYjktNDExYS05OTEyLTlhYzIzMmRlNGVlMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwNjA0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDYwNFQwNDU2MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yOWMxMWViZThkYzZkZjVjY2RlN2ZlOGNmNmM4ZjgzY2RiMWM2MzU2Zjk1ZmU2YmQ4NmRlNjYyMTBkODdhZmFlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.1Tlab6W6OUGWTwZ-g34_I9KReSGCdUxmUVhzPk0rpX8) ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte