36 references to Progress
AnalyzeCiFailure (20)
AnalysisCommands.cs (1)
138
var progress = invocation.
Progress
;
AnalysisInvocation.cs (7)
24
Progress
.Diagnostics.EnableProgress(DiagnosticsDirectory);
50
Progress
.RecordProblem(AnalysisProblemCategory.Fatal, "path-output", error.Message);
58
=>
Progress
.Diagnostics.WriteAsync(DiagnosticsDirectory,
Progress
, status, Capture.Failure);
68
Progress
.RecordProblem(AnalysisProblemCategory.Fatal, "diagnostics", error.Message);
78
await RecoveryCaptureWriter.WriteAsync(RecoveryDirectory(stage),
Progress
, status, Capture, Scratch);
82
Progress
.RecordProblem(AnalysisProblemCategory.Fatal, "recovery", error.Message);
EvidencePreparation.cs (12)
43
invocation.
Progress
.RecordProblem(AnalysisProblemCategory.Fatal, invocation.
Progress
.Stage, error.Message);
44
EvidencePackageStore.InvalidateEvidenceViews(invocation.Evidence, invocation.
Progress
);
49
await EvidencePackageStore.WriteOutcomeAsync(invocation.Evidence, invocation.
Progress
.CreateOutcome("failed"));
53
invocation.
Progress
.RecordProblem(AnalysisProblemCategory.Fatal, "outcome", outcomeError.Message);
58
Console.Error.WriteLine($"::error::{AnalysisDiagnostics.DescribeStage(invocation.
Progress
.Stage)} failed: " +
60
outcome = invocation.
Progress
.CreateOutcome("failed");
77
var progress = invocation.
Progress
;
163
var progress = invocation.
Progress
;
242
var progress = invocation.
Progress
;
301
var artifacts = invocation.
Progress
.Problems.Count(problem => problem.Problem.Stage == "artifacts");
302
var parsing = invocation.
Progress
.Problems.Count(problem => problem.Problem.Stage == "parsing");
AnalyzeCiFailure.Tests (16)
AnalyzeCiFailureDiagnosticsTests.cs (7)
188
invocation.
Progress
.Diagnostics.Record("selection", "matched", new { name = new string('x', count: 5000), secret = "token=private-value" });
190
invocation.
Progress
.Diagnostics.Receipt("issue-create", "confirmed", new { url = "https://github.com/microsoft/aspire/issues/77" });
211
invocation.
Progress
.RecordProblem(AnalysisProblemCategory.OptionalContext, "logs", message);
213
invocation.
Progress
.Diagnostics.Receipt("issue-create", "confirmed", new { url = "https://github.com/microsoft/aspire/issues/77" });
250
invocation.
Progress
.HasRelevantFailures = true;
251
invocation.
Progress
.RecordProblem(AnalysisProblemCategory.Fatal, "history", "original history failure");
256
invocation.
Progress
.CreateOutcome("failed"),
AnalyzeCiFailureInvocationTests.cs (1)
217
invocation.
Progress
.CreateOutcome("ready"),
AnalyzeCiFailureProgressTests.cs (7)
24
invocation.
Progress
.Diagnostics.StartCurrentStage();
25
invocation.
Progress
.Stage = "jobs";
26
invocation.
Progress
.Diagnostics.Record("job-log", "partial", new { job_id = "77", exit_code = 23, payload = "private-payload" });
27
invocation.
Progress
.RecordProblem(AnalysisProblemCategory.Fatal, "jobs", "token=private-value;\n::warning::injected");
67
invocation.
Progress
.Stage = "jobs";
69
invocation.
Progress
.RecordProblem(AnalysisProblemCategory.Fatal, "jobs", invocation.Capture.Failure.Message);
87
invocation.
Progress
.Diagnostics.WriteProgress(message);
AnalyzeCiFailureWorkflowCommandsTests.cs (1)
111
var progress = invocation.
Progress
;