You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Engine Failure: The copilot engine terminated unexpectedly.
Last agent output:
└ 30 lines…
Review complete. Here's what was submitted on PR #44180:
**Overall**: `REQUEST_CHANGES` — 6 inline comments across 4 files.
**Top issues found:**
1. 🔴 **Correctness bug** (`extra_empty_commit.cjs:155`): If `overridePersistedExtraheader`'s `git config --replace-all` throws, `previousExtraheaders` stays `[]` and `finally` runs `--unset-all`, destroying the original checkout credential that was never actually overwritten. Needs an `overrideApplied` guard flag.
2. 🔴 **Missing test** (`extra_empty_commit.test.cjs:185`): The `finally` restore path is untested for push failures — need a test that verifies auth state is restored even when `git push` throws.
3. 🟡 **`err.message` vs `getErrorMessage`** (`git_auth_helpers.cjs:68`): Inconsistent with the codebase standard; unsafe on non-`Error` rejections.
4. 🟡 **`silent: true` on security write** (`git_auth_helpers.cjs:73`): Suppresses stderr on the auth-overriding `git config` call, making failures hard to diagnose.
5. 🟢 **Double-normalization** (`git_auth_helpers.cjs:65`): `normalizedUrl` passed to `getExtraheaderValues` which normalizes again — ambiguous contract.
6. 🟢 **Hidden global coupling** (`git_auth_helpers.cjs:14`): `exec`/`core` relied on as implicit globals; fragile outside `github-script` runtime.
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://github.com/github/gh-aw/main/debug.md
The failed workflow run is at https://github.com/github/gh-aw/actions/runs/28987306542
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.
Workflow Failure
Workflow: Matt Pocock Skills Reviewer
Branch: copilot/extra-empty-commit-ci-trigger
Run: https://github.com/github/gh-aw/actions/runs/28987306542
Pull Request: #44180
Warning
Engine Failure: The
copilotengine terminated unexpectedly.Last agent output:
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.):
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the
agentic-workflowsprompt.agentic-workflowsskill from.github/skills/agentic-workflows/SKILL.mdor https://github.com/github/gh-aw/blob/main/.github/skills/agentic-workflows/SKILL.mddebug the agentic workflow mattpocock-skills-reviewer failure in https://github.com/github/gh-aw/actions/runs/28987306542Tip
Stop reporting this workflow as a failure
To stop a workflow from creating failure issues, set
report-failure-as-issue: falsein its frontmatter: