348 references to _workspace
Infrastructure.Tests (348)
WorkflowScripts\AnalyzeCiFailureWorkflowTests.cs (348)
40public void Dispose() => _workspace.Dispose(); 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"));