Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix(pipelineGraph): Handling exception when requisiteStageRefIds is not defined #10086

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

christosarvanitis
Copy link
Member

@christosarvanitis christosarvanitis commented Apr 25, 2024

Deck prior to 1.27.x was rendering the pipelines when the first stages didnt have defined the requisiteStageRefIds.

Although this was not ideal it allowed users to template their first stages without the key. After the pipelineGraph updates this is causing an exception and breaking the rendering of the pipelines causing issues to users upgrading.

With this fix it is checked if the key is not defined and defaulting it to a empty array.

After the fix:
image

Before the fix:
image

@christosarvanitis
Copy link
Member Author

Backporting candidate for 1.34.x, 1.33.x and 1.32.x 🥺 ?

@ovidiupopa07 ovidiupopa07 added the ready to merge Reviewed and ready for merge label Apr 25, 2024
@mergify mergify bot added the auto merged Merged automatically by a bot label Apr 25, 2024
@mergify mergify bot merged commit 4e1635d into spinnaker:master Apr 25, 2024
4 checks passed
@ovidiupopa07
Copy link
Contributor

@Mergifyio backport release-1.34.x release-1.33.x release-1.32.x

Copy link
Contributor

mergify bot commented Apr 25, 2024

backport release-1.34.x release-1.33.x release-1.32.x

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Apr 25, 2024
mergify bot pushed a commit that referenced this pull request Apr 25, 2024
mergify bot pushed a commit that referenced this pull request Apr 25, 2024
mergify bot added a commit that referenced this pull request Apr 25, 2024
…ot defined (#10086) (#10087)

(cherry picked from commit 4e1635d)

Co-authored-by: Christos Arvanitis <[email protected]>
mergify bot added a commit that referenced this pull request Apr 25, 2024
…ot defined (#10086) (#10089)

(cherry picked from commit 4e1635d)

Co-authored-by: Christos Arvanitis <[email protected]>
mergify bot added a commit that referenced this pull request Apr 25, 2024
…ot defined (#10086) (#10088)

(cherry picked from commit 4e1635d)

Co-authored-by: Christos Arvanitis <[email protected]>
@mrusan mrusan deleted the fixRequiredRefIds branch April 25, 2024 13:38
@mrusan mrusan restored the fixRequiredRefIds branch April 25, 2024 13:38
sahititarigoppula pushed a commit to OpsMx/deck-oes that referenced this pull request Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Reviewed and ready for merge target-release/1.35
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants