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