Skip to content

Conversation

blakepettersson
Copy link
Collaborator

Fixes #710. While migrating from an older version using sdkv2 to terraform-plugin-framework may need to recalculate the computed attributes, it should definitely not deadlock in the meantime.

Added a test where we create a repository using 7.8.0, and then update it using the current version of this provider. Whereas before this deadlocked, it now updates as intended, and once this initial migration update has been done there is no state diff afterwards.

Fixes argoproj-labs#710. While migrating from an older version using sdkv2 to
terraform-plugin-framework may need to recalculate the computed
attributes, it should definitely not deadlock in the meantime.

Added a test where we create a repository using `7.8.0`, and then
update it using the current version of this provider. Whereas before this
deadlocked, it now updates as intended, and once this initial migration
update has been done there is no state diff afterwards.

Signed-off-by: Blake Pettersson <[email protected]>
Copy link
Collaborator

@the-technat the-technat left a comment

Choose a reason for hiding this comment

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

Thanks @blakepettersson for fixing this!

LGTM

@blakepettersson blakepettersson merged commit 72d889d into argoproj-labs:main Aug 22, 2025
9 checks passed
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.

argocd_repository resource stuck in endless update loop after upgrading to argoproj-labs/argocd ~> 7.0
2 participants