11 writes to ExecutionId
AnalyzeCiFailure (2)
TestFailureReader.cs (2)
153ExecutionId = execution is { Length: > 0 } ? execution : null, 183var source = input.Source.ExecutionId is { Length: 0 } ? input.Source with { ExecutionId = null } : input.Source;
AnalyzeCiFailure.Tests (9)
AnalyzeCiFailureCSharpRerunTests.cs (1)
72Sources = [new TestResultSource { ArtifactId = 10, ResultFile = "results.trx", Format = TestArtifactFormat.Trx, ExecutionId = "execution" }],
AnalyzeCiFailureFixtures.cs (1)
118ExecutionId = input.ExecutionId,
AnalyzeCiFailureMigrationTests.cs (3)
153var second = first with { Source = first.Source with { ExecutionId = "second-execution" } }; 271Sources = [new TestResultSource { ArtifactId = 10, ResultFile = "results.trx", Format = TestArtifactFormat.Trx, ExecutionId = null }], 672ExecutionId = execution,
AnalyzeCiFailureOverflowTests.cs (1)
263Sources = [new TestResultSource { ArtifactId = 10, ResultFile = "results.trx", Format = TestArtifactFormat.Trx, ExecutionId = null }],
AnalyzeCiFailureTransientContractTests.cs (3)
33Sources = [new TestResultSource { ArtifactId = 10, ResultFile = "results.trx", Format = TestArtifactFormat.Trx, ExecutionId = "execution" }], 103Sources = [new TestResultSource { ArtifactId = 10, ResultFile = "00001.trx", Format = TestArtifactFormat.Trx, ExecutionId = "execution" }], 160Sources = [new TestResultSource { ArtifactId = 10, ResultFile = "results.trx", Format = TestArtifactFormat.Trx, ExecutionId = $"execution-{index}" }],
9 references to ExecutionId
AnalyzeCiFailure (6)
PublicationEvidenceProjection.cs (1)
32ExecutionId = test.Sources[0].ExecutionId is { } execution
TestFailureReader.cs (2)
183var source = input.Source.ExecutionId is { Length: 0 } ? input.Source with { ExecutionId = null } : input.Source; 189if (source.ExecutionId is { } execution)
WorkflowRunEvidenceCollector.cs (3)
268var conflicts = raw.Where(test => !string.IsNullOrEmpty(test.Source.ExecutionId)) 269.GroupBy(test => (test.JobId, test.Source.ExecutionId)) 286!conflictingExecutions.Contains((test.JobId, test.Source.ExecutionId))).ToImmutableArray());
AnalyzeCiFailure.Tests (3)
AnalyzeCiFailureMigrationTests.cs (3)
31Assert.Equal(execution, evidence.TestEvidence.Failures[0].Sources[0].ExecutionId); 64Assert.Equal(execution, Assert.Single(evidence.TestEvidence.Failures).Sources[0].ExecutionId); 144Assert.All(failures, test => Assert.Null(test.Sources[0].ExecutionId));