Skip to content

Conversation

@SarahFrench
Copy link
Member

These 'bugs' are not user facing, as any invalid managed resource/data resource/ephemeral resource are caught due to that resource type not being present in the provider schema (for example, here).

However this code is wrong- the Append method doesn't mutate the Diagnostics collection. The returned value always needs to be assigned back to where the collection is stored.

Target Release

1.13.x

CHANGELOG entry

  • This change is user-facing and I added a changelog entry.
  • This change is not user-facing.

@SarahFrench SarahFrench added the no-changelog-needed Add this to your PR if the change does not require a changelog entry label Apr 2, 2025
@SarahFrench SarahFrench marked this pull request as ready for review April 2, 2025 17:12
@SarahFrench SarahFrench requested a review from a team as a code owner April 2, 2025 17:12
@SarahFrench SarahFrench changed the title Fix bugs where appended diags are not returned Fix non-user facing bugs where appended diags are not returned in terraform provider Apr 2, 2025
@SarahFrench SarahFrench merged commit 79cdadd into main Apr 2, 2025
15 of 16 checks passed
@SarahFrench SarahFrench deleted the sarah/fix-appended-diags branch April 2, 2025 18:15
@github-actions
Copy link
Contributor

github-actions bot commented May 3, 2025

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 May 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-changelog-needed Add this to your PR if the change does not require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants