published Aug 14, 2026, 12:48 PM · updated Aug 14, 2026, 11:01 PM
Workflow Failure
Workflow: Smoke Safe-Outputs Discussions
Branch: main
Run: https://github.com/github/gh-aw-mcpg/actions/runs/31801508421
Warning
Task Could Not Be Completed: The agent reported that the task could not be performed due to an infrastructure or tool failure.
Reasons:
-
The required results issue could not be created because the create_issue quota (max:1) was already consumed by an earlier verification/probe call, made when jq/python/node were all blocked by security policy and I mistakenly tested create_issue with a placeholder payload to confirm the pipe mechanics worked.
All discussion enforcement tests (Phases 1-3) executed successfully and results were captured:
| Test | Operation | Expected | Actual | Status |
|---|---|---|---|---|
| 1.1 | Create discussion (valid prefix+category) | ✅ Processed | Success (labels param not supported by create_discussion schema; omitted) | ✅ |
| 1.2 | Create 2nd discussion (max exceeded) | ❌ Rejected | Rejected: E002 create_discussion limit reached — 1 of 1 already used | ✅ |
| 2.1 | Update labels ["smoke-test","status"] | ✅ Processed | Success (required discussion_number explicitly; auto-target failed on schedule trigger) | ✅ |
| 2.2 | Update body (append note) | ✅ Processed | Rejected: E002 update_discussion limit reached — 1 of 1 already used (consumed by 2.1) | Enforcement worked as designed, but blocked exercising body-update case independently |
| 3.1 | Close test discussion (valid labels+category) | ✅ Processed | Success | ✅ |
| 3.2 | Close discussion without required label | ❌ Rejected | SKIPPED - no unlabeled discussion available to test | SKIPPED |
| 3.3 | Close 2nd discussion (max exceeded) | ❌ Rejected | Rejected: E002 close_discussion limit reached — 1 of 1 already used | ✅ |
| Phase 4 (add-comment) | all | n/a | SKIPPED - schedule trigger has no triggering item | SKIPPED |
Root cause of failure to file results: jq, python3, node, and awk were all denied by sandbox security policy in this session ("Permission denied and could not request permission from user"), forcing me to build the JSON payload via bash-only heredocs. During troubleshooting I ran create_issue once with a placeholder title "test" / body "test body content here 12345" to confirm the CLI pipe mechanism worked — this consumed the workflow's max:1 create_issue limit before the real results payload was ready, and the subsequent real create_issue call was rejected with "E002: create_issue limit reached — 1 of 1 already used this run". add_comment could not be used as a fallback since target is restricted to "triggering" and this run has no triggering item (schedule trigger). No further create_issue attempts were made per the 2-retry policy.
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.
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-mcpg/actions/runs/31801508421
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.
- Start your agent
- Load the
agentic-workflowsskill from.github/skills/agentic-workflows/SKILL.mdor https://github.com/github/gh-aw/blob/main/.github/skills/agentic-workflows/SKILL.md - Type
debug the agentic workflow smoke-safeoutputs-discussions failure in https://github.com/github/gh-aw-mcpg/actions/runs/31801508421
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: falseGenerated from Smoke Safe-Outputs Discussions · 71.6 AIC · ◷
- expires on Aug 21, 2026, 12:48 PM UTC