Skip to content
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

Fix multiple race conditions and error in module inputs #53

Merged
merged 3 commits into from
Oct 23, 2023

Conversation

srevinsaju
Copy link
Owner

No description provided.

before passing it into the module's evaluation context

we need to evaluate the values first within the parent's evaluation context before sending it to the child goroutine and child conductor because the child evaluation context is independent of the parent's, and it is possible that the particular value may not exist in child.
…conditions to srevinsaju/go-getter, switch global TempDir to conductor.TempDir
@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

Merging #53 (6a3635b) into v2 (9338cc1) will increase coverage by 0.05%.
The diff coverage is 82.14%.

@@            Coverage Diff             @@
##               v2      #53      +/-   ##
==========================================
+ Coverage   62.71%   62.76%   +0.05%     
==========================================
  Files         109      103       -6     
  Lines        6646     6674      +28     
==========================================
+ Hits         4168     4189      +21     
- Misses       2206     2214       +8     
+ Partials      272      271       -1     
Files Coverage Δ
cmd/togomak/main.go 78.13% <100.00%> (+0.17%) ⬆️
internal/blocks/data/git.go 54.59% <100.00%> (-0.23%) ⬇️
internal/blocks/data/prompt.go 76.92% <100.00%> (-0.44%) ⬇️
internal/blocks/data/terraform.go 59.65% <100.00%> (-0.35%) ⬇️
internal/ci/data_run.go 78.88% <100.00%> (ø)
internal/ci/graph.go 71.96% <100.00%> (+0.26%) ⬆️
internal/ci/import_expand.go 61.53% <100.00%> (ø)
internal/ci/locals_run.go 95.00% <100.00%> (ø)
internal/ci/module_run.go 78.11% <100.00%> (+0.98%) ⬆️
internal/ci/pipeline_expand.go 78.94% <100.00%> (ø)
... and 12 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@srevinsaju srevinsaju merged commit c01e878 into v2 Oct 23, 2023
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.

1 participant