244
//
245
//nolint:revive // Keep the bisect pipeline linear so the filtering steps remain reviewable.
246
>
func runBisectForTest(cfg BisectConfig, testName string, allRuns []TestRun, commitOrderSlice []string, runToSHA map[int64]string, commitMetas map[string]github.Commit) TestBisectReport {
bisect.go
247
>
obs := buildObservations(testName, allRuns, commitOrderSlice, runToSHA)
248
>
249
>
totalPasses, totalFails := 0, 0
250
>
for _, o := range obs {
251
>
totalPasses += o.Passes
252
>
totalFails += o.Fails
253
>
}
254
>
totalObs := totalPasses + totalFails
255
>
256
>
// Check signal thresholds
257
>
if totalFails < cfg.MinFailures {
258
return TestBisectReport{
259
TestName: testName,