655 references to Path
Infrastructure.Tests (655)
BuildWarningPolicyTests.cs (1)
21
var script = Path.Combine(workspace.
Path
, "evaluate.ps1");
CreateFailingTestIssue\CreateFailingTestIssueToolTests.cs (2)
691
var fixtureDirectory = Path.Combine(_workspace.
Path
, Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture));
832
var fixtureDirectory = Path.Combine(_workspace.
Path
, Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture));
CreateLayout\CreateLayoutTests.cs (21)
18
using var builder = new LayoutBuilder(Path.Combine(workspace.
Path
, "layout"), workspace.
Path
, "win-x64", configuration, "1.0.0", verbose: false);
19
var expectedPaths = GetPublishPaths(workspace.
Path
, configuration);
21
foreach (var path in expectedPaths.Concat(GetPublishPaths(workspace.
Path
, otherConfiguration)))
39
using var builder = new LayoutBuilder(Path.Combine(workspace.
Path
, "layout"), workspace.
Path
, "win-x64", "Debug", "1.0.0", verbose: false);
40
var nonRidPath = GetPublishPaths(workspace.
Path
, "Debug")[^1];
51
var outputPath = Path.Combine(workspace.
Path
, "layout");
56
"--artifacts", workspace.
Path
,
75
var publishPath = CreateDashboardPublishOutput(workspace.
Path
, rid, sqliteLibraryName);
102
var outputPath = Path.Combine(workspace.
Path
, "layout");
103
using var builder = new LayoutBuilder(outputPath, workspace.
Path
, rid, "Debug", "1.0.0", verbose: false);
121
var publishPath = CreateDashboardPublishOutput(workspace.
Path
, "win-x64", "e_sqlite3.dll");
124
var outputPath = Path.Combine(workspace.
Path
, "layout");
125
using var builder = new LayoutBuilder(outputPath, workspace.
Path
, "win-x64", "Debug", "1.0.0", verbose: false);
139
var publishPath = CreateDashboardPublishOutput(workspace.
Path
, "win-x64", "e_sqlite3.dll");
150
var outputPath = Path.Combine(workspace.
Path
, "layout");
151
using var builder = new LayoutBuilder(outputPath, workspace.
Path
, "win-x64", "Debug", "1.0.0", verbose: false);
169
var publishPath = CreateDashboardPublishOutput(workspace.
Path
, rid, sqliteLibraryName);
180
var outputPath = Path.Combine(workspace.
Path
, "layout");
181
using var builder = new LayoutBuilder(outputPath, workspace.
Path
, rid, "Debug", "1.0.0", verbose: false);
DownloadFailingJobLogs\DownloadFailingJobLogsToolTests.cs (5)
45
var fixtureDirectory = Path.Combine(_workspace.
Path
, "fixtures-success");
61
var logPath = Path.Combine(_workspace.
Path
, "failed_job_0_Tests___Linux___Sample__Sample____Sample__linux-latest_.log");
65
var extractedTrx = Path.Combine(_workspace.
Path
, "artifact_0_Sample_linux-latest", "testresults", "Sample_net10.0.trx");
72
var fixtureDirectory = Path.Combine(_workspace.
Path
, "fixtures-missing-artifact");
94
WorkingDirectory = _workspace.
Path
ExtractTestPartitions\ExtractTestPartitionsTests.cs (22)
31
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
37
var outputFile = Path.Combine(_workspace.
Path
, "partitions.txt");
56
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
62
var outputFile = Path.Combine(_workspace.
Path
, "partitions.txt");
77
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
83
var outputFile = Path.Combine(_workspace.
Path
, "partitions.txt");
101
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
104
var outputFile = Path.Combine(_workspace.
Path
, "partitions.txt");
119
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
126
var outputFile = Path.Combine(_workspace.
Path
, "partitions.txt");
144
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
151
var outputFile = Path.Combine(_workspace.
Path
, "partitions.txt");
167
var nonExistentPath = Path.Combine(_workspace.
Path
, "DoesNotExist.dll");
168
var outputFile = Path.Combine(_workspace.
Path
, "partitions.txt");
193
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
199
var outputFile = Path.Combine(_workspace.
Path
, "nested", "dir", "partitions.txt");
213
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
218
var outputFile = Path.Combine(_workspace.
Path
, "partitions.txt");
235
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
242
var outputFile = Path.Combine(_workspace.
Path
, "partitions.txt");
260
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
267
var outputFile = Path.Combine(_workspace.
Path
, "partitions.txt");
GenerateTestSummary\GenerateTestSummaryToolTests.cs (15)
31
var trxPath = Path.Combine(_workspace.
Path
, "sample.trx");
53
var trxPath = Path.Combine(_workspace.
Path
, "mixed.trx");
60
var jsonPath = Path.Combine(_workspace.
Path
, "failed.json");
81
var trxPath = Path.Combine(_workspace.
Path
, "aborted.trx");
87
var jsonPath = Path.Combine(_workspace.
Path
, "failed.json");
104
var trxPath = Path.Combine(_workspace.
Path
, "allpass.trx");
110
var jsonPath = Path.Combine(_workspace.
Path
, "failed.json");
133
var trxDir = Path.Combine(_workspace.
Path
, "corrupt");
137
var jsonPath = Path.Combine(_workspace.
Path
, "failed.json");
160
var trxDir = Path.Combine(_workspace.
Path
, "partial");
167
var jsonPath = Path.Combine(_workspace.
Path
, "failed.json");
187
var trxDir = Path.Combine(_workspace.
Path
, "partial-with-failure");
194
var jsonPath = Path.Combine(_workspace.
Path
, "failed.json");
216
var trxPath = Path.Combine(_workspace.
Path
, "timestamped.trx");
225
var jsonPath = Path.Combine(_workspace.
Path
, "failed.json");
Hex1bNativePublishingTests.cs (11)
49
var destination = Path.Combine(_workspace.
Path
, "publish", relativePath);
83
var artifacts = Path.Combine(_workspace.
Path
, "artifacts");
126
var packages = Path.Combine(_workspace.
Path
, "packages");
128
var layout = Path.Combine(_workspace.
Path
, "layout");
169
var layout = Path.Combine(_workspace.
Path
, "layout");
181
"--output", layout, "--artifacts", Path.Combine(_workspace.
Path
, "missing-artifacts"), "--rid", rid, "--configuration", "Release"]);
258
var source = Path.Combine(_workspace.
Path
, "package", pathInPackage);
268
var unrelatedSource = Path.Combine(_workspace.
Path
, "other", "OpenConsole.exe");
283
new XAttribute("Include", Path.Combine(_workspace.
Path
, "duplicate", "OpenConsole.exe")),
317
var projectPath = Path.Combine(_workspace.
Path
, "Publish.proj");
342
WorkingDirectory = _workspace.
Path
,
MicrosoftTestingPlatformTests.cs (2)
21
var script = Path.Combine(workspace.
Path
, "evaluate.ps1");
51
var script = Path.Combine(workspace.
Path
, "runner-help.ps1");
Pipelines\ExtensionE2eRecorderStepTests.cs (3)
69
var scriptPath = Path.Combine(workspace.
Path
, "step.ps1");
152
invocationLog = Path.Combine(workspace.
Path
, "invocations.log");
153
var attemptCounter = Path.Combine(workspace.
Path
, "install-attempts");
Pipelines\NixCliPackageTests.cs (5)
73
var outputPath = Path.Combine(_workspace.
Path
, "versions.json");
74
var fakeBinPath = Path.Combine(_workspace.
Path
, "bin");
118
var outputPath = Path.Combine(_workspace.
Path
, "versions.json");
119
var fakeBinPath = Path.Combine(_workspace.
Path
, "bin");
180
var outputPath = Path.Combine(_workspace.
Path
, "versions.json");
Pipelines\NpmCliPackageTests.cs (4)
180
var testScriptPath = Path.Combine(_workspace.
Path
, $"{Path.GetRandomFileName()}.js");
220
var testScriptPath = Path.Combine(_workspace.
Path
, $"{Path.GetRandomFileName()}.js");
576
var testRoot = Path.Combine(_workspace.
Path
, Path.GetRandomFileName());
641
var testRoot = Path.Combine(_workspace.
Path
, Path.GetRandomFileName());
PowerShellScripts\AspireSkillsBundleHashTests.cs (2)
54
var inputPath = Path.Combine(_workspace.
Path
, $"input-{lineEndings}.bin");
150
var path = Path.Combine(_workspace.
Path
, fileName);
PowerShellScripts\BuildTestMatrixTests.cs (40)
33
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
42
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
63
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
76
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
95
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
108
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
136
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
149
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
172
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
181
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
199
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
208
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
226
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
241
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
260
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
272
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
290
var emptyArtifactsDir = Path.Combine(_workspace.
Path
, "empty-artifacts");
293
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
310
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
325
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
351
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
360
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
378
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
387
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
406
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
420
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
443
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
452
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
472
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
480
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
498
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
512
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
534
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
552
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
577
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
585
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
612
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
631
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
699
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
713
var outputFile = Path.Combine(_workspace.
Path
, "matrix.json");
PowerShellScripts\DownloadNativeArchivesTests.cs (3)
208
File.Exists(Path.Combine(_workspace.
Path
, "escaped", "aspire-cli-linux-x64-13.4.0.tar.gz")),
437
var archives = Path.Combine(_workspace.
Path
, unique, "archives");
438
var nupkgs = Path.Combine(_workspace.
Path
, unique, "nupkgs");
PowerShellScripts\ExpandTestMatrixGitHubTests.cs (38)
39
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
42
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
66
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
69
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
92
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
95
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
116
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
119
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
142
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
145
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
169
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
172
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
200
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
203
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
238
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
241
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
265
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
268
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
282
var nonExistentFile = Path.Combine(_workspace.
Path
, "does-not-exist.json");
283
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
301
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
304
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
327
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
330
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
353
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
356
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
386
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
389
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
413
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
416
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
452
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
455
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
486
var canonicalMatrix = Path.Combine(_workspace.
Path
, "canonical.json");
489
var outputFile = Path.Combine(_workspace.
Path
, "expanded.json");
509
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
548
var canonicalFile = Path.Combine(_workspace.
Path
, "canonical.json");
558
var expandedFile = Path.Combine(_workspace.
Path
, "expanded.json");
564
var githubOutputFile = Path.Combine(_workspace.
Path
, "github_output.txt");
PowerShellScripts\SplitTestMatrixByDepsTests.cs (4)
25
_githubOutputFile = Path.Combine(_workspace.
Path
, "github_output.txt");
185
var matrixFile = Path.Combine(_workspace.
Path
, "matrix.json");
214
var nonExistentFile = Path.Combine(_workspace.
Path
, "nonexistent.json");
240
var tempMatrixFile = Path.Combine(_workspace.
Path
, $"matrix_input_{Guid.NewGuid():N}.json");
PowerShellScripts\SplitTestProjectsTests.cs (10)
42
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
48
var outputFile = Path.Combine(_workspace.
Path
, "partitions.json");
72
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
77
var outputFile = Path.Combine(_workspace.
Path
, "partitions.json");
100
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
106
var outputFile = Path.Combine(_workspace.
Path
, "partitions.json");
131
var assemblyPath = Path.Combine(_workspace.
Path
, "TestAssembly.dll");
138
var outputFile = Path.Combine(_workspace.
Path
, "partitions.json");
166
var nonExistentPath = Path.Combine(_workspace.
Path
, "DoesNotExist.dll");
167
var outputFile = Path.Combine(_workspace.
Path
, "partitions.json");
PowerShellScripts\StageNativeCliToolPackagesTests.cs (2)
303
var path = Path.Combine(_workspace.
Path
, Path.GetRandomFileName(), "download");
310
return Path.Combine(_workspace.
Path
, Path.GetRandomFileName(), "shipping");
PowerShellScripts\ValidateNpmPackageSignaturesTests.cs (3)
37
var missing = Path.Combine(_workspace.
Path
, "does-not-exist");
54
var filePath = Path.Combine(_workspace.
Path
, "not-a-directory.txt");
214
var path = Path.Combine(_workspace.
Path
, unique, "Shipping");
PowerShellScripts\WriteClassModeTestPropsTests.cs (6)
28
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
50
var outputPropsPath = Path.Combine(_workspace.
Path
, "ClassModeProjects.props");
67
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
79
var outputPropsPath = Path.Combine(_workspace.
Path
, "ClassModeProjects.props");
94
var artifactsDir = Path.Combine(_workspace.
Path
, "artifacts");
106
var outputPropsPath = Path.Combine(_workspace.
Path
, "ClassModeProjects.props");
Shared\ProcessRunnerTests.cs (3)
17
File.WriteAllText(Path.Combine(workspace.
Path
, "marker.txt"), "working directory");
23
workspace.
Path
);
41
workspace.
Path
);
tests\Shared\TemporaryWorkspace.cs (1)
245
var aspireDir = IOPath.Combine(workspace.
Path
, ".aspire");
TestTriggerMap\GraphAffectedProjectsTests.cs (14)
318
var changedFilesPath = System.IO.Path.Combine(_workspace.
Path
, "changed.txt");
320
return GraphAffectedProjects.Compute(_workspace.
Path
, System.IO.Path.Combine(_workspace.
Path
, "Aspire.slnx"), from: null, to: null, changedFilesPath: changedFilesPath).AffectedProjects;
325
var changedFilesPath = System.IO.Path.Combine(_workspace.
Path
, "changed.txt");
327
return GraphAffectedProjects.Compute(_workspace.
Path
, System.IO.Path.Combine(_workspace.
Path
, "Aspire.slnx"), from: null, to: null, changedFilesPath: changedFilesPath);
333
_workspace.
Path
,
334
System.IO.Path.Combine(_workspace.
Path
, "Aspire.slnx"),
348
var fullPath = System.IO.Path.Combine(_workspace.
Path
, relativePath.Replace('\\', System.IO.Path.DirectorySeparatorChar));
440
var newFull = System.IO.Path.Combine(_workspace.
Path
, newRelativePath.Replace('/', System.IO.Path.DirectorySeparatorChar));
445
return GraphAffectedProjects.Compute(_workspace.
Path
, System.IO.Path.Combine(_workspace.
Path
, "Aspire.slnx"), from: baseSha, to: "HEAD", changedFilesPath: null).AffectedProjects;
450
var fullPath = System.IO.Path.Combine(_workspace.
Path
, relativePath.Replace('\\', System.IO.Path.DirectorySeparatorChar));
475
private string Git(params string[] args) => GitCli.Run(_workspace.
Path
, args);
TestTriggerMap\SelectTestsAcceptanceTests.cs (1)
119
return workspace.
Path
;
TestTriggerMap\SelectTestsLayer1IntegrationTests.cs (6)
288
public string Path => _workspace.
Path
;
381
var changed = System.IO.Path.Combine(_workspace.
Path
, "changed.txt");
402
public string Git(params string[] args) => GitCli.Run(_workspace.
Path
, args);
412
var outputPath = System.IO.Path.Combine(_workspace.
Path
, "output");
414
Environment.SetEnvironmentVariable("GITHUB_STEP_SUMMARY", System.IO.Path.Combine(_workspace.
Path
, "summary"));
445
var fullPath = System.IO.Path.Combine(_workspace.
Path
, relativePath.Replace('\\', System.IO.Path.DirectorySeparatorChar));
TypeScriptApiCompat\TypeScriptApiCompatTests.cs (18)
126
var baselineRoot = Path.Combine(workspace.
Path
, "baseline");
127
var currentRoot = Path.Combine(workspace.
Path
, "current");
197
var suppressionPath = Path.Combine(workspace.
Path
, "Pkg.tscompat.suppression.txt");
210
var suppressions = ApiCompatSuppressionLoader.Load(workspace.
Path
);
227
var currentSuppressionPath = Path.Combine(workspace.
Path
, "current", "Pkg.tscompat.suppression.txt");
228
var baselineSuppressionPath = Path.Combine(workspace.
Path
, "baseline", "Pkg.tscompat.suppression.txt");
240
var currentSuppressions = ApiCompatSuppressionLoader.Load(Path.Combine(workspace.
Path
, "current"));
241
var baselineSuppressions = ApiCompatSuppressionLoader.Load(Path.Combine(workspace.
Path
, "baseline"));
253
var baselineRoot = Path.Combine(workspace.
Path
, "baseline");
254
var currentRoot = Path.Combine(workspace.
Path
, "current");
255
var reportPath = Path.Combine(workspace.
Path
, "report.md");
273
workspace.
Path
,
289
var baselineRoot = Path.Combine(workspace.
Path
, "baseline");
290
var currentRoot = Path.Combine(workspace.
Path
, "current");
291
var reportPath = Path.Combine(workspace.
Path
, "report.md");
292
var excludedPackagesPath = Path.Combine(workspace.
Path
, "excluded-packages.txt");
293
var suppressionPath = Path.Combine(workspace.
Path
, "Excluded.tscompat.suppression.txt");
312
workspace.
Path
,
WorkflowScripts\AnalyzeCiFailureWorkflowTests.cs (347)
68
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
69
var callLogPath = Path.Combine(_workspace.
Path
, "gh-calls.log");
98
["GITHUB_OUTPUT"] = Path.Combine(_workspace.
Path
, "github-output"),
266
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
270
Path.Combine(_workspace.
Path
, ".github", "workflows")).FullName;
277
var callLogPath = Path.Combine(_workspace.
Path
, "gh-calls.log");
286
["GITHUB_OUTPUT"] = Path.Combine(_workspace.
Path
, "github-output"),
297
await File.ReadAllTextAsync(Path.Combine(_workspace.
Path
, "ci-failure-data", "triggering-merge-pr.json")));
311
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
360
Path.Combine(_workspace.
Path
, ".github", "workflows")).FullName;
365
var githubOutputPath = Path.Combine(_workspace.
Path
, "github-output");
390
Path.Combine(_workspace.
Path
, "ci-failure-data", "test-failures.json"))).Trim());
394
Path.Combine(_workspace.
Path
, "ci-failure-data", "test-evidence.json"))).Trim());
434
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
445
var githubOutputPath = Path.Combine(_workspace.
Path
, "github-output");
453
["GH_CALL_LOG"] = Path.Combine(_workspace.
Path
, "gh-calls.log"),
464
var ghCalls = await File.ReadAllLinesAsync(Path.Combine(_workspace.
Path
, "gh-calls.log"));
509
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
512
var githubOutputPath = Path.Combine(_workspace.
Path
, "github-output");
513
var callLogPath = Path.Combine(_workspace.
Path
, "gh-calls.log");
573
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
576
var callLogPath = Path.Combine(_workspace.
Path
, "gh-calls.log");
586
["GITHUB_OUTPUT"] = Path.Combine(_workspace.
Path
, "github-output"),
652
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
662
var githubOutputPath = Path.Combine(_workspace.
Path
, "github-output");
663
var callLogPath = Path.Combine(_workspace.
Path
, "gh-calls.log");
699
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
735
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
749
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
770
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
787
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
804
Path.Combine(_workspace.
Path
, "ci-failure-data", "prior-causes")).FullName;
809
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
826
Path.Combine(_workspace.
Path
, "ci-failure-data", "prior-causes")).FullName;
831
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
852
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
884
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
911
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
943
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
959
Path.Combine(_workspace.
Path
, "ci-failure-data", "test-failures.json"),
962
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
966
await File.ReadAllTextAsync(Path.Combine(_workspace.
Path
, "ci-analysis-output", "analysis-result.json")));
992
Path.Combine(_workspace.
Path
, "ci-failure-data", "test-failures.json"),
995
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1022
Path.Combine(_workspace.
Path
, "ci-failure-data", "test-failures.json"),
1030
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1034
await File.ReadAllTextAsync(Path.Combine(_workspace.
Path
, "ci-analysis-output", "analysis-result.json")));
1058
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1079
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1100
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1116
Path.Combine(_workspace.
Path
, "ci-failure-data", "test-failures.json"),
1119
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1139
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1159
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1179
Path.Combine(_workspace.
Path
, "ci-failure-data", "test-failures.json"),
1182
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1198
Path.Combine(_workspace.
Path
, "ci-failure-data", "test-failures.json"),
1201
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1221
Path.Combine(_workspace.
Path
, "ci-failure-data", "test-failures.json"),
1224
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1256
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1289
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1325
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1342
File.Delete(Path.Combine(_workspace.
Path
, "ci-failure-data", "run.json"));
1344
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1362
Path.Combine(_workspace.
Path
, "ci-failure-data", "run.json"),
1365
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1414
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1449
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1496
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1500
await File.ReadAllTextAsync(Path.Combine(_workspace.
Path
, "ci-analysis-output", "analysis-result.json")));
1526
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1546
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1605
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1621
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1644
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1675
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1711
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1715
await File.ReadAllTextAsync(Path.Combine(_workspace.
Path
, "ci-analysis-output", "causes", "flaky-failure.json")));
1738
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1758
Path.Combine(_workspace.
Path
, "ci-failure-data", "prior-causes")).FullName;
1770
var causePath = Path.Combine(_workspace.
Path
, "ci-analysis-output", "causes", "nuget-timeout.json");
1771
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1790
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1810
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1835
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
1877
var analysisPath = Path.Combine(_workspace.
Path
, "analysis.json");
1878
var trustedJobsPath = Path.Combine(_workspace.
Path
, "failed-jobs.json");
1904
var analysisPath = Path.Combine(_workspace.
Path
, "analysis.json");
1905
var trustedJobsPath = Path.Combine(_workspace.
Path
, "failed-jobs.json");
1950
var analysisPath = Path.Combine(_workspace.
Path
, "analysis.json");
1951
var trustedJobsPath = Path.Combine(_workspace.
Path
, "failed-jobs.json");
2149
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
2200
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
2223
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
2242
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
2270
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
2291
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
2324
var causePath = Path.Combine(_workspace.
Path
, "main-build-break.json");
2325
var runContextPath = Path.Combine(_workspace.
Path
, "run-context.json");
2326
var lastSuccessfulRunPath = Path.Combine(_workspace.
Path
, "last-successful-main-run.json");
2327
var triggeringMergePath = Path.Combine(_workspace.
Path
, "triggering-merge-pr.json");
2328
var candidateHistoryStatusPath = Path.Combine(_workspace.
Path
, "candidate-merge-history-status.json");
2329
var bodyPath = Path.Combine(_workspace.
Path
, "issue-body.md");
2330
var metadataPath = Path.Combine(_workspace.
Path
, "issue-metadata.json");
2407
var causePath = Path.Combine(_workspace.
Path
, "main-build-break.json");
2408
var runContextPath = Path.Combine(_workspace.
Path
, "run-context.json");
2409
var lastSuccessfulRunPath = Path.Combine(_workspace.
Path
, "last-successful-main-run.json");
2410
var triggeringMergePath = Path.Combine(_workspace.
Path
, "triggering-merge-pr.json");
2411
var candidateHistoryStatusPath = Path.Combine(_workspace.
Path
, "candidate-merge-history-status.json");
2412
var bodyPath = Path.Combine(_workspace.
Path
, "issue-body.md");
2413
var metadataPath = Path.Combine(_workspace.
Path
, "issue-metadata.json");
2487
var causePath = Path.Combine(_workspace.
Path
, "flaky-failure.json");
2488
var bodyPath = Path.Combine(_workspace.
Path
, "issue-body.md");
2489
var metadataPath = Path.Combine(_workspace.
Path
, "issue-metadata.json");
2801
Path.Combine(_workspace.
Path
, ".github", "workflows")).FullName;
2806
Path.Combine(_workspace.
Path
, "ci-failure-data")).FullName;
3033
var archivePath = Path.Combine(_workspace.
Path
, "test-results.zip");
3039
var outputDirectory = Path.Combine(_workspace.
Path
, "extracted");
3055
var archivePath = Path.Combine(_workspace.
Path
, "test-results.zip");
3061
var outputDirectory = Path.Combine(_workspace.
Path
, "extracted");
3086
var archivePath = Path.Combine(_workspace.
Path
, "test-results.zip");
3091
var outputDirectory = Path.Combine(_workspace.
Path
, "extracted");
3106
var archivePath = Path.Combine(_workspace.
Path
, "test-results.zip");
3111
var outputDirectory = Path.Combine(_workspace.
Path
, "extracted");
3126
var archivePath = Path.Combine(_workspace.
Path
, "test-results.zip");
3131
var outputDirectory = Path.Combine(_workspace.
Path
, "extracted");
3158
var archivePath = Path.Combine(_workspace.
Path
, "test-results.zip");
3170
var outputDirectory = Path.Combine(_workspace.
Path
, "extracted");
3185
var archivePath = Path.Combine(_workspace.
Path
, "test-results.zip");
3190
var outputDirectory = Path.Combine(_workspace.
Path
, "extracted");
3205
var archivePath = Path.Combine(_workspace.
Path
, "test-results.zip");
3214
var outputDirectory = Path.Combine(_workspace.
Path
, "extracted");
3229
var artifactsPath = Path.Combine(_workspace.
Path
, "artifacts.json");
3243
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3279
var artifactsPath = Path.Combine(_workspace.
Path
, "artifacts.json");
3300
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3339
var artifactsPath = Path.Combine(_workspace.
Path
, "artifacts.json");
3341
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3370
var artifactsPath = Path.Combine(_workspace.
Path
, "artifacts.json");
3382
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3415
var artifactsPath = Path.Combine(_workspace.
Path
, "artifacts.json");
3443
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3490
var artifactsPath = Path.Combine(_workspace.
Path
, "artifacts.json");
3492
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3526
var artifactsPath = Path.Combine(_workspace.
Path
, "artifacts.json");
3528
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3562
var artifactsPath = Path.Combine(_workspace.
Path
, "artifacts.json");
3564
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3598
var artifactsPath = Path.Combine(_workspace.
Path
, "artifacts.json");
3612
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3651
var testResultsDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "test-results"));
3670
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3676
var outputPath = Path.Combine(_workspace.
Path
, "test-failures.json");
3700
var testResultsDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "test-results"));
3713
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3717
var outputPath = Path.Combine(_workspace.
Path
, "test-failures.json");
3742
var testResultsDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "test-results"));
3755
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3759
var outputPath = Path.Combine(_workspace.
Path
, "test-failures.json");
3780
var testResultsDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "test-results"));
3799
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3803
var outputPath = Path.Combine(_workspace.
Path
, "test-failures.json");
3824
var testResultsDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "test-results"));
3826
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3830
var outputPath = Path.Combine(_workspace.
Path
, "test-failures.json");
3851
var testResultsDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "test-results"));
3856
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3860
var outputPath = Path.Combine(_workspace.
Path
, "test-failures.json");
3885
var testResultsDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "test-results"));
3898
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3902
var outputPath = Path.Combine(_workspace.
Path
, "test-failures.json");
3926
var testResultsDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "test-results"));
3930
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3934
var outputPath = Path.Combine(_workspace.
Path
, "test-failures.json");
3958
var testResultsDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "test-results"));
3960
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
3964
var outputPath = Path.Combine(_workspace.
Path
, "test-failures.json");
3988
var testResultsDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "test-results"));
3998
var jobsPath = Path.Combine(_workspace.
Path
, "all-jobs.json");
4002
var outputPath = Path.Combine(_workspace.
Path
, "test-failures.json");
4037
var openIssuesPath = Path.Combine(_workspace.
Path
, "open-issues.json");
4038
var closedIssuesPath = Path.Combine(_workspace.
Path
, "closed-issues.json");
4145
var callLogPath = Path.Combine(_workspace.
Path
, "gh-calls.log");
4156
var openIssuesPath = Path.Combine(_workspace.
Path
, "open-issues.json");
4157
var closedIssuesPath = Path.Combine(_workspace.
Path
, "closed-issues.json");
4224
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
4225
var gitCallLog = Path.Combine(_workspace.
Path
, "git-calls.log");
4244
["GH_AW_AGENT_OUTPUT"] = Path.Combine(_workspace.
Path
, "output.json"),
4245
["ANALYSIS_DIR"] = Path.Combine(_workspace.
Path
, "ci-analysis-output"),
4264
var causesDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "ci-analysis-output", "causes")).FullName;
4268
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
4269
var tempDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "temp")).FullName;
4270
var ghCallLog = Path.Combine(_workspace.
Path
, "gh-calls.log");
4295
["GH_AW_AGENT_OUTPUT"] = Path.Combine(_workspace.
Path
, "output.json"),
4296
["ANALYSIS_DIR"] = Path.Combine(_workspace.
Path
, "ci-analysis-output"),
4325
var analysisDirectory = Path.Combine(_workspace.
Path
, "ci-analysis-output");
4327
var failureDataDirectory = Path.Combine(_workspace.
Path
, "ci-failure-data");
4350
var currentBodyPath = Path.Combine(_workspace.
Path
, "current-issue-body.md");
4351
var storedCausePath = Path.Combine(_workspace.
Path
, "stored-main-cause.json");
4352
var editedBodyPath = Path.Combine(_workspace.
Path
, "edited-issue-body.md");
4353
var editedTitlePath = Path.Combine(_workspace.
Path
, "edited-issue-title.txt");
4354
var editedLabelsPath = Path.Combine(_workspace.
Path
, "edited-issue-labels.txt");
4410
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
4478
["GH_AW_AGENT_OUTPUT"] = Path.Combine(_workspace.
Path
, "output.json"),
4479
["ANALYSIS_DIR"] = Path.Combine(_workspace.
Path
, "ci-analysis-output"),
4523
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
4524
var ghCallLog = Path.Combine(_workspace.
Path
, "gh-calls.log");
4543
["GH_AW_AGENT_OUTPUT"] = Path.Combine(_workspace.
Path
, "output.json"),
4544
["ANALYSIS_DIR"] = Path.Combine(_workspace.
Path
, "ci-analysis-output"),
4561
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
4562
var tempDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "temp")).FullName;
4563
var ghCallLog = Path.Combine(_workspace.
Path
, "gh-calls.log");
4583
["GH_AW_AGENT_OUTPUT"] = Path.Combine(_workspace.
Path
, "output.json"),
4584
["ANALYSIS_DIR"] = Path.Combine(_workspace.
Path
, "ci-analysis-output"),
4603
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
4604
var ghCallLog = Path.Combine(_workspace.
Path
, "gh-calls.log");
4625
["GH_AW_AGENT_OUTPUT"] = Path.Combine(_workspace.
Path
, "output.json"),
4626
["ANALYSIS_DIR"] = Path.Combine(_workspace.
Path
, "ci-analysis-output"),
4644
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
4645
var tempDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "temp")).FullName;
4646
var ghCallLog = Path.Combine(_workspace.
Path
, "gh-calls.log");
4647
var prLookupCountPath = Path.Combine(_workspace.
Path
, "pr-lookup-count");
4680
["GH_AW_AGENT_OUTPUT"] = Path.Combine(_workspace.
Path
, "output.json"),
4681
["ANALYSIS_DIR"] = Path.Combine(_workspace.
Path
, "ci-analysis-output"),
5130
Path.Combine(_workspace.
Path
, "last-success.json"));
5133
using var output = JsonDocument.Parse(await File.ReadAllTextAsync(Path.Combine(_workspace.
Path
, "last-success.json")));
5136
Assert.Contains("per_page=100", await File.ReadAllTextAsync(Path.Combine(_workspace.
Path
, "gh-calls.log")), StringComparison.Ordinal);
5138
await File.ReadAllLinesAsync(Path.Combine(_workspace.
Path
, "gh-calls.log")),
5164
var outputPath = Path.Combine(_workspace.
Path
, "last-success.json");
5199
var outputPath = Path.Combine(_workspace.
Path
, "last-success.json");
5206
await File.ReadAllLinesAsync(Path.Combine(_workspace.
Path
, "gh-calls.log")),
5234
var outputPath = Path.Combine(_workspace.
Path
, "last-success.json");
5242
await File.ReadAllLinesAsync(Path.Combine(_workspace.
Path
, "gh-calls.log")),
5264
Path.Combine(_workspace.
Path
, "last-success.json"));
5282
Path.Combine(_workspace.
Path
, "last-success.json"));
5309
Path.Combine(_workspace.
Path
, "last-success.json"));
5312
using var output = JsonDocument.Parse(await File.ReadAllTextAsync(Path.Combine(_workspace.
Path
, "last-success.json")));
5314
Assert.True(int.Parse(await File.ReadAllTextAsync(Path.Combine(_workspace.
Path
, "gh-call-count"))) >= 2);
5316
(await File.ReadAllLinesAsync(Path.Combine(_workspace.
Path
, "gh-calls.log")))
5343
Path.Combine(_workspace.
Path
, "last-success.json"));
5346
using var output = JsonDocument.Parse(await File.ReadAllTextAsync(Path.Combine(_workspace.
Path
, "last-success.json")));
5348
Assert.Equal(2, int.Parse(await File.ReadAllTextAsync(Path.Combine(_workspace.
Path
, "gh-call-count"))));
5351
(await File.ReadAllLinesAsync(Path.Combine(_workspace.
Path
, "gh-calls.log")))
5364
Path.Combine(_workspace.
Path
, "last-success.json"));
5377
var candidatesPath = Path.Combine(_workspace.
Path
, "candidate-merges.json");
5378
var statusPath = Path.Combine(_workspace.
Path
, "candidate-merge-history-status.json");
5398
var candidatesPath = Path.Combine(_workspace.
Path
, "candidate-merges.json");
5399
var statusPath = Path.Combine(_workspace.
Path
, "candidate-merge-history-status.json");
5442
var candidatesPath = Path.Combine(_workspace.
Path
, "candidate-merges.json");
5443
var statusPath = Path.Combine(_workspace.
Path
, "candidate-merge-history-status.json");
5491
var candidatesPath = Path.Combine(_workspace.
Path
, "candidate-merges.json");
5492
var statusPath = Path.Combine(_workspace.
Path
, "candidate-merge-history-status.json");
5503
var ghCalls = await File.ReadAllLinesAsync(Path.Combine(_workspace.
Path
, "gh-calls.log"));
5551
var candidatesPath = Path.Combine(_workspace.
Path
, "candidate-merges.json");
5552
var statusPath = Path.Combine(_workspace.
Path
, "candidate-merge-history-status.json");
5563
await File.ReadAllLinesAsync(Path.Combine(_workspace.
Path
, "gh-calls.log")),
5592
var candidatesPath = Path.Combine(_workspace.
Path
, "candidate-merges.json");
5593
var statusPath = Path.Combine(_workspace.
Path
, "candidate-merge-history-status.json");
5636
var candidatesPath = Path.Combine(_workspace.
Path
, "candidate-merges.json");
5637
var statusPath = Path.Combine(_workspace.
Path
, "candidate-merge-history-status.json");
5676
var candidatesPath = Path.Combine(_workspace.
Path
, "candidate-merges.json");
5677
var statusPath = Path.Combine(_workspace.
Path
, "candidate-merge-history-status.json");
5719
var outputPath = Path.Combine(_workspace.
Path
, "persisted-main.json");
5777
var outputPath = Path.Combine(_workspace.
Path
, $"persisted-{historyState}.json");
5818
var outputPath = Path.Combine(_workspace.
Path
, "persisted-pr.json");
5871
var outputPath = Path.Combine(_workspace.
Path
, "persisted-pr.json");
5903
var outputPath = Path.Combine(_workspace.
Path
, "persisted-pr.json");
5922
var failureDataDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "ci-failure-data")).FullName;
5926
var causeFile = Path.Combine(_workspace.
Path
, "cause.json");
5948
var newCausePath = Path.Combine(_workspace.
Path
, "new-cause.json");
5949
var existingCausePath = Path.Combine(_workspace.
Path
, "existing-cause.json");
5950
var outputPath = Path.Combine(_workspace.
Path
, "merged-cause.json");
5976
var causePath = Path.Combine(_workspace.
Path
, "prior-cause.json");
6012
var metadataPath = Path.Combine(_workspace.
Path
, "metadata.json");
6044
var diagnosticsPath = Path.Combine(_workspace.
Path
, "diagnostics.json");
6067
var logPath = Path.Combine(_workspace.
Path
, "job.log");
6120
var inputPath = Path.Combine(_workspace.
Path
, "job.log");
6121
var outputPath = Path.Combine(_workspace.
Path
, "sanitized.log");
6136
var inputPath = Path.Combine(_workspace.
Path
, "job.log");
6137
var outputPath = Path.Combine(_workspace.
Path
, "sanitized.log");
6156
var causePath = Path.Combine(_workspace.
Path
, "cause.json");
6157
var bodyPath = Path.Combine(_workspace.
Path
, "issue-body.md");
6158
var metadataPath = Path.Combine(_workspace.
Path
, "issue-metadata.json");
6222
var analysisPath = Path.Combine(_workspace.
Path
, "analysis.json");
6223
var trustedJobsPath = Path.Combine(_workspace.
Path
, "failed-jobs.json");
6281
var currentBodyPath = Path.Combine(_workspace.
Path
, "current-body.md");
6282
var outputPath = Path.Combine(_workspace.
Path
, "updated-body.md");
6325
var currentBodyPath = Path.Combine(_workspace.
Path
, "current-body.md");
6326
var canonicalBodyPath = Path.Combine(_workspace.
Path
, "canonical-body.md");
6327
var outputPath = Path.Combine(_workspace.
Path
, "updated-body.md");
6446
var currentBodyPath = Path.Combine(_workspace.
Path
, "current-body.md");
6447
var outputPath = Path.Combine(_workspace.
Path
, "updated-body.md");
6499
var currentBodyPath = Path.Combine(_workspace.
Path
, "current-body.md");
6500
var outputPath = Path.Combine(_workspace.
Path
, "updated-body.md");
6538
var currentBodyPath = Path.Combine(_workspace.
Path
, "current-body.md");
6539
var firstOutputPath = Path.Combine(_workspace.
Path
, "first-output.md");
6540
var secondOutputPath = Path.Combine(_workspace.
Path
, "second-output.md");
6604
var causePath = Path.Combine(_workspace.
Path
, "cause.json");
6605
var bodyPath = Path.Combine(_workspace.
Path
, "issue-body.md");
6606
var metadataPath = Path.Combine(_workspace.
Path
, "issue-metadata.json");
6664
var causePath = Path.Combine(_workspace.
Path
, "cause.json");
6665
var runContextPath = Path.Combine(_workspace.
Path
, "run-context.json");
6666
var lastSuccessfulPath = Path.Combine(_workspace.
Path
, "last-successful.json");
6667
var triggeringMergePath = Path.Combine(_workspace.
Path
, "triggering-merge.json");
6668
var candidateHistoryStatusPath = Path.Combine(_workspace.
Path
, "candidate-merge-history-status.json");
6669
var bodyPath = Path.Combine(_workspace.
Path
, "issue-body.md");
6670
var metadataPath = Path.Combine(_workspace.
Path
, "issue-metadata.json");
6713
var trustedJobsPath = Path.Combine(_workspace.
Path
, "failed-jobs.json");
6714
var buildCausePath = Path.Combine(_workspace.
Path
, "build-cause.json");
6715
var testCausePath = Path.Combine(_workspace.
Path
, "test-cause.json");
6716
var multiJobCausePath = Path.Combine(_workspace.
Path
, "multi-job-cause.json");
6727
var failureDataDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "ci-failure-data")).FullName;
6777
var buildBodyPath = Path.Combine(_workspace.
Path
, "build-body.md");
6778
var buildMetadataPath = Path.Combine(_workspace.
Path
, "build-metadata.json");
6779
var testBodyPath = Path.Combine(_workspace.
Path
, "test-body.md");
6780
var testMetadataPath = Path.Combine(_workspace.
Path
, "test-metadata.json");
6922
process.StartInfo.WorkingDirectory = _workspace.
Path
;
6927
process.StartInfo.Environment["ANALYSIS_DIR"] = Path.Combine(_workspace.
Path
, "ci-analysis-output");
6946
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
6962
["GH_CALL_LOG"] = Path.Combine(_workspace.
Path
, "gh-calls.log"),
6963
["GH_CALL_COUNT_FILE"] = Path.Combine(_workspace.
Path
, "gh-call-count"),
6969
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "fake-bin")).FullName;
6985
["GH_CALL_LOG"] = Path.Combine(_workspace.
Path
, "gh-calls.log"),
7003
var analysisDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "ci-analysis-output")).FullName;
7005
var failureDataDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "ci-failure-data")).FullName;
7007
Path.Combine(_workspace.
Path
, "output.json"),
7045
var requestPath = Path.Combine(_workspace.
Path
, "rerun-request.json");
7046
var outputPath = Path.Combine(_workspace.
Path
, "rerun-result.json");
7053
agentOutputPath = Path.Combine(_workspace.
Path
, "output.json"),
7054
analysisDir = Path.Combine(_workspace.
Path
, "ci-analysis-output"),
7062
.WithWorkingDirectory(_workspace.
Path
)
7076
var fakeBinDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, $"fake-bin-{Guid.NewGuid():N}")).FullName;
7085
var workflowDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, ".github", "workflows")).FullName;
7096
var analysisDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "ci-analysis-output")).FullName;
7097
var failureDataDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "ci-failure-data")).FullName;
7110
await File.WriteAllTextAsync(Path.Combine(_workspace.
Path
, "output.json"), """{"items":[]}""");
7200
var analysisDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "ci-analysis-output")).FullName;
7201
var failureDataDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "ci-failure-data")).FullName;
7218
Path.Combine(_workspace.
Path
, "ci-analysis-output", "analysis-result.json"),
7231
["CI_FAILURE_DATA_DIR"] = Path.Combine(_workspace.
Path
, "ci-failure-data"),
7253
process.StartInfo.WorkingDirectory = _workspace.
Path
;
7289
var analysisDirectory = Path.Combine(_workspace.
Path
, "ci-analysis-output");
7290
var failureDataDirectory = Path.Combine(_workspace.
Path
, "ci-failure-data");
7356
var causesDirectory = Directory.CreateDirectory(Path.Combine(_workspace.
Path
, "ci-analysis-output", "causes")).FullName;
7365
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
7376
var result = await RunValidationScriptAsync(Path.Combine(_workspace.
Path
, "output.json"));
WorkflowScripts\AutoRerunTransientCiFailuresTests.cs (1)
2221
string inputPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.json");
WorkflowScripts\CreateFailingTestIssueWorkflowTests.cs (1)
270
var requestPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.json");
WorkflowScripts\DeploymentTestCommandTests.cs (1)
72
var scriptPath = Path.Combine(workspace.
Path
, "permission-check.js");
WorkflowScripts\DeploymentTestScriptTests.cs (5)
31
var outputFile = Path.Combine(_workspace.
Path
, "github-output.txt");
32
var argumentsFile = Path.Combine(_workspace.
Path
, "dotnet-arguments.txt");
33
var fakeDotnetScript = Path.Combine(_workspace.
Path
, "dotnet.sh");
42
var resultsDirectory = Path.Combine(_workspace.
Path
, "test results");
96
process.StartInfo.WorkingDirectory = _workspace.
Path
;
WorkflowScripts\ExtensionChangelogFinalizedWorkflowTests.cs (23)
304
var changelogPath = Path.Combine(_workspace.
Path
, "extension", "CHANGELOG.md");
311
=> await RunGateScriptAsync(_workspace.
Path
, environment);
349
await InitializeGitRepositoryAsync(_workspace.
Path
);
351
await WritePackageJsonAsync(_workspace.
Path
, "1.98.0");
352
await WriteChangelogAsync(_workspace.
Path
, """
358
await WriteWorkspaceFileAsync(_workspace.
Path
, Path.Combine("extension", "src", "baseline.txt"), "baseline");
359
await CommitAllAsync(_workspace.
Path
, "Create baseline changelog");
363
_workspace.
Path
,
375
await CommitAllAsync(_workspace.
Path
, "Finalize prior release changelog");
377
await WriteWorkspaceFileAsync(_workspace.
Path
, Path.Combine("extension", "src", "feature.txt"), "feature-one");
378
await CommitAllAsync(_workspace.
Path
, "Add extension feature");
381
await RunGitAsync(_workspace.
Path
, "checkout", "-b", "extension-release/v1.99.0");
383
await WritePackageJsonAsync(_workspace.
Path
, "1.99.0");
384
await WriteChangelogAsync(_workspace.
Path
, $$"""
398
await CommitAllAsync(_workspace.
Path
, "Prepare release branch changelog");
400
await RunGitAsync(_workspace.
Path
, "checkout", "main");
404
await WriteWorkspaceFileAsync(_workspace.
Path
, Path.Combine("extension", "src", "late-main.txt"), "late extension change");
408
await WriteWorkspaceFileAsync(_workspace.
Path
, Path.Combine("docs", "late-main.md"), "non-extension main change");
411
await CommitAllAsync(_workspace.
Path
, "Advance main");
412
var baseSha = await GetHeadShaAsync(_workspace.
Path
);
414
await RunGitAsync(_workspace.
Path
, "checkout", "extension-release/v1.99.0");
417
_workspace.
Path
,
467
=> await GetHeadShaAsync(_workspace.
Path
);
WorkflowScripts\MonitorScheduledWorkflowsIntegrationTests.cs (1)
392
var requestPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.json");
WorkflowScripts\MonitorScheduledWorkflowsTests.cs (1)
245
var requestPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.json");
WorkflowScripts\OrganizationFundedCopilotReviewsTests.cs (1)
148
var scriptPath = Path.Combine(workspace.
Path
, "review-script.js");
WorkflowScripts\PrDocsCheckWorkflowTests.cs (3)
231
var outcomeFile = Path.Combine(workspace.
Path
, "outcome.json");
240
var requestPath = Path.Combine(workspace.
Path
, "request.json");
241
var resultPath = Path.Combine(workspace.
Path
, "result.json");
WorkflowScripts\ReportCiFailureIntegrationTests.cs (1)
284
var requestPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.json");
WorkflowScripts\ReportCiFailureTests.cs (1)
81
var requestPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.json");
WorkflowScripts\ReportPipelineFailureIntegrationTests.cs (1)
290
var requestPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.json");
WorkflowScripts\ReportPipelineFailureTests.cs (1)
139
var requestPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.json");
WorkflowScripts\ReportSpecializedTestFailuresTests.cs (1)
228
var requestPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.json");
WorkflowScripts\SelectTestsCommentScriptTests.cs (4)
105
var missingPath = Path.Combine(_workspace.
Path
, "does-not-exist.md");
180
var path = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.md");
230
var requestPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.json");
231
var outputPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.result.json");
WorkflowScripts\SpecializedTestFailureRunnerTests.cs (1)
228
var requestPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.json");
WorkflowScripts\SyncMainToRelease14Tests.cs (1)
100
var scriptPath = Path.Combine(workspace.
Path
, "sync-script.js");
WorkflowScripts\TrackingIssueTests.cs (1)
286
var requestPath = Path.Combine(_workspace.
Path
, $"{Guid.NewGuid():N}.json");
WorkflowScripts\ValidateAgenticWorkflowsTests.cs (8)
76
workspace.
Path
);
86
GitCli.Run(workspace.
Path
, "init", "-q", "-b", "main");
87
GitCli.Run(workspace.
Path
, "config", "user.email", "test@example.com");
88
GitCli.Run(workspace.
Path
, "config", "user.name", "Test");
89
GitCli.Run(workspace.
Path
, "config", "commit.gpgsign", "false");
106
=> Path.Combine(workspace.
Path
, relativePath.Replace('/', Path.DirectorySeparatorChar));
110
GitCli.Run(workspace.
Path
, "add", "-A");
111
GitCli.Run(workspace.
Path
, "commit", "-q", "-m", message);
WorkflowScripts\VerifyTelemetryHookChangesWorkflowTests.cs (9)
129
GitCli.Run(workspace.
Path
, "init", "-q", "-b", "main");
130
GitCli.Run(workspace.
Path
, "config", "user.email", "test@example.com");
131
GitCli.Run(workspace.
Path
, "config", "user.name", "Test");
132
GitCli.Run(workspace.
Path
, "config", "commit.gpgsign", "false");
148
var scriptPath = Path.Combine(workspace.
Path
, "verify-telemetry-hook-changes.ps1");
152
.WithWorkingDirectory(workspace.
Path
)
178
=> Path.Combine(workspace.
Path
, relativePath.Replace('/', Path.DirectorySeparatorChar));
182
GitCli.Run(workspace.
Path
, "add", "-A");
183
GitCli.Run(workspace.
Path
, "commit", "-q", "-m", message);