<#3476 [BUG] Flyte Console UI does not update work...
# flyte-github
a
#3476 [BUG] Flyte Console UI does not update workflow signature on change Issue created by myz540 Describe the bug The
flyteconsole
UI for workflows typically shows a preview of the workflow's inputs. However, when changes are made the workflow's signature and the registration is updated, the UI continues to show the outdated workflow signature rather than the latest, most recent version's signature. This is a pretty minor bug since clicking on
Launch Workflow
does bring up the correct workflow inputs.

image▾

Expected behavior The
flyteconsole
UI should show the latest version of a workflow's signature. Additional context to reproduce 1. Create a dummy project and workflow
Copy code
from flytekit import task, workflow


@task
def addition_task(a: int, b: int) -> int:
    return a + b


@workflow
def dummy_wf(a: int, b: int) -> int:
    return addition_task(a=a, b=b)
2. package and register the project + workflow. The UI should look as follows:

image▾

image▾

3. Make change to the workflow's signature
Copy code
from flytekit import task, workflow


@task
def addition_task(a: int, b: int) -> int:
    return a + b


@workflow
def dummy_wf(a: int, b: int, c: int, d: str) -> int:
    return addition_task(a=a, b=b)
4. Package and register the updated workflow. Note the UI still shows the older version's signature despite there being a newer / more recent version

image▾

image▾

Actually launching the workflow shows the updated signature

image▾

Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte