dotnet / dotnet/core

[aw] API Diff Worker failed

Open
#10,560 1 comment 0 reactions 0 assignees View on GitHub
agentic-workflows
Dominant language
PowerShell
Stars
22k
Forks
4.9k
Avg merge
5d 5h
Merged PRs (30d)
29

Description

### Workflow Failure

**Workflow:** [API Diff Worker](https://github.com/dotnet/core/blob/main/.github/workflows/api-diff-worker.md)
**Branch:** main
**Run:** https://github.com/dotnet/core/actions/runs/34231923297

> [!WARNING]
> **Invalid or Unsupported Model**: The agent failed because the configured model name is invalid, unknown, or unavailable for this engine/account.

This is a **configuration issue**, not a transient error — retrying will not help.

How to fix this

Specify a valid model for the selected engine in the workflow frontmatter:

```yaml
---
engine: copilot
model: gpt-5-mini
---
```

To find valid models, check your engine/provider documentation (for Copilot see [supported models](https://docs.github.com/en/copilot/using-github-copilot/using-github-copilot-in-the-command-line#supported-models)).

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

**Last agent output:**
```
at _rmdirSync (node:internal/fs/rimraf:251:7)
at rimrafSync (node:internal/fs/rimraf:194:7)
at node:internal/fs/rimraf:254:9
at Array.forEach ()
at _rmdirSync (node:internal/fs/rimraf:251:7) {
errno: -13,
code: 'EACCES',
syscall: 'unlink',
path: '/tmp/awf-1788874882675-chroot-home/.aws/config'
}
```

### 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/core/actions/runs/34231923297
````

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 api-diff-worker failure in https://github.com/dotnet/core/actions/runs/34231923297`

> [!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 [API Diff Worker](https://github.com/dotnet/core/actions/runs/34231923297) · [◷](https://github.com/search?q=repo%3Adotnet%2Fcore+is%3Aissue+%22gh-aw-workflow-id%3A+api-diff-worker%22&type=issues)
> - [x] expires on Sep 15, 2026, 1:46 PM UTC

Contributor guide

Open the contributing guide

Research direction

Start with .github/workflows/api-diff-worker.md and the linked failed run. Read .github/skills/agentic-workflows/SKILL.md or the referenced debug.md, then inspect the workflow frontmatter and the model and filesystem errors. Done means the API Diff Worker completes without the unsupported-model or EACCES failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, github-actions, powershell
Domain
ci-cd, devops, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.