Skip to content

gh-aw-firewall/{agent,api-proxy,squid} emitted tag-only in v0.86.1 lock files (regression of #43307 / #38561) #51248

Closed

Description

@rbstp

The firewall digest-pinning fix has regressed again in v0.86.1. Same three images and same shape as
#38561 (v0.79.x), #43307 (v0.82.2) and #44040 (v0.82.3) — each of which was fixed, and each of which came
back.

What changed between v0.86.0 and v0.86.1

Recompiling the same unmodified workflow source with only the compiler version changed:

v0.86.0:  ghcr.io/github/gh-aw-firewall/agent:0.27.43@sha256:04e2d1987a565000a8f114b89d806ae7a3864dd4f944be65275b28c93d8690e6
v0.86.1:  ghcr.io/github/gh-aw-firewall/agent:0.27.43

The containers block in the gh-aw-manifest header shows the split clearly — the three firewall images
lose digest/pinned_image while the other three keep theirs:

"containers":[
  {"image":"ghcr.io/github/gh-aw-firewall/agent:0.27.43"},
  {"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.43"},
  {"image":"ghcr.io/github/gh-aw-firewall/squid:0.27.43"},
  {"image":"ghcr.io/github/gh-aw-mcpg:v0.4.8","digest":"sha256:38bbea36...","pinned_image":"...@sha256:..."},
  {"image":"ghcr.io/github/gh-aw-node","digest":"sha256:0d9f1fb5...","pinned_image":"...@sha256:..."},
  {"image":"ghcr.io/github/github-mcp-server:v1.8.0","digest":"sha256:d5a18c04...","pinned_image":"...@sha256:..."}
]

It is not only the manifest comment — it is the real pull path:

# v0.86.1
run: bash "${RUNNER_TEMP}/gh-aw/actions/download_docker_images.sh" \
  ghcr.io/github/gh-aw-firewall/agent:0.27.43 \
  ghcr.io/github/gh-aw-firewall/api-proxy:0.27.43 \
  ghcr.io/github/gh-aw-firewall/squid:0.27.43 \
  ghcr.io/github/gh-aw-mcpg:v0.4.8@sha256:38bbea36... \
  ...

Ruled out

  • Not a transient resolution failure. Deterministic across repeated gh aw compile runs, and
    resolution_failures in the manifest does not mention these images.
  • Not a moved tag. docker buildx imagetools inspect resolves all three right now to digests that are
    byte-identical to what v0.86.0 recorded (04e2d198…, d85f5797…, 26be5e0b…). The images did not
    change — the compiler simply stopped emitting the pin.

Why it matters

awf is launched with --skip-pull, so the sandbox runs whatever download_docker_images.sh put in the
local cache. Pulling by mutable tag means a repush of 0.27.43 silently changes the sandbox — the
component that confines an agent with unrestricted bash. It is also the one image family where the pin is
most load-bearing, which is presumably why it has been fixed three times already.

Repro

Any workflow with an explicit sandbox.agent.version:

sandbox:
  agent:
    version: v0.27.43

Compile with v0.86.0, then with v0.86.1, and diff the download_docker_images.sh arguments.

Expected: every gh-aw-firewall/* image emitted as <image>@sha256:<digest>, like the other three.

Suggestion

Given this is the fourth recurrence across v0.77.5, v0.79.x, v0.82.2 and v0.82.3, a golden/compile test
asserting that every entry in containers[] carries a pinned_image would catch it at the source rather
than downstream. Happy to test a fix against our workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugcommunitycompilerworkflows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions