Skip to content

[aw] Dead Code Removal Agent failed #58513

Description

@github-actions

Workflow Failure

Workflow: Dead Code Removal Agent
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/33883127379

Warning

Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

{"type":"tool.execution_start","timestamp":"2026-09-04T14:30:35.118Z","data":{"toolName":"bash","mcpServerName":"","command":"cd /home/runner/work/gh-aw/gh-aw && go vet -tags=integration ./... 2>&1 | tail -60 && echo VET_INT_OK"}}
{"type":"tool.execution_complete","timestamp":"2026-09-04T14:30:39.066Z","data":{"toolName":"bash","mcpServerName":"","success":true,"result":{"content":"VET_INT_OK\n<shellId: 38 completed with exit code 0>","detailedContent":"VET_INT_OK\n<shellId: 38 completed with exit code 0>","contents":[{"type":"shell_exit","shellId":"38","exitCode":0,"outputTruncated":false,"cwd":"/home/runner/work/gh-aw/gh-aw","outputPreview":"VET_INT_OK\n"}]}}}
{"type":"assistant.message","timestamp":"2026-09-04T14:30:41.151Z","data":{"content":""}}
{"type":"tool.execution_start","timestamp":"2026-09-04T14:30:41.153Z","data":{"toolName":"bash","mcpServerName":"","command":"cd /home/runner/work/gh-aw/gh-aw && make fmt 2>&1 | tail -20"}}
{"type":"tool.execution_complete","timestamp":"2026-09-04T14:31:23.807Z","data":{"toolName":"bash","mcpServerName":"","success":true,"result":{"content":"→ Formatting Go code...\npkg/cli/logs_artifact_set.go\n✓ Go code formatted\n→ Formatting JavaScript files...\n✓ JavaScript files formatted\n→ Formatting JSON files...\n✓ JSON files formatted\n✓ Code formatted successfully\n<shellId: 39 completed with exit code 0>","detailedContent":"→ Formatting Go code...\npkg/cli/logs_artifact_set.go\n✓ Go code formatted\n→ Formatting JavaScript files...\n✓ JavaScript files formatted\n→ Formatting JSON files...\n✓ JSON files formatted\n✓ Code formatted successfully\n<shellId: 39 completed with exit code 0>","contents":[{"type":"shell_exit","shellId":"39","exitCode":0,"outputTruncated":false,"cwd":"/home/runner/work/gh-aw/gh-aw","outputPreview":"→ Formatting Go code...\npkg/cli/logs_artifact_set.go\n✓ Go code formatted\n→ Formatting JavaScript files...\n✓ JavaScript files formatted\n→ Formatting JSON files...\n✓ JSON files formatted\n✓ Code formatted successfully\n"}]}}}
{"type":"assistant.message","timestamp":"2026-09-04T14:31:26.429Z","data":{"content":""}}
{"type":"tool.execution_start","timestamp":"2026-09-04T14:31:26.431Z","data":{"toolName":"bash","mcpServerName":"","command":"cd /home/runner/work/gh-aw/gh-aw && go test ./pkg/cli/... -run \"Experiment|Grader|Resources|ArtifactRequested|SumAIC|AgentUsageFilePreservesZeroAIC\" -count=1 2>&1 | tail -60"}}
{"type":"tool.execution_complete","timestamp":"2026-09-04T14:32:00.834Z","data":{"toolName":"bash","mcpServerName":"","success":true,"result":{"content":"ok  \tgithub.com/github/gh-aw/pkg/cli\t1.475s\n<shellId: 40 completed with exit code 0>","detailedContent":"ok  \tgithub.com/github/gh-aw/pkg/cli\t1.475s\n<shellId: 40 completed with exit code 0>","contents":[{"type":"shell_exit","shellId":"40","exitCode":0,"outputTruncated":false,"cwd":"/home/runner/work/gh-aw/gh-aw","outputPreview":"ok  \tgithub.com/github/gh-aw/pkg/cli\t1.475s\n"}]}}}
{"type":"assistant.message","timestamp":"2026-09-04T14:32:03.325Z","data":{"content":"Targeted tests pass. Let's run the broader test-unit for confidence then create the PR."}}
{"type":"tool.execution_start","timestamp":"2026-09-04T14:32:03.327Z","data":{"toolName":"bash","mcpServerName":"","command":"cd /home/runner/work/gh-aw/gh-aw && go test ./pkg/cli/... ./cmd/... 2>&1 | tail -40"}}

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/33883127379
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 Dead Code Removal Agent · copilot · 96.2 AIC ·

  • expires on Sep 5, 2026, 2:36 AM 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