Skip to content

[aw] Smoke Codex reported incomplete result #6591

Description

@github-actions

Workflow Failure

Workflow: Smoke Codex
Branch: test-coverage/main-action-coverage-gaps-91b6ed95513682f1
Run: https://github.com/github/gh-aw-firewall/actions/runs/30167580012
Pull Request: #6582

Warning

Task Could Not Be Completed: The agent reported that the task could not be performed due to an infrastructure or tool failure.

Reasons:

  • Smoke test could not be completed in this shell: GitHub read tools (safeinputs-gh, gh, curl, jq) are unavailable, and the build toolchain (npm) is missing.

    Completed: Playwright verified GitHub title contains 'GitHub'; file write/read-back succeeded at /tmp/gh-aw/agent/smoke-test-codex-30167580012.txt. Blocked: could not query last 2 merged PRs or latest discussion, and npm ci && npm run build failed immediately with npm: command not found. No PR comment/label was posted because the required PR titles and build success signal were not available.

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.

Last agent output:

{"type":"item.completed","item":{"id":"item_31","type":"command_execution","command":"/bin/bash -c 'type gh'","aggregated_output":"/bin/bash: line 1: type: gh: not found\n","exit_code":1,"status":"failed"}}
{"type":"item.completed","item":{"id":"item_32","type":"agent_message","text":"I don’t have a usable GitHub CLI or HTTP client in this shell, so I’m switching to explicit failure capture for the build step and will report the missing inputs/tools cleanly."}}
{"type":"item.started","item":{"id":"item_33","type":"command_execution","command":"/bin/bash -c 'npm ci && npm run build'","aggregated_output":"","exit_code":null,"status":"in_progress"}}
{"type":"item.completed","item":{"id":"item_33","type":"command_execution","command":"/bin/bash -c 'npm ci && npm run build'","aggregated_output":"/bin/bash: line 1: npm: command not found\n","exit_code":127,"status":"failed"}}
{"type":"item.completed","item":{"id":"item_34","type":"agent_message","text":"I have enough signal to conclude the smoke test is blocked by missing repo-access and build tooling in this shell, so I’m emitting the workflow’s incomplete signal now."}}
{"type":"item.started","item":{"id":"item_35","type":"mcp_tool_call","server":"safeoutputs","tool":"report_incomplete","arguments":{"reason":"Smoke test could not be completed in this shell: GitHub read tools (`safeinputs-gh`, `gh`, `curl`, `jq`) are unavailable, and the build toolchain (`npm`) is missing.","details":"Completed: Playwright verified GitHub title contains 'GitHub'; file write/read-back succeeded at `/tmp/gh-aw/agent/smoke-test-codex-30167580012.txt`. Blocked: could not query last 2 merged PRs or latest discussion, and `npm ci && npm run build` failed immediately with `npm: command not found`. No PR comment/label was posted because the required PR titles and build success signal were not available."},"result":null,"error":null,"status":"in_progress"}}
{"type":"item.completed","item":{"id":"item_35","type":"mcp_tool_call","server":"safeoutputs","tool":"report_incomplete","arguments":{"reason":"Smoke test could not be completed in this shell: GitHub read tools (`safeinputs-gh`, `gh`, `curl`, `jq`) are unavailable, and the build toolchain (`npm`) is missing.","details":"Completed: Playwright verified GitHub title contains 'GitHub'; file write/read-back succeeded at `/tmp/gh-aw/agent/smoke-test-codex-30167580012.txt`. Blocked: could not query last 2 merged PRs or latest discussion, and `npm ci && npm run build` failed immediately with `npm: command not found`. No PR comment/label was posted because the required PR titles and build success signal were not available."},"result":{"content":[{"type":"text","text":"{\"result\":\"success\"}"}],"structured_content":null},"error":null,"status":"completed"}}
{"type":"item.completed","item":{"id":"item_36","type":"agent_message","text":"PASS: GitHub title check and sentinel file write/read succeeded at `/tmp/gh-aw/agent/smoke-test-codex-30167580012.txt`.\n\nFAIL: `npm ci && npm run build` could not run because `npm` is not installed; GitHub PR/discussion reads were also unavailable in this shell (`gh`/`safeinputs-gh`/`curl` missing), so no PR comment or label was posted."}}
{"type":"turn.completed","usage":{"input_tokens":351473,"cached_input_tokens":327168,"output_tokens":9536,"reasoning_output_tokens":7007}}
2026-07-25T17:29:17.764325Z  WARN codex_file_watcher: failed to unwatch /tmp/gh-aw/mcp-config/skills/.system: No watch was found. about ["/tmp/gh-aw/mcp-config/skills/.system"]

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-firewall/actions/runs/30167580012
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 Smoke Codex · 8.57 AIC ·

  • expires on Aug 1, 2026, 5:30 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