bakery ci publish drops all but one platform from SOCI-enabled images since oras 1.4.0
I maintainer di solito rispondono entro 2 giorni
@ianpittwood ci sta già lavorando.
Dal 4/12/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- docker, github-actions, python
- Ambito
- build-system, devops
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 2
- Fork
- 0
- Merge medio
- 3g 10h
- PR unite (30g)
- 19
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di posit-dev/images-shared
-
TinyTeX install leaks GitHub token to build logs under set -xForse già presa @ianpittwood l’ha presa oggi. Apertadocker
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
posit-dev/images-shared#916 ·
I maintainer di solito rispondono entro 2 giorni
-
Add max-parallel input to bakery-build-native.yml to cap matrix build concurrencyForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertacvp:0 docker tdp:1
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
posit-dev/images-shared#757 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
slack-build-notify: no persisted alert state — causes suppressed repeat-failure and recovery alertsApertabug cicd cvp:0 docker needs discussion observability tdp:2
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
posit-dev/images-shared#677 ·
I maintainer di solito rispondono entro 2 giorni
-
pebble.install() hits GitHub API rate limits; use optional github_token secretForse già presa @ianpittwood l’ha presa oggi. Apertadocker
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
posit-dev/images-shared#914 ·
I maintainer di solito rispondono entro 2 giorni
-
docker documentation
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
posit-dev/images-shared#912 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di posit-dev/images-shared
Issue simili
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
[TV SHOW]: Dynasty (1981)Apertacountry:US rating:6 request-theme type:TV SHOW
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
LizardByte/ThemerrDB#10501 · 1 commento ·
-
triage/confirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
agentscope-ai/agentscope#4563 ·
I maintainer di solito rispondono entro 2 giorni
-
comp/desktop desktop/chat P3 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
NousResearch/hermes-agent#164451 ·
I maintainer di solito rispondono entro 1 giorno
-
external integration integration-submission
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
langchain-ai/docs#8426 ·
I maintainer di solito rispondono entro 1 giorno