Skip to content

[aw] GitHub API Consumption Report Agent reported incomplete result #58218

Description

@github-actions

Workflow Failure

Workflow: GitHub API Consumption Report Agent
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/33745839269

Warning

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

Reasons:

  • infrastructure_error

    context-rebuild circuit breaker tripped: rebuild_factor=26.05 cumulative_input_tokens=1821941 thresholds=25/1000000

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_70","type":"reasoning","text":"**Inspecting directories for issues**\n\nIt looks like something timed out, and that might be due to a large traversal. I wonder if I should give it a bit more time? But maybe that’s not necessary. I think it would be good to search directly in the /tmp/gh-aw/mcp-payloads directory. Let's inspect that directory and see what we can find there. It might help me pinpoint the issue more effectively."}}
{"type":"item.started","item":{"id":"item_71","type":"command_execution","command":"/usr/bin/bash -lc \"/opt/hostedtoolcache/node/24.19.0/x64/bin/node - <<'NODE'\nconst fs=require('fs'); const path=require('path');\nconst dir='/tmp/gh-aw/mcp-payloads';\nconsole.log('exists',fs.existsSync(dir));\nif (fs.existsSync(dir)) {\n  for (const entry of fs.readdirSync(dir,{withFileTypes:true})) {\n    const full=path.join(dir,entry.name);\n    console.log(entry.name, entry.isDirectory()? 'DIR':'FILE');\n    if (entry.isFile()) {\n      try { console.log(fs.readFileSync(full,'utf8').slice(0,4000)); } catch (e) { console.log('ERR',e.message); }\n    }\n  }\n}\nNODE\"","aggregated_output":"","exit_code":null,"status":"in_progress"}}
{"type":"item.completed","item":{"id":"item_71","type":"command_execution","command":"/usr/bin/bash -lc \"/opt/hostedtoolcache/node/24.19.0/x64/bin/node - <<'NODE'\nconst fs=require('fs'); const path=require('path');\nconst dir='/tmp/gh-aw/mcp-payloads';\nconsole.log('exists',fs.existsSync(dir));\nif (fs.existsSync(dir)) {\n  for (const entry of fs.readdirSync(dir,{withFileTypes:true})) {\n    const full=path.join(dir,entry.name);\n    console.log(entry.name, entry.isDirectory()? 'DIR':'FILE');\n    if (entry.isFile()) {\n      try { console.log(fs.readFileSync(full,'utf8').slice(0,4000)); } catch (e) { console.log('ERR',e.message); }\n    }\n  }\n}\nNODE\"","aggregated_output":"exists true\n","exit_code":0,"status":"completed"}}
2026-09-03T10:53:18.340634Z  WARN codex_core::session: item completed without a recorded start timestamp thread_id=01a066e1-f28e-7002-9e1c-c6fe4febbac1 turn_id=01a066e1-f343-74a2-9479-13cc783bf32f item_id=tRnWuOzLlYIO40X02yI6Dc2GKO/w8VoFZUV6bNNlFi5WMdUEo0iVUAk8Y01vgYgRAFSJLUBM5SVS3PEG1JZ56mOpBq0PnmER38nSv3N9l6UttTw+bLkxf5BFiWUSGnhPhmgnv0WKVqvnVroIx1E680+CU5ytkQO9A+EA9X2p3awTJItJyhcNk3eL1vWJMYrD7Iprfr+FgUC3jTH3NM79eOgQNsZtAyUafnWJsqiVV3wSR0RPiNskwarWqaIHVh8Ldz4oOjduoTGk/oLSs+P/d1L/8kJHnB4D70iy+dw3hsGfNxMYLCc4NgL6BAfxXq9x2bQqFG+14c2zhoxWwC45bbQOBAIftwydYxpf9/6nLMkqopinD4N4mH+5fQvfaBQtSuFBZI+PiNYnqiPd/I4sANZGnfUo61OS7KwcOleyENe+ZPPl0KY=
{"type":"item.completed","item":{"id":"item_72","type":"reasoning","text":"**Processing workflow logs**\n\nI don't have any files. It might be easier to consider that since the instructions say to use `agentic-workflows` mcp logs, there could be a remote service through the model context gateway. But I need to be practical and come up with a result without overdoing it. Creating charts and discussions sounds necessary, so I should look for any existing charts or previous data. I can generate new outputs while using the existing history.jsonl and process it with Python."}}
{"type":"item.started","item":{"id":"item_73","type":"command_execution","command":"/usr/bin/bash -lc \"/opt/hostedtoolcache/node/24.19.0/x64/bin/node - <<'NODE'\nconst fs=require('fs');\nconst path='/tmp/gh-aw/cache-memory/trending/api-consumption/history.jsonl';\nconst lines=fs.readFileSync(path,'utf8').trim().split(/\n/).filter(Boolean);\nconsole.log('entries',lines.length);\nconst last=JSON.parse(lines[lines.length-1]);\nconsole.log('last date',last.date,'calls',last.github_api_calls,'runs',last.total_runs);\nconsole.log('first date',JSON.parse(lines[0]).date);\nNODE\"","aggregated_output":"","exit_code":null,"status":"in_progress"}}
{"type":"item.completed","item":{"id":"item_73","type":"command_execution","command":"/usr/bin/bash -lc \"/opt/hostedtoolcache/node/24.19.0/x64/bin/node - <<'NODE'\nconst fs=require('fs');\nconst path='/tmp/gh-aw/cache-memory/trending/api-consumption/history.jsonl';\nconst lines=fs.readFileSync(path,'utf8').trim().split(/\n/).filter(Boolean);\nconsole.log('entries',lines.length);\nconst last=JSON.parse(lines[lines.length-1]);\nconsole.log('last date',last.date,'calls',last.github_api_calls,'runs',last.total_runs);\nconsole.log('first date',JSON.parse(lines[0]).date);\nNODE\"","aggregated_output":"[stdin]:3\nconst lines=fs.readFileSync(path,'utf8').trim().split(/\n                                                      ^\nUnterminated regexp literal\n\nSyntaxError: Invalid regular expression: missing /\n    at makeContextifyScript (node:internal/vm:194:14)\n    at compileScript (node:internal/process/execution:388:10)\n    at evalTypeScript (node:internal/process/execution:260:22)\n    at node:internal/main/eval_stdin:51:5\n    at Socket.<anonymous> (node:internal/process/execution:205:5)\n    at Socket.emit (node:events:521:24)\n    at endReadableNT (node:internal/streams/readable:1736:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n\nNode.js v24.19.0\n","exit_code":1,"status":"failed"}}
2026-09-03T10:53:23.653505Z  WARN codex_core::session: item completed without a recorded start timestamp thread_id=01a066e1-f28e-7002-9e1c-c6fe4febbac1 turn_id=01a066e1-f343-74a2-9479-13cc783bf32f item_id=3x8l0o62vzmogDKi/IuQI4JEUMc2LGmPyT7IdMdISqZ4lRuAfhjSoP9nKzg0L6qtavV7DXuQ3Enf12oUJoL/JoR9rCSo7qrWk9hOjx2UDV8vC0AXl+HLMlFNx+2Tp5res75ur9rhHwIXkmMTcmcAynJRkccyMu+qOfu13uSrcFdjPHXL8YZPZPjgbgiANNxqSoooz4T/yb6KGm0rZpZKzf6p/004UY01V9PSvzynJXE+l8wp/xHOtkPJs1u3q4r4tovPbuE4ffq7cGyUuZnKjx3SO4XpLG/+iefFsDGky22lWyBMSc3GrByhnNCTeroto8Ner2AMptAz+TJHMHQ/ih63IusY2ICSixENh2ifPzZQUSx9mruZWL5nfsmWHKDaWYiBU+GtSzZCuN/3m0Rgwy6L0yBvK0BWGq/xvPJ//Lxwkks9Ybk=
{"type":"item.started","item":{"id":"item_74","type":"command_execution","command":"/usr/bin/bash -lc \"/opt/hostedtoolcache/node/24.19.0/x64/bin/node - <<'NODE'\nconst fs=require('fs');\nconst path='/tmp/gh-aw/cache-memory/trending/api-consumption/history.jsonl';\nconst text=fs.readFileSync(path,'utf8');\nconst lines=text.trim().split(/\\\\n/).filter(Boolean);\nconsole.log('entries',lines.length);\nconst last=JSON.parse(lines[lines.length-1]);\nconsole.log('last date',last.date,'calls',last.github_api_calls,'runs',last.total_runs);\nconsole.log('first date',JSON.parse(lines[0]).date);\nNODE\"","aggregated_output":"","exit_code":null,"status":"in_progress"}}
{"type":"item.completed","item":{"id":"item_74","type":"command_execution","command":"/usr/bin/bash -lc \"/opt/hostedtoolcache/node/24.19.0/x64/bin/node - <<'NODE'\nconst fs=require('fs');\nconst path='/tmp/gh-aw/cache-memory/trending/api-consumption/history.jsonl';\nconst text=fs.readFileSync(path,'utf8');\nconst lines=text.trim().split(/\\\\n/).filter(Boolean);\nconsole.log('entries',lines.length);\nconst last=JSON.parse(lines[lines.length-1]);\nconsole.log('last date',last.date,'calls',last.github_api_calls,'runs',last.total_runs);\nconsole.log('first date',JSON.parse(lines[0]).date);\nNODE\"","aggregated_output":"entries 11\nlast date 2026-08-29 calls 68868 runs 185\nfirst date 2026-08-14\n","exit_code":0,"status":"completed"}}

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/33745839269
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 GitHub API Consumption Report Agent · codex · 23.3 AIC ·

  • expires on Sep 3, 2026, 10:57 PM UTC

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