Skip to content

[aw] Ponytail Reviewer failed #51799

Closed as not planned
Closed as not planned

Description

@github-actions

Workflow Failure

Workflow: Ponytail Reviewer
Branch: copilot/bump-gh-aw-mcpg-to-v049
Run: https://github.com/github/gh-aw/actions/runs/31398589545
Pull Request: #51796

Warning

Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

  │ node /home/runner/work/_temp/gh-aw/actions/safeoutputs_cli.cjs noop --message "PR is a
  │ mechanical version bump (gh-aw-mcpg v0.4.8 -> v0.4.9): only the changeset entry, digest pin
  │ JSON, and regenerated .lock.yml files changed. No hand-written logic to review for
  │ over-engineering." 2>&1
  └ 1 line…
Called `noop` — PR #51796 only bumps `gh-aw-mcpg` to v0.4.9 (changeset, digest pin JSON, and regenerated `.lock.yml` files). No hand-written logic changed, so there's nothing to assess for over-engineering.
Changes    +0 -0
Duration   2m 3s
Tokens     ↑ 546.0k (496.9k cached) • ↓ 2.2k
Resume     copilot --resume=1e845056-6d83-4407-85f3-f70e5f00377f

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/31398589545
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 Ponytail Reviewer · 23.3 AIC · ◷

  • expires on Aug 11, 2026, 2:50 AM UTC

Activity

  1. github-actions commented on Aug 10, 2026

    @github-actions
    ContributorAuthor

    Agent job 31410242994 failed.

    Warning

    Engine Failure: The copilot engine terminated unexpectedly.

    Last agent output:

      │ sed -n '1,100p' /home/runner/work/_temp/gh-aw/actions/mount_mcp_as_cli.cjs
      └ 101 lines...
    The safeoutputs MCP gateway registered 0 tools this session (a known gh-aw failure mode — see `gateway_empty.flag` handling in `mount_mcp_as_cli.cjs`), so every safe-output call, including `report_incomplete` itself, fails with "unknown tool". This is an infrastructure-side gateway issue, not something fixable from within the sandbox, and I've hit the retry limit for recovery attempts.
    **Ponytail finding I intended to post** (blocked from submission):
    `actions/setup/js/push_to_pull_request_branch.cjs:L1078-1084: shrink: prerequisite-fetch-and-retry duplicates lines 1029-1042 (same blob-filter check, fetch args, retry). Extract a shared fetchWithPrerequisiteRecovery(fetchRef, errorOutput) helper used by both paths, ~15 fewer lines possible.`
    I cannot deliver this via safe-outputs because the safeoutputs MCP server returned an empty tool registry for this run, blocking every tool call including `noop`/`report_incomplete`. This is a workflow infrastructure defect that should be reported to the workflow maintainers — no code changes were made.
    Changes    +0 -0
    Duration   8m 3s
    Tokens     ↑ 4.4m (4.3m cached) • ↓ 26.6k
    Resume     copilot --resume=7875316c-dda5-4035-ac1c-4102c5cf7618
    

    Generated from Ponytail Reviewer · 133.3 AIC · ◷

  2. github-actions commented on Aug 10, 2026

    @github-actions
    ContributorAuthor

    Agent job 31409856379 failed.

    Warning

    Engine Failure: The copilot engine terminated unexpectedly.

    Last agent output:

    ● Try noop with JSON stdin sentinel syntax (shell)
      │ SO=/tmp/gh-aw/agent/safeoutputs.sh
      │ printf '{"message":"Reviewed PR #51832; findings could not be delivered due to a safe-outputs
      │ gateway fault (tools/list returns empty tools array; all tool calls return unknown tool)."}' |
      │ $SO noop . 2>&1 | tail -10
      └ 11 lines...
    ● Check BASH_ENV for safeoutputs function definition (shell)
      │ echo $BASH_ENV; cat "$BASH_ENV" 2>/dev/null | head -50; ls -la ~/.bashrc ~/.bash_profile
      │ /etc/bash.bashrc 2>&1 | head
      └ 4 lines...
    

    Generated from Ponytail Reviewer · 180.7 AIC · ◷

  3. github-actions commented on Aug 10, 2026

    @github-actions
    ContributorAuthor

    Agent job 31415020219 failed.

    Warning

    Engine Failure: The copilot engine terminated unexpectedly.

    Last agent output:

      └ 2 lines...
    Reviewed the diff against the ponytail-review scope (over-engineering only). Findings:
    - The new `collectAllowedHostPorts`/`joinPorts` helpers in `awf_command_builder.go` and `parseServiceHostPort` in `service_ports.go` are proportionate to the feature — sorting, deduping, and merging three port sources is genuine logic, not speculative.
    - The int/int64/uint64/float64 type-switch pattern for YAML numeric coercion is repeated but matches an existing pervasive idiom already used in ~15 other places in this package — not new duplication introduced by this PR.
    - Tests, docs, and schema additions are sized to match the new config surface (`allow-host-ports`).
    No unnecessary complexity found. Called `noop` with "Lean already. Ship." per skill instructions.
    Changes    +0 -0
    Duration   3m 25s
    Tokens     ↑ 1.4m (1.3m cached) • ↓ 6.3k
    Resume     copilot --resume=553dfe24-f1e2-4b85-a97d-4af7b44f759d
    

    Generated from Ponytail Reviewer · 48 AIC · ◷

  4. github-actions commented on Aug 10, 2026

    @github-actions
    ContributorAuthor

    Agent job 31420468147 failed.

    Warning

    Engine Failure: The copilot engine terminated unexpectedly.

    Last agent output:

      │ -H "Authorization: O6Fvupbty7IK3OSnONvMpkGqaAlSgIHMKkO5RU8z7MF4rj24NAoK5cWT" \
      │ -H "Mcp-Session-Id: $SID" \...
      └ 11 lines...
    Confirmed: the safeoutputs MCP gateway backend has 0 registered tools (matches `gateway_empty.flag`), so no safe-output tool — including `noop` — is reachable in this environment. Per policy, I won't continue probing infrastructure further.
    **Review result:** Reviewed the source diff (`contribution-check.md` and `model_costs_pricing_validation.go`) against the Ponytail skill. The change is minimal and clean — it relaxes validation from `<= 0` to `< 0` and updates comments/error messages accordingly; no unnecessary abstractions, dead code, or reinvented logic introduced. **Verdict: Lean already. Ship.** (net: 0 lines to cut)
    **Infrastructure issue:** Could not submit this via the required safe-output tool. The `safeoutputs` CLI wrapper was never generated (no `mcp-cli/bin/safeoutputs` script), and `/home/runner/work/_temp/gh-aw/safeoutputs/gateway_empty.flag` confirms the safeoutputs MCP gateway registered 0 tools. I verified directly against the gateway (`(awmgmcpg/redacted) with a valid MCP session handshake — `tools/list` returns an empty tool array, confirming this is a backend registration failure, not a client-side auth/config problem. This is outside my control to fix from the sandbox.
    Changes    +0 -0
    Duration   4m 47s
    Tokens     ↑ 2.1m (2.0m cached) • ↓ 11.5k
    Resume     copilot --resume=1189832f-49a1-4458-9cf1-0dfe8b473038
    

    Generated from Ponytail Reviewer · 67.8 AIC · ◷

  5. github-actions commented on Aug 11, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-08-11T02:50:55.916Z.

    Closed by Workflow

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