Skip to content

[aw] Auto-Triage Issues failed #26928

Description

@github-actions

Workflow Failure

Workflow: Auto-Triage Issues
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/24581292756

🔒 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 PoliciesCopilot
  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.

⚠️ Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

● Find output file variable (shell)
  │ grep -n "outputFile\|output_file\|GH_AW_NDJSON\|NDJSON\|agent.output"
  │ /home/runner/work/_temp/gh-aw/actions/collect_ndjson_output.cjs 2>&1 | head
  │ -20
  └ 10 lines...
● Find GH_AW_SAFE_OUTPUTS usage (shell)
  │ grep -rn "GH_AW_SAFE_OUTPUTS" /home/runner/work/_temp/gh-aw/actions/ 2>&1 |
  │ grep -v "test" | head -15; grep -rn "GH_AW_SAFE_OUTPUTS"
  │ /home/runner/work/gh-aw/ 2>&1 | head -5
  └ 21 lines...

Action Required

Assign this issue to Copilot using the agentic-workflows sub-agent to automatically debug and fix the workflow failure.

Debug with any coding agent

Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):

Debug the agentic workflow failure using https://github.com/ghraw/github/gh-aw/main/debug.md

The failed workflow run is at https://github.com/github/gh-aw/actions/runs/24581292756
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 Auto-Triage Issues ·

  • expires on Apr 18, 2026, 7:02 AM UTC

Closing as resolved. Auto-Triage Issues has been running successfully in multiple consecutive runs in the last 6 hours:

The MCP policy issue (#26931) appears to have been partially resolved for this workflow. Closing per [aw] Failure Investigator 6h analysis (run 24593391631).

Generated by [aw] Failure Investigator (6h) · ● 590.5K ·

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