Repository navigation
CI: make the apt step robust to mirror stalls (unblocks the master deploy) - #58
Merged
Merged
Conversation
Install ImageMagick, cwebp and Pandoc with --no-install-recommends. The recommended Ghostscript, URW fonts and netpbm (~45 MB) are not needed for the JPEG/PNG -> WebP conversions, and the 11 MB font package is where the downloads stalled (exit 124 on #56 and twice on the #57 merge). The fallback to archive.ubuntu.com now also rewrites /etc/apt/apt-mirrors.txt: Ubuntu 24.04 runners resolve their sources through that mirror list, so the previous fallback still used the Azure mirror. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KzHgFgeEYmpqcsxvvbphUy
andreachiocca
temporarily deployed
to
website-preview-AC
November 6, 2026 07:56 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The master deploy is blocked. The build of the #57 merge failed twice in "Install image and document tools" with exit 124. Before that:
So neither change is live yet. Every time, apt stalled while downloading
fonts-urw-base35(11 MB) from the Azure mirror.Changes
--no-install-recommendsforimagemagick webp pandoc, inbuild.ymlandpreview.yml. The recommended packages are not needed for the responsive JPEG/PNG → WebP images:libmagickcore-6.q16-7-extra.This removes about 45 MB of downloads, including the package that stalls. The WebP coder ships in
libmagickcore-6.q16-7t64, and local checks confirm both points:dpkg -S …/coders/webp.soreports that core package;convert x.jpg -resize 480 x.webpworks on an Ubuntu 24.04 image without the recommended packages;Working fallback mirror. Ubuntu 24.04 runners resolve sources through
/etc/apt/apt-mirrors.txt(the log showsGet:1 file:/etc/apt/apt-mirrors.txt Mirrorlist). The fallbackseddid not touch that file, so the "retry against archive.ubuntu.com" still downloaded fromazure.archive.ubuntu.com. The file is now rewritten too.After merging
The push to master rebuilds and deploys #56 and #57 together:
Generated by Claude Code