13 writes to TestRefs
AnalyzeCiFailure.Tests (13)
AnalyzeCiFailureBestEffortTests.cs (1)
32JobIds = [123], TestRefs = [], Reason = "Claimed repository failure",
AnalyzeCiFailureFixtures.cs (3)
47JobIds = evidence.Jobs.Select(job => job.Id).ToImmutableArray(), TestRefs = [], Reason = "Runner lost", 207return (ProposedCause)new ExistingCauseProposal { Id = id, JobIds = jobIds, TestRefs = references, Reason = "Recorded mechanism" }; 219TestRefs = references,
AnalyzeCiFailureMigrationTests.cs (4)
53JobIds = [123], TestRefs = ["test-1"], Reason = "Timeout", 166JobIds = [123], TestRefs = failures.Select(test => test.Ref).ToImmutableArray(), Reason = "Timeouts", 386Causes = [new ExistingCauseProposal { Id = created.Definition.Id, JobIds = created.JobIds, TestRefs = created.TestRefs, Reason = created.Reason }], 528TestRefs = evidence.TestEvidence.Failures.Select(test => test.Ref).ToImmutableArray(),
AnalyzeCiFailureOverflowTests.cs (1)
277JobIds = [123], TestRefs = [test.Ref], Reason = "Distinct observed mechanism",
AnalyzeCiFailurePreparationTests.cs (1)
717? created with { TestRefs = evidence.TestEvidence.Failures.Where(test => test.JobId == 124).Select(test => test.Ref).ToImmutableArray() }
AnalyzeCiFailureTransientContractTests.cs (2)
209JobIds = [9007199254740992], TestRefs = [], Reason = "Runner connection was interrupted", 222Causes = [new ExistingCauseProposal { Id = "runner-lost", JobIds = [9007199254740992], TestRefs = [], Reason = "Same runner failure" }],
AnalyzeCiFailureWorkflowTests.cs (1)
710Causes = [new AnalyzeCiFailure.ExistingCauseProposal { Id = "nuget-timeout", JobIds = cause.JobIds, TestRefs = cause.TestRefs, Reason = cause.Reason }],
7 references to TestRefs
AnalyzeCiFailure (5)
AnalysisValidator.cs (5)
189if (proposal.JobIds.IsDefaultOrEmpty || proposal.TestRefs.IsDefault || 191proposal.TestRefs.Distinct(StringComparer.Ordinal).Count() != proposal.TestRefs.Length || 232if (type != CauseType.FlakyTest && proposal.TestRefs.Length > 0) 236var references = proposal.TestRefs.Select(reference =>
AnalyzeCiFailure.Tests (2)
AnalyzeCiFailureMigrationTests.cs (1)
386Causes = [new ExistingCauseProposal { Id = created.Definition.Id, JobIds = created.JobIds, TestRefs = created.TestRefs, Reason = created.Reason }],
AnalyzeCiFailureWorkflowTests.cs (1)
710Causes = [new AnalyzeCiFailure.ExistingCauseProposal { Id = "nuget-timeout", JobIds = cause.JobIds, TestRefs = cause.TestRefs, Reason = cause.Reason }],