Repository navigation
Conversation
4 of 8 tasks
1fanwang
force-pushed
the
fix-breadcrumb-uses-executed-workflow
branch
from
August 24, 2026 10:06
2f51a4a to
240301a
Compare
The execution breadcrumb read its self-link, name, version, project, and domain from the launch-plan identifier. When a launch plan name differed from its workflow name, the breadcrumb pointed at a workflow page that did not exist. Read the identity from the executed workflow and relabel the breadcrumb as Workflow Name. Signed-off-by: 1fanwang <1fannnw@gmail.com>
Identical project and domain values let the self-link test pass even when it read the launch-plan identifier. Separate every identity so the route assertion covers project and domain as well as the workflow name. Signed-off-by: 1fanwang <1fannnw@gmail.com>
1fanwang
force-pushed
the
fix-breadcrumb-uses-executed-workflow
branch
from
August 24, 2026 10:28
240301a to
c8ac8f0
Compare
Signed-off-by: 1fanwang <1fannnw@gmail.com>
Signed-off-by: 1fanwang <1fannnw@gmail.com>
Contributor
Author
|
@Sovietaced could you review when you have time? |
…es-executed-workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
An execution's workflow breadcrumb can link to a page that does not exist. It read the self-link, name, version, project, and domain from the launch plan, and when the launch plan name differs from its workflow name, the generated link points at a workflow page under the wrong name. The detail link, version menu and full-version-list link now use the workflow that ran instead. Direct task executions keep their task names and versions.
Type
Are all requirements met?
Complete description
The detail link and version menu use the workflow identifier in the execution closure. The version request uses that workflow's project and domain too. Direct task executions still use the task identifier.
Testing Done
Ran the breadcrumb functions against a local HTTP server returning protobuf execution and version-list responses, once with the pre-fix source (commit 04d6a33) and once with the fix applied (commit fa27a92, folded into this PR head). The execution, launch plan and workflow have different identities, so a correct result must report the workflow one.
Command:
git checkout 04d6a334cb0742e0337226ef8b390188c6b2e00d -- packages/oss-console/src/components/Breadcrumbs && NODE_ENV=test node breadcrumb_repro.cjsResult, pre-fix source, the breadcrumb reports the launch plan name and project instead of the workflow's:
Command:
git checkout fa27a923b4ebd198e19fc532b97f0b3f2f84d41b -- packages/oss-console/src/components/Breadcrumbs && NODE_ENV=test node breadcrumb_repro.cjsResult, this PR head, the name, detail link, versions and view-all link use the executed entity identity for both a workflow execution and a direct task execution:
Reproducer source: breadcrumb_repro.cjs
I did not run a browser scrolling test or a live-backend smoke test.
Tracking Issue
N/A
Follow-up issue
N/A