Add version check to debug-agentic-workflow agent startup #7000
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The debug-agentic-workflow agent now checks for gh-aw updates before starting debug sessions and notifies users when newer versions are available.
Changes
Added version check step as first action in agent startup flow
gh extension upgrade githubnext/gh-aw --dry-runUpdated agent templates to maintain consistency:
pkg/cli/templates/debug-agentic-workflow.agent.mdpkg/cli/templates/debug-agentic-workflow.prompt.md.github/agents/debug-agentic-workflow.agent.mdBehavior
When an update is available:
When up to date or check fails, proceeds directly to debug workflow without notification.
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/user/usr/bin/gh gh api user --jq .login runs/20251219-195830-15015/test-2333984567 /usr/lib/git-core/git 0/x64/bin/node h /dev/null https://github.cmaintenance /usr/bin/git /opt/hostedtoolc--auto -V=f�� /create_discussi--detach git /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/link k/gh-aw/gh-aw/.ggit aw updates at threv-parse 0/x64/bin/node /opt/hostedtoolcache/go/1.25.0/x.github/workflows/zizmor-test.lock.yml(http block)/usr/bin/gh gh api user --jq .login /create_pull_request.js tmain.go /usr/bin/gh /tmp/bundler-valgit x_amd64/vet modules/@npmcli/--show-toplevel gh repo�� ithub/workflows --json 0/x64/bin/node --jq .owner.login + "-d 0/x64/bin/node git(http block)/usr/bin/gh gh api user --jq .login ithub/workflows -buildtags /usr/bin/git -errorsas -ifaceassert -nilfunc git init�� k/gh-aw/gh-aw/.github/workflows -tests /usr/bin/git by/7418225f9d155/usr/lib/systemd/systemd-sysctl --package-lock-o--prefix=/net/ipv4/conf/veth536c71a ache/node/24.12.--prefix=/net/ipv4/neigh/veth536c71a git(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.