Skip to content

ci: compile the arXiv bundle in a pinned TeX Live 2023 image, not apt - #244

Merged
h0ffmann merged 2 commits into
mainfrom
goal/8RakrAGa-5128-arxiv-ci-apt
Nov 11, 2026
Merged

h0ffmann merged 2 commits into
mainfrom
goal/8RakrAGa-5128-arxiv-ci-apt

Conversation

@h0ffmann

@h0ffmann h0ffmann commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Requested by Hoffmann · project thread

Goal 8RakrAGa-5128, a follow-up to #241 from the Wave Forecaster project thread.

Before. Every arxiv.yml run since #241 timed out installing TeX Live with apt: the runners could not resolve azure.archive.ubuntu.com and waited 20 s on each package. That happened on ubuntu-24.04 (3 runs) and, after this PR's first commit, on ubuntu-latest with 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's 00README.json and DejaVuSans.ttf. It has no git or pdfinfo, so the workflow passes the revision and commit time in PREPRINT_REV and PREPRINT_MTIME, and the page count is optional. The same change is in release.yml's arxiv-bundle job.

Tested shellcheck 0.9.0 (clean); --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 both workflows. This PR's arxiv.yml run on GitHub ⚠ pending

What changed

  • .github/workflows/arxiv.yml, .github/workflows/release.yml: TeX Live from the pinned image, ubuntu-latest, step timeout
  • scripts/preprint_arxiv.sh: PREPRINT_REV/PREPRINT_MTIME, optional pdfinfo, xelatex stderr silenced, no python3 in the self-test
  • pubs/preprint/README.md: says where CI compiles

🤖 Generated with Claude Code

https://claude.ai/code/session_0193yhp53mSqY2C7GwJnCcwY

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
@h0ffmann h0ffmann self-assigned this Nov 11, 2026
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
@h0ffmann h0ffmann changed the title ci: stop the arXiv bundle's apt step from hanging ci: compile the arXiv bundle in a pinned TeX Live 2023 image, not apt Nov 11, 2026
@h0ffmann
h0ffmann merged commit 586ac03 into main Nov 11, 2026
10 checks passed
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