Skip to content

[ci] disable tlmgr prefetch to fix Windows LaTeX install hang - #362

Merged
bburns632 merged 1 commit into
mainfrom
ci/windows-tlmgr-no-prefetch
Nov 26, 2026
Merged

bburns632 merged 1 commit into
mainfrom
ci/windows-tlmgr-no-prefetch

Conversation

@bburns632

Copy link
Copy Markdown
Collaborator

Problem

Since early November, the Windows CI job has hung on Install additional LaTeX Packages until the 60-minute job timeout. This happened on main's runs on Nov 2, 9, 16 and 23, and it is blocking #360. The log stops here:

tlmgr.pl: prefetching 1 containers using 1 parallel downloads (aria2c)
[1/1, ??:??/??:??] install: titling [3k]
... (~59 min) ...
Terminating on signal SIGINT(2)
tar: Read error on -: Broken pipe

The hang begins right after tlmgr starts its new aria2c-based prefetch download path, which is now on by default.

Change

  • Set TEXLIVE_PREFETCH: "0" on the step. This turns off prefetch so tlmgr uses its older sequential download-and-unpack path. I used the env var instead of --no-prefetch because an older tlmgr ignores an unknown env var but exits with an error on an unknown flag.
  • Add timeout-minutes: 10 to the step so a future hang fails in 10 minutes instead of 60.

Verification

This PR's own Windows CI run is the test. If it still hangs, the fallback is to skip the PDF manual on Windows (--no-manual).

🤖 Generated with Claude Code

Since early November the Windows job hangs on 'tlmgr install titling'
right after tlmgr's aria2c prefetch starts, until the 60-minute job
timeout. Set TEXLIVE_PREFETCH=0 to use tlmgr's non-prefetch download
path, and add a 10-minute step timeout so any future hang fails fast.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bburns632
bburns632 merged commit 63d7e74 into main Nov 26, 2026
6 of 8 checks passed
@bburns632
bburns632 deleted the ci/windows-tlmgr-no-prefetch branch November 26, 2026 14:48
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.

1 participant