[aw] Flaky Test Triage is missing required tool
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
### Workflow Failure
**Workflow:** [Flaky Test Triage](https://github.com/dotnet/msbuild/blob/main/.github/workflows/flaky-test-detector.agent.md)
**Branch:** main
**Run:** https://github.com/dotnet/msbuild/actions/runs/34347628366
> [!WARNING]
> **Missing Tools Reported**: The agent reported missing tools during execution.
**Missing Tools:**
- ****: The PowerShell \(pwsh 7.6.5\) environment in this runner cannot load core modules \(Microsoft.PowerShell.Management, Microsoft.PowerShell.Utility\), so cmdlets like New-Item, Get-ChildItem, Join-Path, Write-Host, and Format-List are all unavailable \('term not
\[Content truncated due to length\]
Alternatives:
| Tool | Alternative |
| --- | --- |
| | Re-run this workflow on a runner image where PowerShell's full module set \(Microsoft.PowerShell.Management, Microsoft.PowerShell.Utility\) is loadable, or investigate/relax whatever policy strips PSModulePath/blocks module loading for pwsh in this sandbox, then re-trigger the scheduled flaky-test-triage run. |
### Action Required
**Assign this issue to an agent** to debug and fix the issue.
Debug with any coding agent
Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):
````
Debug the agentic workflow failure using https://raw.githubusercontent.com/github/gh-aw/main/debug.md
The failed workflow run is at https://github.com/dotnet/msbuild/actions/runs/34347628366
````
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the `agentic-workflows` prompt.
- Start your agent
- Load the `agentic-workflows` skill from `.github/skills/agentic-workflows/SKILL.md` or
- Type `debug the agentic workflow flaky-test-detector.agent failure in https://github.com/dotnet/msbuild/actions/runs/34347628366`
> [!TIP]
>
> Stop reporting this workflow as a failure
>
> To stop a workflow from creating failure issues, set `report-failure-as-issue: false` in its frontmatter:
> ```yaml
> safe-outputs:
> report-failure-as-issue: false
> ```
>
>
> Generated from [Flaky Test Triage](https://github.com/dotnet/msbuild/actions/runs/34347628366) · copilot · 72.4 AIC · [◷](https://github.com/search?q=repo%3Adotnet%2Fmsbuild+is%3Aissue+%22gh-aw-workflow-id%3A+flaky-test-detector.agent%22&type=issues)
Contributor guide
No contributing guide indexed for this repository
Research direction
Read .github/workflows/flaky-test-detector.agent.md and inspect workflow run 34347628366, starting with the reported PowerShell module-loading failure. Determine why Microsoft.PowerShell.Management and Microsoft.PowerShell.Utility are unavailable on the runner; done means the workflow can use the listed cmdlets and a rerun completes without the missing-tool report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, powershell
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100