Repository navigation
Description
Hey team — flagging that the firewall digest-pinning fix from #38561 seems to have regressed in v0.82.2 (and now covers a fourth image too).
What I'm seeing
Compiling with gh aw v0.82.2 in my repo produces .lock.yml files where the four gh-aw-firewall/* images have "image" set but no "digest" / "pinned_image":
"containers":[
{"image":"ghcr.io/github/gh-aw-firewall/agent:0.27.22"},
{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.22"},
{"image":"ghcr.io/github/gh-aw-firewall/squid:0.27.22"},
{"image":"ghcr.io/github/gh-aw-mcpg:v0.3.32","digest":"sha256:63e46b5...","pinned_image":"...@sha256:..."},
{"image":"ghcr.io/github/gh-aw-node","digest":"sha256:529d02e...","pinned_image":"...@sha256:..."},
{"image":"ghcr.io/github/github-mcp-server:v1.5.0","digest":"sha256:e25564d...","pinned_image":"...@sha256:..."}
]gh-aw-mcpg, gh-aw-node, and github-mcp-server are properly SHA-pinned; the four gh-aw-firewall/* images (agent, api-proxy, cli-proxy — new in v0.82 — and squid) are tag-only. Same shape as #38561 described for v0.79.4.
What's interesting
gh-aw's own compiled workflows in this repo have all four firewall images fully SHA-pinned:
"image":"ghcr.io/github/gh-aw-firewall/agent:0.27.22","digest":"sha256:55f06588..."
"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.22","digest":"sha256:afb9ff91..."
"image":"ghcr.io/github/gh-aw-firewall/cli-proxy:0.27.22","digest":"sha256:e23e1604..."
"image":"ghcr.io/github/gh-aw-firewall/squid:0.27.22","digest":"sha256:3cdcc1e2..."
(sourced from daily-model-resolution.lock.yml).
So the CLI knows how to produce pinned output; something specific to consumer compiles is dropping the digests. Consistent with #38561's diagnosis that applyContainerPins needs the firewall images in an embedded-pins table and v0.82.x may have missed refreshing that for the current 0.27.22 tag (plus the new cli-proxy image).
Environment
- gh aw v0.82.2 (installed via
gh extension install github/gh-aw --pin v0.82.2) - macOS local compile (no ambient ghcr.io auth beyond
gh auth) - Firewall image tag
0.27.22, mcpgv0.3.32— all fetched pins should be current
Workaround for now
Manually patching digests into the lock files works but doesn't survive the next gh aw compile. So consumers on v0.82.2 currently ship with reduced pinning for the four firewall images.
Happy to help test a fix or provide more detail — thanks!
Activity
strawgate commentedon Jul 4, 2026
Update — dug in and found the root cause and a durable workaround.
Root cause: gh-aw's own
.github/aw/actions-lock.jsonhas acontainerskey with digest entries for the four firewall images (plus dozens of other containers used across the workflows in this repo). The compiler'sapplyContainerPinsreads from that table.Consumer
actions-lock.jsonfiles (created bygh aw init/gh aw upgrade) only haveentries(for GitHub Actions), nocontainerssection. SoapplyContainerPinsmisses the firewall images because they're not in the local table.gh-aw-mcpg,gh-aw-node, andgithub-mcp-serverstay SHA-pinned because they come from an embedded default table inside the CLI binary — but the fourgh-aw-firewall/*images don't have that same fallback.Workaround (durable, survives future compiles): copy the firewall container entries for the current tag from gh-aw's
actions-lock.jsoninto the consumer's. Snippet from ours after the fix:```json
{
"entries": { ... },
"containers": {
"ghcr.io/github/gh-aw-firewall/agent:0.27.22": {
"image": "ghcr.io/github/gh-aw-firewall/agent:0.27.22",
"digest": "sha256:55f065...",
"pinned_image": "ghcr.io/github/gh-aw-firewall/agent:0.27.22@sha256:55f065..."
},
"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.22": { ... },
"ghcr.io/github/gh-aw-firewall/cli-proxy:0.27.22": { ... },
"ghcr.io/github/gh-aw-firewall/squid:0.27.22": { ... }
}
}
```
After adding these four entries,
gh aw compileproduces SHA-pinned firewall images across every workflow, no manual patching.Suggested upstream fix: extend the CLI's embedded default containers table to include the four
gh-aw-firewall/*images at the currently-bundled AWF version, matching howgh-aw-mcpg/gh-aw-node/github-mcp-serverare handled. Thengh aw upgradebumps the AWF version and the digests together, and consumers get pinning by default.Happy to send a PR if that's the direction you'd take.
Add regression tests for gh-aw-firewall digest pinning at default ver…