Harness CLI (hc): Stream logs from parallel pipeline steps during IaCM remote execution
M
Minimum Caterpillar
When using
hc iacm plan
for remote execution, the CLI only streams logs from one step at a time. If your pipeline uses parallel steps (common for IaCM workspaces running Terraform/OpenTofu plans concurrently), only one branch's output appears in the terminal whereas the other branches are completely silent until execution finishes.## What we need
- The CLI should stream logs from all parallel step branches concurrently (e.g., prefixed with [step-name]to distinguish output)
- After execution completes, logs from all parallel children should be fetched, not just the first one
- This should provide parity with the Harness UI, which shows all parallel step outputs
## Why it matters
The primary value of
hc iacm plan
remote execution is reviewing plan output locally without switching to the browser. For teams using parallel steps (which is the recommended pattern for multi-workspace IaCM pipelines), this currently doesn't work which forces the user to have to open the UI anyway, defeating the purpose of the CLI.## Use case
Large-scale IaCM adoption with 50+ workspaces running parallel Terraform/OpenTofu plans via the Harness CLI for local developer workflows.
Log In