mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
The arm64 compat-terraform job hangs about once in thirty runs and dies at the workflow's 20-minute timeout-minutes with nothing to show for it: the runner kept every per-file log and JUnit report in a temp dir inside the container until all files had finished, so a cancel discarded them, and the floci log was only dumped on failure, which a cancel is not. Three such timeouts in the last hundred runs, all with the same blank log. Each bats file now runs under timeout (BATS_FILE_TIMEOUT, default 12m, against a healthy run of about 6.5 minutes), without --foreground so the terraform children die with bats. A file that hits the limit exits 124 with a line naming it appended to its log, each file's report is published as soon as that file ends, a progress line per file reaches the console, and the floci log is dumped on cancel as well. Both suites' runners stay identical.