check waits for its progress output before the summary (closes #140) #143

Merged
clawbot merged 1 commits from issue-140-check-progress-wait into next 2026-10-04 15:31:58 +02:00
1 Commits
Author SHA1 Message Date
sneak e43716d0d9 check waits for its progress output before the summary (closes #140)
check / check (push) Waiting to run
With --progress, runCheck started the progress goroutine but waited
only for the results goroutine, so check could log its summary, or
return, before the last progress line was written and cleared. The
progress goroutine now signals a sync.WaitGroup when it finishes, and
runCheck waits on it as soon as Check returns, as generate does.

The new test sends stdout and stderr to one buffer and slows down
stdout writes, so without the wait the progress output lands after
the summary.

Model: opus-5-5
2026-10-04 12:56:36 +00:00