dotnet / dotnet/xharness

[aw] Runtime Failure Observer cannot access required GitHub MCP tools

Open
#1,724 2 comments 0 reactions 0 assignees View on GitHub
agentic-workflows
Dominant language
C#
Stars
189
Forks
67
Avg merge
1d 12h
Merged PRs (30d)
29

Description

### Workflow Failure

**Workflow:** [Runtime Failure Observer (xharness)](https://github.com/dotnet/xharness/blob/main/.github/workflows/runtime-failure-observer.agent.md)
**Branch:** main
**Run:** https://github.com/dotnet/xharness/actions/runs/34794411696

> [!WARNING]
> **Missing Tools Reported**: The agent reported missing tools during execution.

**Missing Tools:**
- **GitHub MCP read interface**: Required Step 4 existing-issue and pull-request searches could not execute: no GitHub MCP read tool is available in this environment, and gh is explicitly unauthenticated.

Alternatives:

| Tool | Alternative |
| --- | --- |
| GitHub MCP read interface | Used the required AzDO/Helix observer helper to fetch and inspect the runtime evidence; no GitHub-read substitute is authorized. |

> [!WARNING]
> **Engine Failure**: The `copilot` engine terminated unexpectedly.

**Last agent output:**
```
│ in this environment, and gh is explicitly unauthenticated." --alternatives "Used the required
│ AzDO/Helix observer helper to fetch and inspect the runtime evidence; no GitHub-read substitute
│ is authorized."
└ 14 lines…
The scan is **incomplete** because the required Step 4 GitHub issue/PR deduplication searches were unavailable: this environment provides no GitHub MCP read interface, and `gh` is unauthenticated. No pull request was created.
The inspected runtime evidence showed four MacCatalyst xharness `TIMED_OUT` failures in build `1594486`; each already logged the 10,800-second timeout and explicitly recommended `--timeout`, so no missing diagnostic was identified before the required deduplication step.
Changes +0 -0
Duration 2m 10s
Tokens ↑ 1.3m (1.2m cached, 44.2k written) • ↓ 4.7k (730 reasoning)
Resume copilot --resume=ad9a33d2-e4eb-46d5-b5d6-54bfae4ff8d2
```

### 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/34794411696
````

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 runtime-failure-observer.agent failure in https://github.com/dotnet/xharness/actions/runs/34794411696`

> [!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 [Runtime Failure Observer (xharness)](https://github.com/dotnet/xharness/actions/runs/34794411696) · 38.8 AIC · [◷](https://github.com/search?q=repo%3Adotnet%2Fxharness+is%3Aissue+%22gh-aw-workflow-id%3A+runtime-failure-observer.agent%22&type=issues)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with .github/workflows/runtime-failure-observer.agent.md and the failed run linked in the issue; read debug.md and the agentic-workflows skill at .github/skills/agentic-workflows/SKILL.md. Investigate why the required GitHub MCP read interface is unavailable while gh is unauthenticated, then verify the workflow can complete its issue and pull-request searches without the reported missing-tool failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, github-actions
Domain
ci-cd, devops, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.