<#921 fix(breadcrumbs): link to the executed workf...
# flyte-github
a
#921 fix(breadcrumbs): link to the executed workflow, not the launch plan Pull request opened by 1fanwang TL;DR When a launch plan is named differently from its workflow, the execution breadcrumb's link to the workflow goes nowhere — it points at the launch plan's name, which isn't a workflow, so you land on an empty page. Type • Bug Fix • Feature • Plugin Are all requirements met? • Code completed • Smoke tested • Unit tests added • Code documentation added • Any pending items have an associated Issue Complete description The breadcrumb built its link — and the name, version, and project/domain — from
spec.launchPlan
, the launch plan's identity, when it should follow
closure.workflowId
, the workflow that actually ran. The two usually share a name, which is why this went unnoticed. I read those fields from
closure.workflowId
instead, relabeled the crumb "Workflow Name", and fixed a neighboring
projectId === …domain
comparison that should have been
domainId
. Smoke-tested on a live console with an execution launched through a launch plan named differently from its workflow: before, the crumb links to a workflow page that doesn't exist; after, to the real one.
executionContext.test.ts
covers it. Tracking Issue NA Follow-up issue NA flyteorg/flyteconsole