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

make sure ephemeral nodes with zero instances work #36719

Merged
merged 2 commits into from
Mar 19, 2025

Conversation

jbardin
Copy link
Member

@jbardin jbardin commented Mar 19, 2025

The graph expansion code always wants a valid, non-empty graph now, but the ephemeral apply nodes could expand into zero instances and result in an empty graph. Make sure there is at least a root node to satisfy the graph validator during the apply walk.

Fixes #36714

Target Release

1.11.x

The graph expansion code always wants a valid, non-empty graph now, but
the ephemeral apply nodes could expand into zero instances and result in
an empty graph. Make sure there is at least a root node to satisfy the
graph validator during the apply walk.
@jbardin jbardin added the 1.11-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Mar 19, 2025
@jbardin jbardin marked this pull request as ready for review March 19, 2025 13:14
@jbardin jbardin requested a review from a team as a code owner March 19, 2025 13:14
@jbardin jbardin merged commit 6776664 into main Mar 19, 2025
14 checks passed
@jbardin jbardin deleted the jbardin/zero-instance-ephem branch March 19, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.11-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error for ephemeral resource in module with count = 0
2 participants