Skip to content

Reset the manifest source list between nightly and release merges - #136

Merged
SeanTAllen merged 1 commit into
mainfrom
reset-manifest-sources-between-merges
Jul 12, 2026
Merged

Reset the manifest source list between nightly and release merges#136
SeanTAllen merged 1 commit into
mainfrom
reset-manifest-sources-between-merges

Conversation

@SeanTAllen

Copy link
Copy Markdown
Member

combine-images.bash collected the per-arch source images into one sources array shared across both merge_images calls and never reset it. The nightly merge ran first and left nightly-amd64 and nightly-arm64 in the array; the release merge then appended release-amd64 and release-arm64 and built the release manifest from all four, with the nightly entries first.

Docker resolves a multi-arch tag to the first image matching the host platform, so every affected :release image resolved to the nightly build on both amd64 and arm64. Concretely, ghcr.io/ponylang/shared-docker-ci-standard-builder-with-libressl-4.2.1:release currently runs ponyc nightly-20260712 while its base standard-builder:release correctly runs the release, 0.67.0. Its :release manifest lists four platform entries instead of two, nightly first. Projects using these images for release CI have been compiling against nightly ponyc.

Resetting the array at the start of each merge_images call fixes it. The same accumulator-not-reset pattern was in all five variants that use this combine step — libressl-4.2.0, libressl-4.2.1, openssl-3.6.0, openssl-3.6.2, openssl-4.0.0 — so all five are fixed here. The plain standard-builder and -with-pcre build multi-arch directly and were never affected.

Verified with a stubbed docker: before, the release manifest is created from nightly-amd64 nightly-arm64 release-amd64 release-arm64; after, from release-amd64 release-arm64. shellcheck is clean on all five.

combine-images.bash accumulated the per-arch source images in a single
`sources` array shared across both merge_images calls, and never reset it. The
nightly merge ran first and left nightly-amd64 and nightly-arm64 in the array;
the release merge then appended release-amd64 and release-arm64 and published
the release manifest from all four, nightly entries first. Docker resolves a
multi-arch tag to the first image matching the host platform, so pulling any of
these :release images returned the nightly build on both amd64 and arm64 -- and
projects using them for release CI were compiling against nightly ponyc.

Resetting the array at the start of each merge fixes every affected variant:
libressl-4.2.0, libressl-4.2.1, openssl-3.6.0, openssl-3.6.2, openssl-4.0.0. The
plain standard-builder and -with-pcre build multi-arch directly and were never
affected.
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Jul 12, 2026
@SeanTAllen
SeanTAllen merged commit 899d7e2 into main Jul 12, 2026
15 checks passed
@SeanTAllen
SeanTAllen deleted the reset-manifest-sources-between-merges branch July 12, 2026 20:51
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants