You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
[aw] Avenger engine driver failed before emitting a terminal safe output #65874
Task Could Not Be Completed: The agent reported that the task could not be performed due to an infrastructure or tool failure.
Reasons:
engine_driver_failure
Agent finished without emitting a terminal safe output; task completion could not be confirmed.
Driver exit code: 1. The engine driver exited before a terminal safe output was recorded.
[codex-harness] 2026-10-05T14:43:20.843Z starting: command=codex maxRetries=4 initialDelayMs=5000 backoffMultiplier=2 maxDelayMs=60000 nodeVersion=v24.21.0 platform=linux
[codex-harness] 2026-10-05T14:43:20.847Z secrets: CODEX_API_KEY=set (length=31) OPENAI_API_KEY=not set
[codex-harness] 2026-10-05T14:43:20.848Z awf-reflect: fetching (apiproxy/redacted) (timeout=60000ms)
[codex-harness] 2026-10-05T14:43:20.883Z awf-reflect: saved 32670B to /tmp/gh-aw/agent/awf-reflect.json
[codex-harness] 2026-10-05T14:43:20.884Z awf-reflect: provider=github mapped to endpoint provider=copilot baseUrl=(apiproxy/redacted)
[codex-harness] 2026-10-05T14:43:20.884Z configured OPENAI_BASE_URL from /reflect for provider=github: (apiproxy/redacted)
[codex-harness] 2026-10-05T14:43:20.885Z context-rebuild circuit breaker: enabled=true maxRebuildFactor=25 minCumulativeInputTokens=1000000 pollIntervalMs=15000
[codex-harness] 2026-10-05T14:43:20.888Z attempt 1: process started (pid=393)
[codex-harness] 2026-10-05T14:43:24.629Z attempt 1: process exit event exitCode=1
[codex-harness] 2026-10-05T14:43:24.629Z attempt 1: process closed exitCode=1 duration=3s stdout=863B stderr=822B hasOutput=true
[codex-harness] 2026-10-05T14:43:24.630Z attempt 1 failed: exitCode=1 watchdogFired=false runtimeGuardFired=false isRateLimitError=false isTokenPerMinuteRateLimitError=false isAuthenticationFailedError=false isMissingApiKeyError=false isServerError=false isInvalidModelError=false isUnsupportedModelToolsError=false isInvalidRequestError=true permissionDeniedCount=0 hasNumerousPermissionDenied=false hasOutput=true retriesRemaining=4
[codex-harness] 2026-10-05T14:43:24.631Z attempt 1: invalid_request_error (HTTP 400) — not retrying (the provider rejected the request payload; an identical fresh run would fail the same way)
[codex-harness] 2026-10-05T14:43:24.631Z awf-reflect: fetching (apiproxy/redacted) (timeout=60000ms)
[codex-harness] 2026-10-05T14:43:24.642Z awf-reflect: saved 32943B to /tmp/gh-aw/agent/awf-reflect.json
[codex-harness] 2026-10-05T14:43:24.642Z done: exitCode=1 totalDuration=3s
{"type":"error","message":"{"error":{"message":"Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.","type":"invalid_request_error","code":"unsupported_custom_tool"}}"}
{"error":{"message":"Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.","type":"invalid_request_error","code":"unsupported_custom_tool"}}
Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.
{"type":"turn.failed","error":{"message":"{"error":{"message":"Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.","type":"invalid_request_error","code":"unsupported_custom_tool"}}"}}
{"error":{"message":"Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.","type":"invalid_request_error","code":"unsupported_custom_tool"}}
Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.
This is a structured incompletion signal (report_incomplete), not a real task outcome. Any other safe outputs emitted alongside this signal (e.g., comments) describe the failure state, not a completed review or action.
Warning
Engine Failure: The codex engine terminated unexpectedly.
Driver exit code: 1
Last agent output:
WARNING: proceeding, even though we could not create PATH aliases: Refusing to create helper binaries under temporary dir "/tmp" (codex_home: AbsolutePathBuf("/tmp/gh-aw/mcp-config"))
{"type":"thread.started","thread_id":"01a10c84-ef1a-74d2-bb8f-d683b9381230"}
{"type":"turn.started"}
2026-10-05T14:43:23.323605Z WARN codex_core::session: item completed without a recorded start timestamp thread_id=01a10c84-ef1a-74d2-bb8f-d683b9381230 turn_id=01a10c84-ef27-7de0-af2f-1d15690f7eee item_id=YBUG7iV7w96ilPnfqWFRDFrRyUH8POzT5z0yzmOigeknXXOU4UzkPEoP7OFhHJkPnTrT//kE2pmxZs7BThAo3JuJJXBefn7USLOH1I+797LgXeNmfT5znc4laDEyXB2IXWzQV1leseKPyEX1K87TCxAAhr7iN+iyC0T75qLCThzClYfUWMevGPUJYQEbY97gk9eoG0btyB4FX8FwVZS2yNM2eec3umGRU3fV+fPs48DRoXj1o649aRPJ1ibO7ewXyRczghKj7hLLCnNEKIivq23UFIGF/v23itA5Yre9qNtBXINFmsbFgus5qrRpp8KJeAn7HSiAiRgJ+b5uZYYr17IQI/chZI7AjMzwezyhkJH8yZeFl6WNOqTJkWm1y0qm3HlA9oc3x7Iff//f6d7i8A2YH376syaE9xm1MGeLuNp/DQ==
{"type":"item.completed","item":{"id":"item_0","type":"agent_message","text":"I’ll inspect the failed CI job, apply a targeted fix if the failure is actionable, and finish with a PR or a recorded no-op within the eight-minute limit.\n"}}
{"type":"error","message":"{\"error\":{\"message\":\"Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.\",\"type\":\"invalid_request_error\",\"code\":\"unsupported_custom_tool\"}}"}
{"type":"turn.failed","error":{"message":"{\"error\":{\"message\":\"Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.\",\"type\":\"invalid_request_error\",\"code\":\"unsupported_custom_tool\"}}"}}
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/37326386151
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.
Workflow Failure
Workflow: Avenger
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/37326386151
Warning
Task Could Not Be Completed: The agent reported that the task could not be performed due to an infrastructure or tool failure.
Reasons:
engine_driver_failure
Agent finished without emitting a terminal safe output; task completion could not be confirmed.
Driver exit code: 1. The engine driver exited before a terminal safe output was recorded.
[codex-harness] 2026-10-05T14:43:20.843Z starting: command=codex maxRetries=4 initialDelayMs=5000 backoffMultiplier=2 maxDelayMs=60000 nodeVersion=v24.21.0 platform=linux
[codex-harness] 2026-10-05T14:43:20.847Z secrets: CODEX_API_KEY=set (length=31) OPENAI_API_KEY=not set
[codex-harness] 2026-10-05T14:43:20.848Z awf-reflect: fetching (apiproxy/redacted) (timeout=60000ms)
[codex-harness] 2026-10-05T14:43:20.883Z awf-reflect: saved 32670B to /tmp/gh-aw/agent/awf-reflect.json
[codex-harness] 2026-10-05T14:43:20.884Z awf-reflect: provider=github mapped to endpoint provider=copilot baseUrl=(apiproxy/redacted)
[codex-harness] 2026-10-05T14:43:20.884Z configured OPENAI_BASE_URL from /reflect for provider=github: (apiproxy/redacted)
[codex-harness] 2026-10-05T14:43:20.885Z context-rebuild circuit breaker: enabled=true maxRebuildFactor=25 minCumulativeInputTokens=1000000 pollIntervalMs=15000
[codex-harness] 2026-10-05T14:43:20.888Z attempt 1: process started (pid=393)
[codex-harness] 2026-10-05T14:43:24.629Z attempt 1: process exit event exitCode=1
[codex-harness] 2026-10-05T14:43:24.629Z attempt 1: process closed exitCode=1 duration=3s stdout=863B stderr=822B hasOutput=true
[codex-harness] 2026-10-05T14:43:24.630Z attempt 1 failed: exitCode=1 watchdogFired=false runtimeGuardFired=false isRateLimitError=false isTokenPerMinuteRateLimitError=false isAuthenticationFailedError=false isMissingApiKeyError=false isServerError=false isInvalidModelError=false isUnsupportedModelToolsError=false isInvalidRequestError=true permissionDeniedCount=0 hasNumerousPermissionDenied=false hasOutput=true retriesRemaining=4
[codex-harness] 2026-10-05T14:43:24.631Z attempt 1: invalid_request_error (HTTP 400) — not retrying (the provider rejected the request payload; an identical fresh run would fail the same way)
[codex-harness] 2026-10-05T14:43:24.631Z awf-reflect: fetching (apiproxy/redacted) (timeout=60000ms)
[codex-harness] 2026-10-05T14:43:24.642Z awf-reflect: saved 32943B to /tmp/gh-aw/agent/awf-reflect.json
[codex-harness] 2026-10-05T14:43:24.642Z done: exitCode=1 totalDuration=3s
{"type":"error","message":"{"error":{"message":"Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.","type":"invalid_request_error","code":"unsupported_custom_tool"}}"}
{"error":{"message":"Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.","type":"invalid_request_error","code":"unsupported_custom_tool"}}
Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.
{"type":"turn.failed","error":{"message":"{"error":{"message":"Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.","type":"invalid_request_error","code":"unsupported_custom_tool"}}"}}
{"error":{"message":"Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.","type":"invalid_request_error","code":"unsupported_custom_tool"}}
Unsupported Responses custom tool call 'exec'. Only 'apply_patch' is supported through the Copilot compatibility adapter.
This is a structured incompletion signal (
report_incomplete), not a real task outcome. Any other safe outputs emitted alongside this signal (e.g., comments) describe the failure state, not a completed review or action.Warning
Engine Failure: The
codexengine terminated unexpectedly.Driver exit code: 1
Last agent output:
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.):
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the
agentic-workflowsprompt.agentic-workflowsskill from.github/skills/agentic-workflows/SKILL.mdor https://github.com/github/gh-aw/blob/main/.github/skills/agentic-workflows/SKILL.mddebug the agentic workflow avenger failure in https://github.com/github/gh-aw/actions/runs/37326386151Tip
Stop reporting this workflow as a failure
To stop a workflow from creating failure issues, set
report-failure-as-issue: falsein its frontmatter: