2 instantiations of CommandResult
Infrastructure.Tests (2)
WorkflowScripts\AnalyzeCiFailureWorkflowTests.cs (2)
4724
return new
CommandResult
(process.ExitCode, await stdoutTask + await stderrTask);
4892
return new
CommandResult
(process.ExitCode, await stdoutTask + await stderrTask);
142 references to CommandResult
Infrastructure.Tests (142)
WorkflowScripts\AnalyzeCiFailureWorkflowTests.cs (142)
35
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
71
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
85
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
106
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
123
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
145
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
167
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
188
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
220
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
247
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
279
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
298
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
331
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
366
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
394
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
415
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
436
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
455
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
475
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
495
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
518
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
537
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
560
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
592
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
625
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
661
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
680
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
701
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
750
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
785
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
832
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
862
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
882
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
941
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
957
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
980
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1011
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1047
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1074
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1107
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1126
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1146
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1171
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1220
var
result = await RunBashScriptAsync(
1270
var
result = await RunBashScriptAsync(
1328
var
result = await RunBashScriptAsync(
1485
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1536
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1559
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1578
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1606
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1627
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
1657
var
result = await RunBashScriptAsync(
1742
var
result = await RunBashScriptAsync(
1820
var
result = await RunBashScriptAsync(
1856
var
result = await RunBashScriptAsync(
1878
var
result = await RunBashScriptAsync(
1908
var
result = await RunBashScriptAsync(
1928
var
result = await RunBashScriptAsync(
1949
var
result = await RunBashScriptAsync(
1987
var
result = await RunBashScriptAsync(
2007
var
result = await RunBashScriptAsync(
2031
var
result = await RunBashScriptAsync(
2072
var
result = await RunBashScriptAsync(
2128
var
result = await RunBashScriptAsync(
2167
var
result = await RunBashScriptAsync(
2208
var
result = await RunBashScriptAsync(
2279
var
result = await RunBashScriptAsync(
2320
var
result = await RunBashScriptAsync(
2356
var
result = await RunBashScriptAsync(
2392
var
result = await RunBashScriptAsync(
2445
var
result = await RunBashScriptAsync(
2493
var
result = await RunBashScriptAsync(
2534
var
result = await RunBashScriptAsync(
2576
var
result = await RunBashScriptAsync(
2620
var
result = await RunBashScriptAsync(
2647
var
result = await RunBashScriptAsync(
2677
var
result = await RunBashScriptAsync(
2719
var
result = await RunBashScriptAsync(
2751
var
result = await RunBashScriptAsync(
2781
var
result = await RunBashScriptAsync(
2819
var
result = await RunBashScriptAsync(
2857
var
result = await RunBashScriptAsync(
2894
var
result = await RunBashScriptAsync(
2922
var
result = await RunBashScriptAsync(
2944
var
result = await RunBashScriptAsync(
2974
var
result = await RunBashScriptAsync(
3011
var
result = await RunHistoryScriptAsync(
3050
var
result = await RunHistoryScriptAsync(
3084
var
result = await RunHistoryScriptAsync(fakeGh, "2026-08-30T10:00:00Z", outputPath);
3120
var
result = await RunHistoryScriptAsync(fakeGh, "2026-08-30T10:00:00Z", outputPath);
3145
var
result = await RunHistoryScriptAsync(
3163
var
result = await RunHistoryScriptAsync(
3190
var
result = await RunHistoryScriptAsync(
3224
var
result = await RunHistoryScriptAsync(
3245
var
result = await RunHistoryScriptAsync(
3264
var
result = await RunCandidateScriptAsync(fakeGh, candidatesPath, statusPath);
3285
var
result = await RunCandidateScriptAsync(fakeGh, candidatesPath, statusPath);
3329
var
result = await RunCandidateScriptAsync(fakeGh, candidatesPath, statusPath);
3378
var
result = await RunCandidateScriptAsync(fakeGh, candidatesPath, statusPath);
3438
var
result = await RunCandidateScriptAsync(fakeGh, candidatesPath, statusPath);
3479
var
result = await RunCandidateScriptAsync(fakeGh, candidatesPath, statusPath);
3523
var
result = await RunCandidateScriptAsync(fakeGh, candidatesPath, statusPath);
3563
var
result = await RunCandidateScriptAsync(fakeGh, candidatesPath, statusPath);
3604
var
result = await RunPersistenceScriptAsync("write-run-summary", outputPath);
3662
var
result = await RunPersistenceScriptAsync("write-run-summary", outputPath);
3703
var
result = await RunPersistenceScriptAsync("write-run-summary", outputPath);
3756
var
result = await RunPersistenceScriptAsync("write-run-summary", outputPath);
3788
var
result = await RunPersistenceScriptAsync("write-run-summary", outputPath);
3815
var
result = await RunBashScriptAsync(
3842
var
result = await RunBashScriptAsync(
3876
var
result = await RunBashScriptAsync(
3909
var
result = await RunBashScriptAsync(
3936
var
result = await RunBashScriptAsync(
3956
var
result = await RunBashScriptAsync(
4008
var
result = await RunBashScriptAsync(
4026
var
result = await RunBashScriptAsync(
4047
var
result = await RunBashScriptAsync(
4134
var
result = await RunBashScriptAsync(
4188
var
result = await RunBashScriptAsync(
4281
var
result = await RunBashScriptAsync(
4347
var
result = await RunBashScriptAsync(
4404
var
result = await RunBashScriptAsync(
4444
var
firstResult = await RunBashScriptAsync(
4453
var
secondResult = await RunBashScriptAsync(
4495
var
result = await RunBashScriptAsync(
4547
var
result = await RunBashScriptAsync(
4594
var
buildResult = await RunBashScriptAsync(
4597
var
plainResult = await RunBashScriptAsync(
4600
var
testResult = await RunBashScriptAsync(
4603
var
tableResult = await RunBashScriptAsync(
4606
var
occurrenceResult = await RunBashScriptAsync(
4643
var
buildIssueResult = await RunBashScriptAsync(
4659
var
testIssueResult = await RunBashScriptAsync(
4701
private async Task<
CommandResult
> RunValidationScriptAsync(string agentOutputPath)
4727
private async Task<
CommandResult
> RunHistoryScriptAsync(
4754
private async Task<
CommandResult
> RunCandidateScriptAsync(string fakeGh, string candidatesPath, string statusPath)
4828
private Task<
CommandResult
> RunPersistenceScriptAsync(string command, string? outputPath = null)
4850
private async Task<
CommandResult
> RunBashScriptAsync(
4856
private async Task<
CommandResult
> RunProcessAsync(
4980
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));
4991
var
result = await RunValidationScriptAsync(Path.Combine(_workspace.Path, "output.json"));