Skip to content

Conversation

@github-actions
Copy link
Contributor

Backport

This PR is auto-generated from #37833 to be assessed for backporting due to the inclusion of the label 1.14-backport.

The below text is copied from the body of the original PR.


Once we have a resource instance we no longer need to have all possible forceReplace addresses, we can determine immediately if the instance address is in the set of replacement addresses. This avoids bugs caused by sharing the -replace flag addresses across all resource nodes.

After working out a regression test for this, it became apparent that the test was not useful at all. It's not possible to regress this fix if the shared slice no longer exists, and even then relies on Go implementation details to get the slice len and cap to line up for the sharing to happen, so it may never fail again in the future. Since no behavior changes have been made, the existing test coverage should be sufficient.

Fixes #37831


Overview of commits

@github-actions github-actions bot force-pushed the backport/jbardin/force-replace-instance/repeatedly-next-asp branch from eb2c34a to c28163b Compare October 30, 2025 19:31
@github-actions github-actions bot requested a review from jbardin October 30, 2025 19:31
@jbardin jbardin marked this pull request as ready for review October 30, 2025 19:34
@jbardin jbardin requested a review from a team as a code owner October 30, 2025 19:34
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.

1 participant