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

stacks: applyable status should be dependent on applyable components #35350

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

liamcervante
Copy link
Member

This PR updates the logic for deciding whether an overall stack is "applyable" so that it takes into account the applyable status of all component instances.

Previously, a stack was "applyable" as long as it had no error diagnostics. Now, a stack is applyable if it (a) has no error diagnostics and (b) at least one component is "applyable".

Finally, stack outputs are not currently stored as part of the state of a stack anywhere. This means that there is no need for the applyable status of a stack to depend on outputs. I've updated a TODO within the code that is calling for outputs to be added to state so that it also calls out that if/when this happens the applyable status of a stack should be updated to reflect that status of any outputs.

@liamcervante liamcervante requested a review from a team June 17, 2024 11:07
@liamcervante liamcervante merged commit 284ce63 into main Jun 18, 2024
6 checks passed
Copy link

Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch.

@liamcervante liamcervante deleted the liamcervante/stacks/applyable branch July 17, 2024 09:34
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants