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