← Back to Pull requests

Check Terragrunt HCL formatting in CI #1361

Merged
marcoienibot merged 20 files (159 lines) on Dec 01, 2026 20:32 UTC
View on GitHub
marcoienibot marcoienibot commented on Dec 01, 2026 20:23 UTC
Author

The existing terraform fmt check skips Terragrunt HCL. This PR also formats terragrunt files.

Diff: 159 lines (+82 / -77) across 20 files Reviewer: marcoieni Review duration: 9m
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.72) × (1 − Review Confidence (0.83)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.72 · 159 lines diff across 20 files
0.72
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 1 substantive comment(s)
0.89
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
82%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.304
Rapid Merge rapid_merge
0.100
Mass File Touch mass_file_touch
0.080
Real PR Conversation Timeline
2 items
marcoieni marcoieni commented on code on Dec 01, 2026 20:29 UTC
Code Review
.github/workflows/main.yml:1
@@ -146,6 +146,11 @@ jobs:
               cargo --version
             '
 
+      - name: Check Terragrunt HCL formatting
+        run: |
+          npx --yes "@devcontainers/cli" exec --workspace-folder . \
+            terragrunt hcl fmt --check --diff --working-dir terragrunt

it's a bit ugly that this job is called "devcontainers" and now it also checks formatting, but it's the easiest way to share the the terragrunt version with the CI job. We can always move this step somewhere else if you don't like it.

Reviewers
Assignees
marcoienibot marcoienibot
Labels
risk: low confidence: 82.8% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 71.9% (HIGH) · Higher = larger blast radius
71.9%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 82.8% · Lower = rushed or shallow review
82.8%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 12.3% · Safe to merge
12.3%