"errors"
"fmt"
"io"
+ "log"
"maps"
"os"
"path/filepath"
slots: make(chan struct{}, builds),
}
- memory, err := openMemory(ctx, root, time.Now, summarizer)
+ // The report of the probe counts the failed calls, so the lines of the
+ // failed builds are not needed.
+ memory, err := openMemory(ctx, root, time.Now, summarizer, log.New(io.Discard, "", 0))
if err != nil {
return err
}