Capture subprocess results separately from diagnostics

This commit is contained in:
2026-11-26 04:02:51 +00:00
parent bb84094385
commit a9705a6b56
6 changed files with 235 additions and 5 deletions

View File

@@ -215,7 +215,10 @@ func (w *diagnosticWriter) reachLimit() error {
w.logs.mu.Lock()
if w.logs.limit == nil {
w.logs.limit = limit
w.logs.limits <- limit
select {
case w.logs.limits <- limit:
default:
}
}
w.logs.mu.Unlock()
return limit