acoustic-carpenter-78188
03/16/2023, 6:11 PMflyteconsole 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▾
flyteconsole UI should show the latest version of a workflow's signature.
Additional context to reproduce
1. Create a dummy project and workflow
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▾
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▾
image▾