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

Partial parse config cache broken on v0.66.3+ #3700

Open
yapret opened this issue Dec 21, 2024 · 0 comments · May be fixed by #3701
Open

Partial parse config cache broken on v0.66.3+ #3700

yapret opened this issue Dec 21, 2024 · 0 comments · May be fixed by #3701
Labels
bug Something isn't working

Comments

@yapret
Copy link

yapret commented Dec 21, 2024

Describe the bug

Starting with terragrunt v0.66.3, the --terragrunt-use-partial-parse-config-cache does not seem to work. In a ~400 units repo, running terragrunt graph-dependencies --terragrunt-use-partial-parse-config-cache takes ~10s on v0.66.2 but ~15s on v0.66.3.

Steps To Reproduce

Run terragrunt graph-dependencies --terragrunt-use-partial-parse-config-cache --terragrunt-debug --terragrunt-log-level debug in a repo with multiple modules includeing the same hcl files.

  • On v0.66.2, the log shows both cache hits and misses
  • On v0.66.3, the log only show cache misses

Expected behavior

Some includes should use the cache / graph-dependencies shouldn't take 1.5x longer

Versions

  • Terragrunt version: v0.66.3 up to at least v0.69.9
  • OpenTofu/Terraform version: v1.9.8
  • Environment details (Ubuntu 20.04, Windows 10, etc.): Linux Docker (Debian)
@yapret yapret added the bug Something isn't working label Dec 21, 2024
@yapret yapret linked a pull request Dec 21, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant