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