11 references to MainRepositoryBreakage
AnalyzeCiFailure (9)
AnalysisPublisher.cs (3)
269var main = cause.Type == CauseType.MainRepositoryBreakage; 393if (cause.Type != CauseType.MainRepositoryBreakage) 398if (cause.Type == CauseType.MainRepositoryBreakage)
ValidationRules.cs (5)
81if (!(cause.Type is CauseType.FlakyTest or CauseType.InfrastructureFailure || (run.Scope == RunScope.Main && cause.Type == CauseType.MainRepositoryBreakage))) 93CauseType.MainRepositoryBreakage => classification == JobClassification.MainRepositoryBreakage, 134var mainCauses = causes.Count(c => c.Type == CauseType.MainRepositoryBreakage); 201var mainCauses = causes.Count(cause => cause.Type == CauseType.MainRepositoryBreakage); 226JobClassification.MainRepositoryBreakage => CauseType.MainRepositoryBreakage,
WorkflowFailureDiagnosisContextBuilder.cs (1)
27var focused = prior.Where(cause => IsMatch(cause) || cause.Type is CauseType.InfrastructureFailure or CauseType.MainRepositoryBreakage)
AnalyzeCiFailure.Tests (2)
AnalyzeCiFailureBestEffortTests.cs (1)
31Definition = new ProposedCauseDefinition { Id = "claimed-breakage", Type = CauseType.MainRepositoryBreakage, Title = "Claimed breakage", ErrorPattern = "Build failed" },
AnalyzeCiFailureVerdictMatrixTests.cs (1)
52_ => CauseType.MainRepositoryBreakage,