Upgrade gh-aw to pinned main commit and add max-patch-files: 500#231
Merged
Upgrade gh-aw to pinned main commit and add max-patch-files: 500#231
max-patch-files: 500#231Conversation
Agent-Logs-Url: https://github.com/githubnext/tsessebe/sessions/726474bd-cf00-478f-bb43-31b75940cb28 Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
Agent-Logs-Url: https://github.com/githubnext/tsessebe/sessions/726474bd-cf00-478f-bb43-31b75940cb28 Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade gh-aw to main to unblock autoloop file limit
Upgrade gh-aw to pinned main commit and add Apr 27, 2026
max-patch-files: 500
Contributor
|
@copilot fix test failures |
Agent-Logs-Url: https://github.com/githubnext/tsessebe/sessions/dacd4ac4-ace5-4ec5-b2f9-60cbcabca784 Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 v0.71.1
create_pull_requesthandler countsdiff --githeaders (not unique files) against a hardcoded 100-file limit, which trips E003 on long-running autoloop branches that mergemainbefore committing (~1768 headers for 1–3 actual files). The fix landed on gh-awmain(github/gh-aw#28472) but no release has been cut.The fix lives in
github/gh-aw'sactions/setup/js/create_pull_request.cjs. It has not been synced to the separategithub/gh-aw-actionsrepo, so bumpinggh-aw-actions/setupwould not pick it up.gh aw compile --action-mode release --action-tag <sha>emits lock files that referencegithub/gh-aw/actions/setup@<sha>directly — bypassinggh-aw-actionsentirely.Changes
autoloop.md— addedmax-patch-files: 500undersafe-outputs(now supported by the new handler):autoloop.lock.yml/evergreen.lock.yml— regenerated against gh-awa91e3d2deadaf27496e563b7a4591125e1093d22. Allgithub/gh-aw-actions/setup@v0.71.1references replaced withgithub/gh-aw/actions/setup@a91e3d2…;max_patch_files":500now baked into autoloop's handler config. Incidental drift:GH_AW_INFO_VERSION1.0.35→1.0.36,github-mcp-serverv1.0.2→v1.0.3, schedule-scattering offset shifted, and the now-removedCheck compile-agentic versionstep is gone.copilot-setup-steps.yml—gh-aw-actions/setup-clionly installs tagged releases. Replaced withactions/setup-go+ an inline shallow-fetch +go buildof gh-aw at the same pinned SHA into~/.local/share/gh/extensions/gh-aw/, so the agent's CLI matches what compiled the lock files (avoiding stale-lock-file errors on recompile).Follow-ups
When the next gh-aw release lands with both #28472 and the corresponding
gh-aw-actionsJS sync, revertcopilot-setup-steps.ymltosetup-cli@<new-tag>and recompile with--action-mode action.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/repos/actions/github-script/git/ref/tags/v9/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv go1.25.8 -c=4 -nolocalimports -importcfg /tmp/go-build1463585797/b254/importcfg -pack /home/REDACTED/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.8.linux-amd64/src/mime/multipart/formdata.go(http block)/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv checkout(http block)/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv(http block)https://api.github.com/repos/github/gh-aw-actions/contents/setup/usr/bin/curl curl -sL REDACTED(http block)https://api.github.com/repos/github/gh-aw/git/ref/tags/a91e3d2deadaf27496e563b7a4591125e1093d22/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/a91e3d2deadaf27496e563b7a4591125e1093d22 --jq [.object.sha, .object.type] | @tsv(http block)/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/a91e3d2deadaf27496e563b7a4591125e1093d22 --jq [.object.sha, .object.type] | @tsv ux-amd64/src/mat-c=4(http block)/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/a91e3d2deadaf27496e563b7a4591125e1093d22 --jq [.object.sha, .object.type] | @tsv INVALID,NEW -j DROP(http block)https://api.github.com/repos/github/gh-aw/pulls/28472/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(http block)https://api.github.com/repos/github/gh-aw/releases/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(http block)https://api.github.com/repos/github/gh-aw/releases/latest/usr/bin/gh gh extension install github/gh-aw --pin a91e3d2deadaf27496e563b7a4591125e1093d22 --force(http block)/usr/bin/gh gh extension install github/gh-aw --pin v0.71.1 --force(http block)https://api.github.com/repos/github/gh-aw/tags/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(http block)/usr/bin/curl curl -sL REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either: