Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(pipelineRef): conditionally load childExecutions when pipelineRef is enabled #10164

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

edgarulg
Copy link
Contributor

@edgarulg edgarulg commented Feb 19, 2025

When pipelineRef is enabled with the following changes: spinnaker/orca#4842
When click on the "View Pipeline Execution" in a execution with PipelineRef trigger Deck is not able to render parentExecution because it does not know how to handle a PipelineRefTrigger.
Captura de pantalla 2025-02-20 a la(s) 3 08 32 p m

As part of this changes I defined a new feature flag in deck that conditionally retrieve parent executions when the user visit the SingleExecutionDetails component in the UI.

How to enable
Setting.js needs to define the pipelineRefEnabled flag.
window.spinnakerSettings.feature.pipelineRefEnabled = true;

@edgarulg edgarulg marked this pull request as ready for review February 20, 2025 21:15
Copy link
Member

@jasonmcintosh jasonmcintosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm... still not totally comfortable on deck without tests, but.. this LOOKS like it'd work. I think the "tests" aspect is the only concern, but if rest of the approvers are good with UI stuff like this without tests, I'm good with it...

Copy link
Member

@christosarvanitis christosarvanitis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @edgarulg! This will keep the a consistent experience with not enabled the feature.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants