Azure / Azure/apiops-cli

[aw] Contract test: verify context separation failed

已关闭
#271 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
agentic-workflows
主要语言
TypeScript
星标
26
派生
9
平均合并
1 天 3 小时
30 天内合并 PR
20

描述

### Workflow Failure

**Workflow:** [Contract test: verify context separation](https://github.com/Azure/apiops-cli/blob/main/.github/workflows/issue-triage.md)
**Branch:** main
**Run:** https://github.com/Azure/apiops-cli/actions/runs/34220055160

> [!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:**
```
Duration 0s
400 The requested model is not available for integrator "agentic-workflows". Available models: [gpt-4.1 claude-fable-5.1 claude-fable-5 claude-opus-4.6 claude-opus-4.7 claude-opus-4.8-fast claude-opus-4.8 claude-opus-5 claude-sonnet-5 copilot-search-a copilot-search-b copilot-search-c exec-agent-a exec-agent-b exec-agent-c gpt-5.3-codex gpt-5.4-mini gpt-5.4 gpt-5.5 gpt-5.6-luna gpt-5.6-sol-fast gpt-5.6-sol gpt-5.6-terra gpt-6-astra grok-4.5 grok-4.6 kimi-k2.7-code kimi-k3 mai-code-1.1-flash mai-code-1-flash-picker trajectory-compaction gpt-5-mini gpt-3.5-turbo gpt-3.5-turbo-0613 gpt-4o-mini gpt-4o-mini-2024-07-18 copilot-preview-4o-mini-a1cfd608 gpt-4 gpt-4-0613 copilot-preview-gpt4-centralus gpt-4o gpt-4o-2024-11-20 gpt-4o-2024-05-13 gpt-4-o-preview gpt-4o-japanwest copilot-preview-gpt4o-centralus gpt-4o-2024-08-06 claude-sonnet-4.5 claude-opus-4.5 claude-haiku-4.5 gpt-4.1-2025-04-14 goldeneye-secondary gpt-5.2]. Verify the correct Copilot-Integration-Id header is being sent.
Changes +0 -0
Duration 7s
400 The requested model is not available for integrator "agentic-workflows". Available models: [gpt-4.1 claude-fable-5.1 claude-fable-5 claude-opus-4.6 claude-opus-4.7 claude-opus-4.8-fast claude-opus-4.8 claude-opus-5 claude-sonnet-5 copilot-search-a copilot-search-b copilot-search-c exec-agent-a exec-agent-b exec-agent-c gpt-5.3-codex gpt-5.4-mini gpt-5.4 gpt-5.5 gpt-5.6-luna gpt-5.6-sol-fast gpt-5.6-sol gpt-5.6-terra gpt-6-astra grok-4.5 grok-4.6 kimi-k2.7-code kimi-k3 mai-code-1.1-flash mai-code-1-flash-picker trajectory-compaction gpt-5-mini gpt-3.5-turbo gpt-3.5-turbo-0613 gpt-4o-mini gpt-4o-mini-2024-07-18 copilot-preview-4o-mini-a1cfd608 gpt-4 gpt-4-0613 copilot-preview-gpt4-centralus gpt-4o gpt-4o-2024-11-20 gpt-4o-2024-05-13 gpt-4-o-preview gpt-4o-japanwest copilot-preview-gpt4o-centralus gpt-4o-2024-08-06 claude-sonnet-4.5 claude-opus-4.5 claude-haiku-4.5 gpt-4.1-2025-04-14 goldeneye-secondary gpt-5.2]. Verify the correct Copilot-Integration-Id header is being sent.
Changes +0 -0
Duration 19s
400 The requested model is not available for integrator "agentic-workflows". Available models: [gpt-4.1 claude-fable-5.1 claude-fable-5 claude-opus-4.6 claude-opus-4.7 claude-opus-4.8-fast claude-opus-4.8 claude-opus-5 claude-sonnet-5 copilot-search-a copilot-search-b copilot-search-c exec-agent-a exec-agent-b exec-agent-c gpt-5.3-codex gpt-5.4-mini gpt-5.4 gpt-5.5 gpt-5.6-luna gpt-5.6-sol-fast gpt-5.6-sol gpt-5.6-terra gpt-6-astra grok-4.5 grok-4.6 kimi-k2.7-code kimi-k3 mai-code-1.1-flash mai-code-1-flash-picker trajectory-compaction gpt-5-mini gpt-3.5-turbo gpt-3.5-turbo-0613 gpt-4o-mini gpt-4o-mini-2024-07-18 copilot-preview-4o-mini-a1cfd608 gpt-4 gpt-4-0613 copilot-preview-gpt4-centralus gpt-4o gpt-4o-2024-11-20 gpt-4o-2024-05-13 gpt-4-o-preview gpt-4o-japanwest copilot-preview-gpt4o-centralus gpt-4o-2024-08-06 claude-sonnet-4.5 claude-opus-4.5 claude-haiku-4.5 gpt-4.1-2025-04-14 goldeneye-secondary gpt-5.2]. Verify the correct Copilot-Integration-Id header is being sent.
Changes +0 -0
Duration 40s
```

### 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/Azure/apiops-cli/actions/runs/34220055160
````

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 issue-triage failure in https://github.com/Azure/apiops-cli/actions/runs/34220055160`

> [!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 [Contract test: verify context separation](https://github.com/Azure/apiops-cli/actions/runs/34220055160) · [◷](https://github.com/search?q=repo%3AAzure%2Fapiops-cli+is%3Aissue+%22gh-aw-workflow-id%3A+issue-triage%22&type=issues)
> - [x] expires on Sep 15, 2026, 11:25 AM UTC

贡献指南

打开贡献指南

调研方向

从 .github/workflows/issue-triage.md 开始,检查其 workflow frontmatter,然后阅读 .github/skills/agentic-workflows/SKILL.md 以及其中链接的 debug.md 指南。在检查已配置的 Copilot 模型和集成设置后,重新运行失败的 issue-triage workflow;当 contract test 完成且没有 unsupported-model 或 engine failure 时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions
领域
ci-cd
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。