You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix #3399: the published agent image cannot be unpacked on hosts that cannot apply overlayfs opaque whiteouts (reported on OrbStack, Ubuntu 24.04.5 x86_64, Docker 29.1.3 with the containerd overlayfs image store: `failed to convert whiteout file... #3400
Fix #3399: the published agent image cannot be unpacked on hosts that cannot apply overlayfs opaque whiteouts (reported on OrbStack, Ubuntu 24.04.5 x86_64, Docker 29.1.3 with the containerd overlayfs image store: failed to convert whiteout file "etc/bash_completion.d/.wh..wh..opq": operation not permitted). Check current upstream main first.
Verified facts: propr/agent:0.9.0 (digest sha256:22b319a7721b…, same as bundle-bbb78a107626-5229eb) has 152 .wh..wh..opq entries, all in one layer: the agent-base stage's large RUN … apt-get install … step in Dockerfile.agent (layer index 5 of 29). They cover usr/share (93), usr/include (29), usr/lib (22) and /etc (bash_completion.d, ca-certificates, gss, perl, python3.11, ssl, sysctl.d). Several of these directories do not exist in the node:22-bookworm-slim base, so the release builder's overlayfs differ marks even newly created directories opaque. propr/agent:0.8.15 had the same pattern (163 entries), so this is not a 0.9.0 regression. App/UI images are unaffected.
Goal: published agent images (and the managed preview agent image) must contain no opaque whiteouts, or any whiteouts at all, so they unpack on restricted snapshotters, without relaxing VM or container isolation. Prefer a Dockerfile-level fix that is independent of the builder's differ. For example, flatten the system-package layer: build agent-base as today, then start the shipped base from FROM scratch with COPY --from=agent-base-build / / and re-declare the base image's ENV/USER/WORKDIR/ENTRYPOINT defaults exactly (PATH, NODE_VERSION, YARN_VERSION and so on), so the remaining stages only add new paths. Keep the CLI version matrix, pins, supply-chain checks (test/agentDockerfileSupplyChain.test.ts) and the agent bundle content-hash behaviour intact. Keep image size growth bounded and report it.
Verification is mandatory and must be empirical: build the agent image with scripts/build-images.sh --only agent, docker save it, and assert with a script (add it as a test or CI check, for example in scripts/smoke-test-images.sh or a dedicated check) that no layer tarball contains .wh..wh..opq or any .wh. entry. Also verify the image still passes the existing agent smoke checks (every bundled CLI runs, entrypoints work). If possible, reproduce the failure and the fix with a containerd snapshotter configuration that rejects trusted xattrs (for example rootless or userxattr overlay) and document it. Add a 0.9.1-ready CHANGELOG entry under [Unreleased]. In the PR body, include a short user workaround for current images on affected hosts (switch Docker to the classic overlay2 storage driver by disabling the containerd image store, or use OrbStack's native Docker engine), so the maintainer can answer #3399.
One focused PR ready for review. Do not auto-merge, tag, publish or deploy.
Activity
propr-dev commentedon Oct 31, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53400/claude-opus-5-5-fix-3399-the-published-ag-20261031-1127-4wcmainissue-3400-20261031-1127-claude-opus-5-5-4wc🔍 Track Task Execution