13 writes to ArtifactId
AnalyzeCiFailure (1)
TestFailureReader.cs (1)
150ArtifactId = artifactId,
AnalyzeCiFailure.Tests (12)
AnalyzeCiFailureCSharpRerunTests.cs (1)
72Sources = [new TestResultSource { ArtifactId = 10, ResultFile = "results.trx", Format = TestArtifactFormat.Trx, ExecutionId = "execution" }],
AnalyzeCiFailureFixtures.cs (1)
115ArtifactId = 8,
AnalyzeCiFailureMigrationTests.cs (6)
40var copied = first with { Source = first.Source with { ArtifactId = 9, ResultFile = "copied.trx" } }; 152var copied = first with { Source = first.Source with { ArtifactId = 9, ResultFile = "copied.trx" } }; 271Sources = [new TestResultSource { ArtifactId = 10, ResultFile = "results.trx", Format = TestArtifactFormat.Trx, ExecutionId = null }], 633var second = first with { Source = first.Source with { ArtifactId = 9, ResultFile = "source-b.trx" } }; 648Source = first.Source with { ArtifactId = 9 }, 669ArtifactId = 8,
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}" }],
8 references to ArtifactId
AnalyzeCiFailure (6)
AnalysisValidator.cs (1)
304test.Sources.IsDefaultOrEmpty || test.Sources.Any(source => source is null || source.ArtifactId <= 0 ||
TestFailureReader.cs (3)
187$"job={input.JobId} artifact={source.ArtifactId} file={CiFailureJson.Display(DiagnosticTextSanitizer.Sanitize(source.ResultFile, limit: 80))}"); 199$"artifacts={previous.Raw.Source.ArtifactId},{source.ArtifactId} " +
WorkflowRunEvidenceCollector.cs (2)
274GitHubJson.ReadRequiredId(selection.Artifact.Id) == conflict.Last().Source.ArtifactId); 280$"artifacts={string.Join(',', conflict.Select(test => test.Source.ArtifactId.ToString(CultureInfo.InvariantCulture)).Distinct())}; " +
AnalyzeCiFailure.Tests (2)
AnalyzeCiFailureAlternateWorkflowTests.cs (2)
66Assert.Equal(10, source.ArtifactId); 108Assert.Equal([10L, 11L], copied.Sources.Select(source => source.ArtifactId));