Skip to content

fix: update to terraform-plugin-sdk v2.34.0 #290

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

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Sep 24, 2024

Speculative fix in relation to coder/coder#14726

There have been several issues fixed in the plugin-sdk and its dependencies about go routines and the RPC protocol. Since our coder plugin is itself very, very simple in design (it generally just reads data from environment variables for data sources, and just does validation on resources), it's hard to imagine a hang in our provider schema code (not impossible tho). The error reports we've seen all show the Coder provider as the one that is involved in text file busy, so it seems likely that it's something unique about the coder/coder provider.

hashicorp/kubernetes is used by both customers who reported the text file busy error, and it is on SDK version 2.29+ and we were back on 2.20 before this PR.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @spikecurtis and the rest of your teammates on Graphite Graphite

@spikecurtis spikecurtis marked this pull request as ready for review September 24, 2024 11:44
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

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

v2.24.1 fixes some goroutine leaks, maybe related?
In any case, 👍

Copy link
Contributor Author

spikecurtis commented Sep 24, 2024

Merge activity

@spikecurtis spikecurtis merged commit 1e84894 into main Sep 24, 2024
9 checks passed
@spikecurtis spikecurtis deleted the spike/sdk-2.34.0 branch September 24, 2024 11:56
@github-actions github-actions bot locked and limited conversation to collaborators Sep 24, 2024
@matifali
Copy link
Member

@spikecurtis we can patch the 1.0 after cherry picking this change into release/1.0 branch.

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.

3 participants