You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Fix: Suppress JIT provisioning output during concurrent Terraform runs
2
+
3
+
**Date:** 2026-08-06
4
+
5
+
## Summary
6
+
7
+
Concurrent Terraform runs now suppress transient provisioner and step-hook UI, preventing spinner and line-clear control sequences from corrupting prefixed component output.
8
+
9
+
## Context
10
+
11
+
PR #2860 normalized child-process carriage returns and suppressed provisioner UI for Terraform output lookups. Normal scheduled Terraform execution marked its scheduler context as output-suppressed, but initial component resolution, `prepareInitExecution`, and post-init provisioners could lose that context. Backend provisioning and step hooks also retained global spinner and terminal-line UI paths while component output was streaming concurrently.
12
+
13
+
## Changes
14
+
15
+
-`pkg/scheduler/adapters/terraform.go`: mark the scheduler context as output-suppressed whenever Terraform concurrency exceeds one.
16
+
-`internal/exec/`: preserve the process context through JIT component resolution and Terraform init preparation so source and workdir provisioners receive the suppression marker.
17
+
-`pkg/provisioner/`: share the suppression marker across backend, source, and workdir provisioners; backend creation now runs without spinner/warning UI when concurrent.
18
+
-`pkg/hooks/` and `pkg/runner/step/`: suppress `clear` and `spin` terminal UI for hooks that receive scheduler node writers.
19
+
-`internal/exec/terraform_execute_helpers.go`: forward process context and writers to post-init provider-lock provisioners.
20
+
-`pkg/scheduler/adapters/terraform_test.go`: verify concurrent nodes receive suppression and sequential nodes do not.
21
+
-`internal/exec/terraform_execute_helpers_test.go`: verify JIT and pre-init provisioners receive output suppression.
22
+
-`pkg/hooks/step_engine_test.go`: verify step hooks suppress transient UI when node writers are active.
0 commit comments