Skip to content

[aw] Code Simplifier failed #38026

Description

@github-actions

Workflow Failure

Workflow: Code Simplifier
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/27184225535

Warning

Missing Tools Reported: The agent reported missing tools during execution.

Missing Tools:

  • tool/permission: missing tool/permission issue: numerous permission denied errors detected

Alternatives:

Tool Alternative
tool/permission Verify token scopes, repository permissions, and MCP/tool access configuration. Denied commands: '\.(js|cjs|ts|go|py|rb)$' | head -50 | cd /home/runner/work/gh-aw/gh-aw && make fmt 2>&1 | tail -5 | cd /home/runner/work/gh-aw/gh-aw && make test-unit 2>&1 | tail -20 | cd /home/runner/work/gh-aw/gh-aw && go build ./pkg/workflow/... 2>&1

Warning

Repeated Permission Denied: The agent was denied permission to run 7 command(s) and stopped retrying.

Denied Commands:

  • '\.(js|cjs|ts|go|py|rb)$'
  • head -50
  • cd /home/runner/work/gh-aw/gh-aw && make fmt 2>&1
  • tail -5
  • cd /home/runner/work/gh-aw/gh-aw && make test-unit 2>&1
  • tail -20
  • cd /home/runner/work/gh-aw/gh-aw && go build ./pkg/workflow/... 2>&1
How to fix this

The agent ran in non-interactive mode (--no-ask-user) and could not request permission at runtime.

To resolve repeated permission denied errors, update the workflow prompt to avoid these commands or use approved alternatives. Use the following prompt with any coding agent:

The agentic workflow code-simplifier encountered repeated permission denied errors for these commands:
`'\.(js|cjs|ts|go|py|rb)$'`, `head -50`, `cd /home/runner/work/gh-aw/gh-aw && make fmt 2>&1`, `tail -5`, `cd /home/runner/work/gh-aw/gh-aw && make test-unit 2>&1`, `tail -20`, `cd /home/runner/work/gh-aw/gh-aw && go build ./pkg/workflow/... 2>&1`

Please update the workflow prompt so the agent:
1. Uses built-in tools (GitHub API, file read/write) instead of the denied shell commands
2. Or achieves the same goal through alternative approaches that do not require shell permission

Warning

Engine Rate Limited (HTTP 429): The copilot engine hit provider rate limits and could not complete this run.

This signal was detected from engine runtime logs/OTLP telemetry.

What to do next

  • Retry the workflow after a short delay.
  • If this keeps happening, reduce concurrent workflow volume or review provider quota/rate-limit policies.

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/github/gh-aw/actions/runs/27184225535
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 Code Simplifier ·

  • expires on Jun 9, 2026, 4:54 PM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions