Skip to content

[aw] Runtime Failure Observer (xharness) is missing required tool #1720

Description

@github-actions

Workflow Failure

Workflow: Runtime Failure Observer (xharness)
Branch: main
Run: https://github.com/dotnet/xharness/actions/runs/34423131731

Warning

Missing Tools Reported: The agent reported missing tools during execution.

Missing Tools:

  • gh: gh: To use GitHub CLI in a GitHub Actions workflow, set the GH_TOKEN environment variable. Example: env: GH_TOKEN: $\{\{ github.token }}

Alternatives:

Tool Alternative
gh No permitted authenticated GitHub read tool is available in this runtime; GitHub MCP tools were required by the workflow but are not exposed to this agent.

Warning

Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

  │ safeoutputs missing_tool --tool gh --reason 'gh: To use GitHub CLI in a GitHub Actions workflow,
  │ set the GH_TOKEN environment variable. Example: env: GH_TOKEN: ${{ github.token }}'
  │ --alternatives 'No permitted authenticated GitHub read tool is available in this runtime; GitHub
  │ MCP tools were required by the workflow but are not exposed to this agent.'
  └ 14 lines…
The scan is incomplete: the required xharness fix-dedup search could not run because `gh` has no authentication token, and no authenticated GitHub read tool is exposed in this environment. I reported the unavailable required tool; no pull request or no-op result was emitted.
Changes    +0 -0
Duration   2m 2s
Tokens     ↑ 959.0k (916.2k cached, 42.6k written) • ↓ 5.4k (1.1k reasoning)
Resume     copilot --resume=8b93fe51-7d88-418c-b145-b69a80d9142a

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/xharness/actions/runs/34423131731
Manually invoke the agent

Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.

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:

safe-outputs:
  report-failure-as-issue: false

Generated from Runtime Failure Observer (xharness) · 33.4 AIC · ◷

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions