2 instantiations of AnalysisOutcome
AnalyzeCiFailure (1)
Models\CollectionModels.cs (1)
78
internal AnalysisOutcome CreateOutcome(string status) =>
new
()
AnalyzeCiFailure.Tests (1)
AnalyzeCiFailureCollectionTests.cs (1)
218
var outcome = new AnalyzeCiFailure.
AnalysisOutcome
51 references to AnalysisOutcome
AnalyzeCiFailure (11)
EvidencePackageStore.cs (1)
38
internal static Task WriteOutcomeAsync(EvidencePaths paths,
AnalysisOutcome
outcome)
EvidencePreparation.cs (5)
25
AnalysisOutcome
outcome;
66
internal static async Task<
AnalysisOutcome
> CollectEvidenceAndPrepareAnalysisAsync(
106
var
noWork = progress.CreateOutcome("no-work");
120
var
outcome = progress.CreateOutcome(degraded ? "degraded" : "ready");
238
AnalysisOutcome
outcome,
GitHubActionsIntegration.cs (1)
14
internal static async Task WriteOutputsAsync(string path,
AnalysisOutcome
outcome, CancellationToken ct)
Models\CollectionModels.cs (1)
78
internal
AnalysisOutcome
CreateOutcome(string status) => new()
TransientJson.cs (3)
46
AnalysisOutcome
{ SchemaVersion: not 1 })
50
if (value is
AnalysisOutcome
outcome)
80
private static void CheckOutcome(
AnalysisOutcome
outcome)
AnalyzeCiFailure.Tests (40)
AnalyzeCiFailureCohesionTests.cs (5)
34
var
outcome = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(invocation.Evidence.Outcome));
55
var
outcome = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(invocation.Replay.Outcome));
71
var
outcome = new AnalysisProgress { HasRelevantFailures = relevantFailures }.CreateOutcome("ready");
AnalyzeCiFailureCollectionTests.cs (1)
218
var
outcome = new AnalyzeCiFailure.AnalysisOutcome
AnalyzeCiFailureDiagnosticsTests.cs (4)
22
var
outcome = TransientJson.Read<
AnalysisOutcome
>(File.ReadAllText(Path.Combine(EvidenceDirectory, "collection-outcome.json")));
120
var
outcome = TransientJson.Read<
AnalysisOutcome
>(File.ReadAllText(invocation.Evidence.Outcome));
AnalyzeCiFailureInvocationTests.cs (1)
139
Assert.Equal("degraded", TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(output.Outcome)).Status);
AnalyzeCiFailureMigrationTests.cs (10)
74
var
outcome = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(Path.Combine(root, "collection-outcome.json")));
203
var
outcome = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(Path.Combine(EvidenceDirectory, "collection-outcome.json")));
219
var
outcome = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(Path.Combine(root, "collection-outcome.json")));
309
var
outcome = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(paths.Outcome));
619
var
outcome = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(Path.Combine(root, "collection-outcome.json")));
AnalyzeCiFailurePublicationTests.cs (2)
1112
var
recoveryOutcome = AnalyzeCiFailure.TransientJson.Read<AnalyzeCiFailure.
AnalysisOutcome
>(
AnalyzeCiFailureStorageTests.cs (8)
47
var
outcome = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(Path.Combine(recovery, "collection-outcome.json")));
70
var
outcome = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(new EvidencePaths(EvidenceDirectory).Outcome));
103
var
outcome = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(Path.Combine(recovery, "collection-outcome.json")));
115
var
outcome = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(Path.Combine(recovery, "collection-outcome.json")));
AnalyzeCiFailureWorkflowCommandsTests.cs (9)
81
var
outcome = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(Path.Combine(EvidenceDirectory, "collection-outcome.json")));
89
var
outcome = new AnalysisProgress
115
var
outcome = progress.CreateOutcome("ready");
125
var
failed = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(paths.Outcome));
129
var
recovery = TransientJson.Read<
AnalysisOutcome
>(await File.ReadAllTextAsync(Path.Combine(
141
var
outcome = new AnalysisProgress