fix: resolve inconsistent provider reply errors, add waitForEnvironme… - #28
Conversation
…ntVariableConsistency function and enhance environment variable creation tests
|
👋 Hi! Thank you for this contribution! Just to let you know, we review contributions on a best-effort basis. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with |
|
Hello Madhurjya Roy (@mroyme), Robin Breathe (@isometry), could you please review this PR? This is similar to #13. In our organization, we manage a lot of GitHub Actions Environment Variables, and we are seeing the inconsistent reply errors from the provider. This PR addresses this issue. This is the configuration that I tested with: Please note that the issue is transient but is rather frequent. You may need to destroy and re-apply the configuration to reproduce the error. Please let me know if there are any questions about this PR. Thank you! |
|
HI Madhurjya Roy (@mroyme), Robin Breathe (@isometry) Could you please take a look at this PR when you have a chance? Happy to provide any additional details or make adjustments if needed. |
|
Hello Madhurjya Roy (@mroyme), Robin Breathe (@isometry) - just checking in to see if you’ve had a chance to look at the proposed change. We’re still running into inconsistent behavior with GitHub actions variables, so getting this fix through would really help us out. Thanks! |
|
Vladislav Petrov (@vkpetrov) The changes themselves look good to me. I can see that it's the same as what you have done with https://github.com/nexthink-oss/terraform-provider-github/pull/13/changes. That said, I'm no longer the maintainer of this project at Nexthink and my approval won't be enough to merge it. This fork was created when GitHub had seemingly abandoned work on their official provider https://github.com/integrations/terraform-provider-github, but the situation has changed now and it's active again. Afaik, we have been slowing down development on this and trying to get our contributions upstream. My recommendation would be to switch to the upstream provider, if possible. I'm tagging Misha Kushakov (@mkushakov), who is the right person to talk to about the future of this project and to get this change approved and released, in case you can't move to the upstream provider. |
…ntVariableConsistency function and enhance environment variable creation tests
Before the change?
After the change?
Pull request checklist
Note: The bugfix is internal consistency handling after create for environment variables, with no schema/argument/import changes, so user-facing resource docs do not need updates.
Does this introduce a breaking change?
Please see our docs on breaking changes to help!