flyte icon indicating copy to clipboard operation
flyte copied to clipboard

[BUG] flyte workflow execution nodes for dynamic tasks collapse in web UI after completion

Open MattGPT-ai opened this issue 3 years ago • 7 comments

Dynamic workflows (using the @dynamic decorator) will expand out the dynamically created tasks in the web UI after they are run, and will be displayed even after completion:

Screen Shot 2022-12-02 at 1 18 01 PM

however, after that same execution is refreshed, that expansion into nodes collapses, and the information of the workflow structure is no longer available:

Screen Shot 2022-12-14 at 8 11 08 PM

here is example code that defines the overall dynamic workflow:

@dynamic
def train_workflow_inner(
    recipe_path: str,
    k_folds: int = 1,
) -> int:

    data_flytedir = data_prep_task(recipe_path=recipe_path, recipe_hash=recipe_hash)

    s = None
    for i in range(k_folds):
        model_and_data_flytedir = training_task(
                data=data_flytedir,
                k_folds=k_folds,
                i_fold=i,
        )
        s = eval_task(data=model_and_data_flytedir)

    return s

MattGPT-ai avatar Jan 07 '23 00:01 MattGPT-ai

Thank you for opening your first issue here! 🛠

welcome[bot] avatar Jan 07 '23 00:01 welcome[bot]

Cc @jsonporter

kumare3 avatar Jan 07 '23 03:01 kumare3

I've also noticed similar behavior w/ the graph view

rahul-theorem avatar Jan 13 '23 04:01 rahul-theorem

Hello 👋, This issue has been inactive for over 9 months. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will close the issue if we detect no activity in the next 7 days. Thank you for your contribution and understanding! 🙏

github-actions[bot] avatar Oct 10 '23 04:10 github-actions[bot]

Hello 👋, This issue has been inactive for over 9 months and hasn't received any updates since it was marked as stale. We'll be closing this issue for now, but if you believe this issue is still relevant, please feel free to reopen it. Thank you for your contribution and understanding! 🙏

github-actions[bot] avatar Oct 18 '23 00:10 github-actions[bot]

Not sure if I should open a new issue, but it appears that the dynamically executed executed tasks don't even expand out at any point. The dropdown arrow to expand the dynamic task appears, and clicking on it changes its orientation, but no subtasks are ever displayed

MattGPT-ai avatar Aug 14 '24 02:08 MattGPT-ai

I would also love to see this fixed :)

jeffpicard avatar Aug 14 '24 21:08 jeffpicard

"Hello 👋, this issue has been inactive for over 90 days. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will close the issue if we detect no activity in the next 7 days. Thank you for your contribution and understanding! 🙏"

github-actions[bot] avatar May 14 '25 00:05 github-actions[bot]

Hello 👋, this issue has been inactive for over 90 days and hasn't received any updates since it was marked as stale. We'll be closing this issue for now, but if you believe this issue is still relevant, please feel free to reopen it. Thank you for your contribution and understanding! 🙏

github-actions[bot] avatar May 22 '25 00:05 github-actions[bot]