bitovi/bitops

Command output is buffered until finishing the whole execution

Closed this issue · 0 comments

arm4b commented

When running a deploy section (eg typical BitOps entry point), the output is buffered before finishing the command execution.

This means if Ansible or Terraform step runs 10mins, the user will need to wait 10mins until the subprocess closes to see the first output. Then a wall of text will output to them, making it harder to process or use in the CI/CD systems live.

In BitOps v1 the results are streamed line-by-line as we read them.
Example: https://youtu.be/TVX_87r-ySA?t=423

The same experience should be part of BitOps v2.