Skip to content

[aw] Design Decision Gate πŸ—οΈ timed outΒ #43451

Description

@github-actions

Workflow Failure

Workflow: Design Decision Gate πŸ—οΈ
Branch: copilot/aw-failures-fix-session-timeout
Run: https://github.com/github/gh-aw/actions/runs/28728187067
Pull Request: #43413

Inference Access Denied: The Copilot CLI failed because the token does not have access to inference. This can happen when:

  • Your organization has restricted Copilot access
  • The COPILOT_GITHUB_TOKEN does not have a valid Copilot subscription
  • Required policies have not been enabled by your administrator

To resolve this, verify that the COPILOT_GITHUB_TOKEN secret belongs to an account with an active Copilot subscription and check your Copilot settings.

Warning

MCP Servers Blocked by Policy: The Copilot CLI blocked MCP server connections due to an organization or enterprise policy. The agent ran without access to MCP tools (GitHub API, safe outputs, etc.).

This is a policy configuration issue, not a transient error β€” retrying will not help.

How to fix this

An organization or enterprise administrator must enable the "MCP servers in Copilot" policy:

  1. Go to your enterprise or organization settings
  2. Navigate to Policies β†’ Copilot
  3. Enable "MCP servers in Copilot"

For detailed instructions, see the official documentation.

Note: On some GitHub Enterprise instances, the Policies tab may only be visible at the enterprise level, not the organization level.

Agent Timed Out: The agent job exceeded the maximum allowed execution time (15 minutes).

To increase the timeout, add or update the timeout-minutes setting in your workflow's frontmatter:

---
timeout-minutes: 25
---

Action Required

Assign this issue to an agent to debug and fix the issue.

Optimize token consumption

This failure was triggered by a guardrail limit (max-turns / timeout). Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.) to analyze token usage and reduce costs:

Optimize the agentic workflow token consumption using https://raw.githubusercontent.com/github/gh-aw/main/optimize.md

The workflow run is at https://github.com/github/gh-aw/actions/runs/28728187067
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/github/gh-aw/actions/runs/28728187067
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 Design Decision Gate πŸ—οΈ Β· 49.9 AIC Β· β—·

  • expires on Jul 5, 2026, 3:40 PM UTC

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