Repository navigation
ci: fix translation PDF builds on Ubuntu 26.04 (TeX Live 2025) - #3343
Open
RobinLassonde wants to merge 4 commits into
Open
RobinLassonde wants to merge 4 commits into
RobinLassonde wants to merge 4 commits into
Conversation
Ubuntu 26.04 upgrades TeX Live from 2023 to 2025 and Pandoc 3.5+ requires babel .ldf language files unless provide=* is set: 1. Install the 9 missing texlive-lang-* packages in install-mdbook/action.yml needed by da, de, el, es, fr, it, pl, pt-BR, ro, tr, and vi. 2. Provide a no-op selnolig.sty stub via TEXINPUTS in build.sh for ar, bn, and fa to avoid the selnolig.lua:134 crash under Babel HarfBuzz shaping.
On Ubuntu 26.04 (Chrome 156.0.8078.79), speaker-notes.test.ts times out at 60s querying #aspect-ratio-helper inside the window.open() popup. Keep the TeX Live / build matrix on ubuntu-latest (Ubuntu 26.04) and temporarily pin only web-tests to ubuntu-24.04 so PRs can unblock immediately.
Touching build.yml caused zizmor to flag two pre-existing floating major version comments whose action SHAs actually point to v7.0.1 and v8.0.1 rather than the moved v7/v8 tags.
RobinLassonde
marked this pull request as ready for review
November 13, 2026 23:56
RobinLassonde
requested review from
djmitche,
mgeisler and
qwandor
as code owners
November 13, 2026 23:56
Collaborator
|
Hi Robin! It looks like there's still one failing test. Otherwise, these fixes are certainly outside my area of expertise but look reasonable enough. |
ubuntu-24.04 has also updated to Chrome 157 (157.0.8103.50), where speaker-notes.test.ts hits the same WebDriver BiDi popup timeout as Chrome 156 on Ubuntu 26.04. - Revert build.yml back to origin/main (keeping all jobs on ubuntu-latest). - Configure wdio:enforceWebDriverClassic: true specifically for speaker-notes.test.ts in wdio.conf.ts so playground.test.ts keeps BiDi for browser.mock(). - Clear localStorage in speaker-notes.test.ts beforeEach so state from earlier tests does not hide <details> on reload.
This branch has not been 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.
ubuntu-latestrecently migrated to Ubuntu 26.04 (TeX Live 2025; see actions/runner-images#14748), and runner images also updated to Chrome 156/157, which broke translation PDF generation (ar,bn,da,de,el,es,fa,fr,it,pl,pt-BR,ro,tr,vi) andweb-tests. We expect landing this fix to unblock the backlog of unmerged PRs currently failing these checks.There are three underlying issues:
Missing
babel.ldfpackages (da,de,el,es,fr,it,pl,pt-BR,ro,tr,vi): Pandoc emits\usepackage[...,]{babel}withoutprovide=*, so LuaLaTeX requires installed.ldffiles for these languages.texlive-lang-*packages (european,french,german,greek,italian,other,polish,portuguese,spanish) in.github/workflows/install-mdbook/action.yml.selnolig.luacrash under HarfBuzz shaping (ar,bn,fa): Pandoc unconditionally loadsselnoligunder LuaLaTeX, which crashes atselnolig.lua:134(bad argument #1 to 'char') on HarfBuzz glyph nodes emitted for these scripts..github/workflows/build.sh, prepend a temporary no-opselnolig.styviaTEXINPUTSscoped toar,bn, andfa(keepingselnoligenabled for Latin/German builds).web-testspopup timeout under Chrome 156/157 (speaker-notes.test.ts): Under WebDriver BiDi on Chrome 156/157, querying#aspect-ratio-helperinside thewindow.open()speaker-notes popup hangs until Mocha's 60s timeout. Additionally,localStorage["speakerNotes"]wasn't reset between tests, causing<details>to start hidden on Test 3.tests/wdio.conf.ts, setwdio:enforceWebDriverClassic: truespecifically fortests/src/speaker-notes.test.ts(keeping BiDi enabled forplayground.test.ts'sbrowser.mock()), and clearlocalStorageinbeforeEachintests/src/speaker-notes.test.ts.Because
build.shrestoresbook.tomlfrom historical commits matching each translation'sPOT-Creation-Date, changing Pandoc defaults inbook.tomlonmainwould not apply to translated builds, so the TeX Live fixes live in.github/workflows/.