Repository navigation
ci: compile the arXiv bundle in a pinned TeX Live 2023 image, not apt - #244
Merged
Merged
Conversation
Goal 8RakrAGa-5128, follow-up to #241 from the Wave Forecaster project thread https://claude.ai/code/project/chan_017D9Khj8joWFwBwfu6q6in8?thread=cmsg_017D9Khj8joWFwBwfu6q6in8BNdD1Pxo8hsWrC8RakrAGa All three runs of arxiv.yml after #241 (two on the PR, one on main) logged 'Temporary failure resolving azure.archive.ubuntu.com' at apt-get update, then sat in apt-get install until the 20-minute job timeout. In the same window ci.yml's apt step on ubuntu-latest installed gfortran. The bundle job and release.yml's arxiv-bundle job now run on ubuntu-latest, retry each apt fetch three times, print apt's progress instead of -qq, and give the install 10 minutes. Tested: yaml parse of arxiv.yml and release.yml (ok); the logs of jobs 130602540336, 130615636545 and 130618116680 (same DNS failure in each). This PR's own arxiv.yml run is the test of the fix Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0193yhp53mSqY2C7GwJnCcwY
Goal 8RakrAGa-5128. The first commit of this branch moved the job to ubuntu-latest with apt retries; its run (job 130632687856) still could not reach azure.archive.ubuntu.com, waiting 20 s on each package until the 10-minute step timeout. So the TeX Live comes from Docker Hub's texlive/texlive:TL2023-historic, pinned by digest: the TeX Live 2023 the 00README names, with DejaVuSans.ttf in its tree. The image has no git and no pdfinfo, so the workflow passes the revision and commit time in PREPRINT_REV and PREPRINT_MTIME, and the page count is optional. The self-test no longer needs python3. Tested: shellcheck 0.9.0 (clean); preprint_arxiv.sh --self-test (ok); the workflow's docker run line in that image here (rc 0, 463 kB tarball, 7 pages, pdftotext identical to the committed PDF except the revision, DejaVuSans embedded); yaml parse of arxiv.yml and release.yml (ok) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0193yhp53mSqY2C7GwJnCcwY
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.
Requested by Hoffmann · project thread
Goal
8RakrAGa-5128, a follow-up to #241 from the Wave Forecaster project thread.Before. Every
arxiv.ymlrun since #241 timed out installing TeX Live with apt: the runners could not resolveazure.archive.ubuntu.comand waited 20 s on each package. That happened onubuntu-24.04(3 runs) and, after this PR's first commit, onubuntu-latestwith apt retries (job 130632687856). The bundle check had never run on GitHub.After. The bundle is built and compiled inside Docker Hub's
texlive/texlive:TL2023-historic, pinned by digest. That image carries the TeX Live 2023 named in the bundle's00README.jsonandDejaVuSans.ttf. It has no git or pdfinfo, so the workflow passes the revision and commit time inPREPRINT_REVandPREPRINT_MTIME, and the page count is optional. The same change is in release.yml'sarxiv-bundlejob.--self-test(ok); the workflow'sdocker runline in that image here: rc 0, 463 kB tarball, 7 pages,pdftotextidentical to the committed PDF except the revision, DejaVuSans embedded; yaml parse of both workflows. This PR'sarxiv.ymlrun on GitHub ⚠ pendingWhat changed
.github/workflows/arxiv.yml,.github/workflows/release.yml: TeX Live from the pinned image,ubuntu-latest, step timeoutscripts/preprint_arxiv.sh:PREPRINT_REV/PREPRINT_MTIME, optionalpdfinfo, xelatex stderr silenced, no python3 in the self-testpubs/preprint/README.md: says where CI compiles🤖 Generated with Claude Code
https://claude.ai/code/session_0193yhp53mSqY2C7GwJnCcwY