Skip to content

Comments

Add agent assignment option to failure issue template#16771

Merged
pelikhan merged 2 commits intomainfrom
copilot/update-agent-failure-template
Feb 19, 2026
Merged

Add agent assignment option to failure issue template#16771
pelikhan merged 2 commits intomainfrom
copilot/update-agent-failure-template

Conversation

Copy link
Contributor

Copilot AI commented Feb 19, 2026

The agent failure issue template now suggests assigning the issue to agentic-workflows agent as the primary resolution path, with manual invocation as a secondary option.

Changes

  • Template update (actions/setup/md/agent_failure_issue.md): Added two-option structure in "Action Required" section
    • Option 1: Assign issue to agent for automatic resolution
    • Option 2: Manual agent invocation via /agent command
  • Test update (actions/setup/js/handle_agent_failure.test.cjs): Updated mock template to match new structure

Template diff

 ### Action Required
 
+**Option 1: Assign this issue to agent using agentic-workflows**
+
+Assign this issue to the `agentic-workflows` agent to automatically debug and fix the workflow failure.
+
+**Option 2: Manually invoke the agent**
+
 Debug this workflow failure using the `agentic-workflows` agent:

The template is rendered at runtime by the conclusion job when agent failures occur.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw -c=4 -nolocalimports git t-13�� k/gh-aw/gh-aw/.github/workflows/auto-triage-issues.md Test User (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha _.a (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq .object.sha se 094718/b061/vet.cfg 094718/b167/vet.cfg (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq .object.sha _.a origin 094718/b169/vet.cfg (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v4 --jq .object.sha uts.version -trimpath /usr/bin/git -p github.com/githurev-parse -lang=go1.25 git rev-�� --git-dir -goversion /usr/bin/git -c=4 -nolocalimports -importcfg git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha te 'scripts/**/*.js' --ignore-paremote.origin.url cfg 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha v1.0.0 /tmp/go-build543094718/b264/vet.cfg pts.test (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha user.email test@example.com /usr/bin/git '**/*.ts' '**/*.git --local x_amd64/vet git conf�� user.name Test User /usr/bin/git --local pull.rebase x_amd64/vet git (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha pare.go mat.go it (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha th .prettierigno-errorsas (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha vaScript247418417/001/test-frontmatter-with-nested-objects.md Update agent failure issue template to suggest assigning issue tgithub.com/github/gh-aw/pkg/parsrev-parse /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha 44 Update agent failure issue template to suggest assigning issue t-test.run=^Test 094718/b171/vet.cfg (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/1/artifacts
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12345/artifacts
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 -n x_amd64/vet **/*.go --hidden --glob x_amd64/vet push�� te '**/*.cjs' '*go1.25.0 cfg 64/pkg/tool/linu-nolocalimports (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12346/artifacts
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/2/artifacts
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/3/artifacts
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/4/artifacts
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 nternal/testdeps-c=4 x_amd64/compile (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/5/artifacts
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path json' --ignore-p-errorsas (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 100 (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 6 (http block)
  • https://api.github.com/repos/github/gh-aw/contents/.github%2Fworkflows%2Faudit-workflows.md
    • Triggering command: /opt/hostedtoolcache/node/24.13.0/x64/bin/node /opt/hostedtoolcache/node/24.13.0/x64/bin/node --conditions node --conditions development --experimental-import-meta-resolve --require /home/REDACTED/work/gh-aw/gh-aw/actions/setup/js/node_modules/vitest/suppress-warnings.cjs /home/REDACTED/work/gh-aw/gh-aw/actions/setup/js/node_modules/vitest/dist/workers/forks.js (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha rite '**/*.cjs' @{u} --others 64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/nonexistent/action/git/ref/tags/v999.999.999
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq .object.sha ty-test.md -collect-logs 64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/nonexistent/repo/actions/runs/12345
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion (http block)
  • https://api.github.com/repos/owner/repo/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo es/.bin/sh ame (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo ules/.bin/sh ame (http block)
  • https://api.github.com/repos/owner/repo/contents/file.md
    • Triggering command: /tmp/go-build543094718/b368/cli.test /tmp/go-build543094718/b368/cli.test -test.testlogfile=/tmp/go-build543094718/b368/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true (http block)
  • https://api.github.com/repos/test-owner/test-repo/actions/secrets
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name json' --ignore-p-errorsas (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Update the template for agent failure issues created in the conclusion job.

In the section about what to do, suggest to "Assign this issue to agent using agentic-workflows" to let solve the issue


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update template for agent failure issues in conclusion job Add agent assignment option to failure issue template Feb 19, 2026
@pelikhan pelikhan marked this pull request as ready for review February 19, 2026 07:01
Copilot AI review requested due to automatic review settings February 19, 2026 07:01
@pelikhan pelikhan merged commit e7d881f into main Feb 19, 2026
127 checks passed
@pelikhan pelikhan deleted the copilot/update-agent-failure-template branch February 19, 2026 07:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the agent failure issue template to provide two options for resolving workflow failures: assigning the issue to the agentic-workflows agent for automatic resolution (recommended), or manually invoking the agent via command.

Changes:

  • Added a two-option structure to the "Action Required" section with Option 1 (agent assignment) as the primary path and Option 2 (manual invocation) as the secondary path
  • Updated the test mock to reflect the new template structure

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
actions/setup/md/agent_failure_issue.md Added two-option structure for resolving agent failures with agent assignment as the primary option
actions/setup/js/handle_agent_failure.test.cjs Updated mock template to match the new structure in the actual template file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


### Action Required

**Option 1: Assign this issue to agent using agentic-workflows**
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing article before "agent". The phrase "Assign this issue to agent" should be "Assign this issue to the agent" for grammatical correctness.

Suggested change
**Option 1: Assign this issue to agent using agentic-workflows**
**Option 1: Assign this issue to the agent using agentic-workflows**

Copilot uses AI. Check for mistakes.

### Action Required

**Option 1: Assign this issue to agent using agentic-workflows**
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing article before "agent". The phrase "Assign this issue to agent" should be "Assign this issue to the agent" for grammatical correctness. This should match the correction made in the template file.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants