Skip to content

Conversation

Maed223
Copy link
Contributor

@Maed223 Maed223 commented Jun 16, 2025

Description

Previously forgotten in the PR removing the VCS repo validation was to remove the omit-empty jsonapi tag in the StackUpdateOptions. This is needed as we need to explicitly give nil in the request to remove the VCS backing of a Stack. Before this wouldn't work as the nil was being omitted from the request. This is a requirement for the tfe provider work.

Testing plan

Added a test to cover this change

Output from tests

Screenshot 2025-06-16 at 4 25 16 PM
Screenshot 2025-06-16 at 4 34 20 PM
Screenshot 2025-06-16 at 4 35 06 PM

Rollback Plan

@Maed223 Maed223 force-pushed the remove-omission-of-vcs_repo-in-stack-update branch from 68828eb to 8c80322 Compare June 16, 2025 20:14
@Maed223 Maed223 marked this pull request as ready for review June 16, 2025 20:29
@Maed223 Maed223 requested a review from a team as a code owner June 16, 2025 20:29
@Maed223 Maed223 force-pushed the remove-omission-of-vcs_repo-in-stack-update branch from b4bd977 to 618c599 Compare June 16, 2025 20:36
@Maed223 Maed223 force-pushed the remove-omission-of-vcs_repo-in-stack-update branch from 618c599 to 3adb691 Compare June 16, 2025 20:39
Copy link
Collaborator

@ctrombley ctrombley left a comment

Choose a reason for hiding this comment

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

LGTM!

@Maed223 Maed223 merged commit 8ecb40c into main Jun 16, 2025
10 of 12 checks passed
@Maed223 Maed223 deleted the remove-omission-of-vcs_repo-in-stack-update branch June 16, 2025 21:23
Copy link

Reminder to the contributor that merged this PR: if your changes have added important functionality or fixed a relevant bug, open a follow-up PR to update CHANGELOG.md with a note on your changes.

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

Successfully merging this pull request may close these issues.

2 participants