bakery ci publish drops all but one platform from SOCI-enabled images since oras 1.4.0
Maintainers usually reply within 2 days
@ianpittwood is already working on this.
Since Dec 4, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- docker, github-actions, python
- Domain
- build-system, devops
Research direction
Start with plugins/builtin/imagetools/soci.py and inspect SociConvertWorkflow.run() and the oras cp --to-oci-layout step. The issue proposes keeping only the index.json entry whose org.opencontainers.image.ref.name annotation is image; add a test where that entry is not first. Done means the converted index retains all platforms and index annotations with ORAS 1.4.0.
Written by the indexing model from the issue text.
Description
Since oras 1.4.0 rolled out on 2026-12-03, bakery ci publish has been pushing SOCI-enabled images with only one platform and no index annotations, including production Docker Hub tags.
Impact
Every image with soci: enabled: true that was published after roughly 13:00 UTC on 2026-12-03 is affected. Each multi-platform tag now holds a single architecture (amd64 or arm64, varying by run) plus that platform's SOCI index. The index-level org.opencontainers.image.* annotations are also gone. Checked with skopeo inspect --raw:
ghcr.io/posit-dev/connect-preview:dailyand:2026.12.0-dev-744*are arm64 only. The last good build was dev-708 (run 47103708554). dev-712 onward are broken.- The production pushes on 2026-12-03 around 19:00 UTC left these tags single-platform:
docker.io/posit/connect:latestand:2026.11.1-ubuntu-24.04are amd64 only.:2026.10.0-ubuntu-24.04is arm64 only.posit/package-manager:latestandposit/workbench:latestare amd64 only.
ghcr.io/posit-dev/package-manager-preview:dailyandconnect-content-init-preview:dailyare also single-platform.- Tags that were not republished are fine. For example,
posit/connect-content-init:latestfrom 2026-11-29 still has both platforms.
CI stays green. Publish's verify step only checks that each destination digest matches the SOCI temp ref, and that ref is already single-platform.
Root cause
The v0 tag moved from dc0ffb1e to ac728b9d. That change included the dependabot bump of oras-project/setup-oras from v2.0.2 to v2.0.4 in bakery-build-native.yml, which changed the installed ORAS version from 1.3.1 to 1.4.0. The merge logs confirm the download URLs for each version. No Bakery publish code changed in that range.
SociConvertWorkflow.run() (plugins/builtin/imagetools/soci.py) runs oras cp --to-oci-layout <temp index> <src>:image, then soci convert --standalone --all-platforms <src> <out>. The layout's index.json lists the tagged index and its child manifests as separate top-level entries:
- ORAS 1.3.1 writes the tagged index (
ref.name=image) first. - ORAS 1.4.0 writes the children first and the tagged index last.
soci convert --standalone converts index.json manifests[0]. With ORAS 1.4.0, that entry is a single platform's image manifest, not the multi-platform index. The output becomes a single-platform image plus one SOCI index, without the index annotations. Which platform ends up first probably depends on the order the concurrent copy finishes, which would explain why the result alternates between amd64 and arm64.
oras manifest index create behaves identically in both versions. I checked this by reproducing locally with registry:2, busybox amd64/arm64, oras 1.3.1/1.4.0, and soci 0.13.0. Results for the soci output index:
- oras 1.3.1: 4 manifests (amd64, arm64, and both SOCI indexes), annotations present.
- oras 1.4.0: 2 manifests (amd64 image and amd64 SOCI index), annotations missing.
Proposed fix
- Fix in Bakery. After the
oras cp --to-oci-layoutinSociConvertWorkflow.run(), rewritesrc/index.jsonso it keeps only the entry withannotations["org.opencontainers.image.ref.name"] == "image". I verified locally that soci 0.13.0 then converts the 1.4.0 layout correctly: 4 manifests and both annotations. Add a test with a multi-entryindex.jsonin which the tagged index is not first. - Mitigate now (optional). Pin
version: 1.3.1on bothsetup-orassteps inbakery-build-native.yml(andbakery-build.ymlif needed) until the fix ships. - Harden verify. Have publish fail when the final index's platform set doesn't match the target's configured platforms. That check would have caught this.
- Republish. Rerun the affected production and development workflows for connect, package-manager, and workbench to restore multi-platform tags.
References
- https://github.com/posit-dev/images-connect/actions/runs/47103708554 (last good, oras 1.3.1)
- https://github.com/posit-dev/images-connect/actions/runs/47138559960 (first bad, oras 1.4.0)
- https://github.com/posit-dev/images-connect/actions/runs/47221884217
- https://github.com/oras-project/setup-oras/releases/tag/v2.0.4
- https://github.com/oras-project/oras/compare/v1.3.1...v1.4.0
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 19
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/images-shared
-
Add max-parallel input to bakery-build-native.yml to cap matrix build concurrencyPossibly taken A pull request linked to this issue is open or already merged. Opencvp:0 docker tdp:1
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
posit-dev/images-shared#757 · 2 comments ·
Maintainers usually reply within 2 days
-
slack-build-notify: no persisted alert state — causes suppressed repeat-failure and recovery alertsOpenbug cicd cvp:0 docker needs discussion observability tdp:2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
posit-dev/images-shared#677 ·
Maintainers usually reply within 2 days
-
cicd cvp:0 docker enhancement epic tdp:2
Difficulty 5/5 Over a week Newbie friendliness 35/100
posit-dev/images-shared#902 ·
Maintainers usually reply within 2 days
-
cvp:0 dependencies docker enhancement python:uv tdp:2
Difficulty 4/5 3-5 days Newbie friendliness 52/100
posit-dev/images-shared#900 ·
Maintainers usually reply within 2 days
-
bug cicd cvp:0 docker tdp:2
Difficulty 3/5 1-2 days Newbie friendliness 70/100
posit-dev/images-shared#896 ·
Maintainers usually reply within 2 days
All issues in posit-dev/images-shared
Similar issues
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
country:US rating:6 request-theme type:TV SHOW
Difficulty 1/5 Under an hour Newbie friendliness 65/100
LizardByte/ThemerrDB#10501 · 1 comment ·
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
agentscope-ai/agentscope#4563 ·
Maintainers usually reply within 2 days
-
comp/desktop desktop/chat P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
NousResearch/hermes-agent#164451 ·
Maintainers usually reply within 1 day
-
external integration integration-submission
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
langchain-ai/docs#8426 ·
Maintainers usually reply within 1 day