-
Notifications
You must be signed in to change notification settings - Fork 131
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
refactor: asynchronous loading of root module parts #219
Conversation
8602e34
to
4eed5f5
Compare
4eed5f5
to
39b9639
Compare
39b9639
to
3121f31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may be wrong as this is a big PR and I'm coming in with no knowledge, but I think there could be some minor data races on some of the booleans between goroutines. Also noticed 2 goroutines being created when I think you only needed 1?
@appilon I believe I addressed all of your valuable feedback. PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Closes #195
Closes #219
I also believe this solves #211 but I would like to gate the
fmt
availability on version, or at least better understand what happens when user has an ancient version of Terraform which doesn't havefmt
, or if it doesn't support STDIN input.This should also make it slightly easier to solve #164