You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
templates/ci.yml: a parallel PDF check that each site can switch off #230
Decided on #146 (decision 7, 2026-11-04): HTML-only PR previews keep a PDF check, run in parallel with the preview, and each site can turn it off.
Malformed LaTeX can pass the HTML build and still break the PDF build, and a broken PDF build disrupts the publish. So when previews move to HTML only (#148), PR CI should keep checking the PDF, without making reviewers wait for it before the preview link appears. Sites that publish no PDF should be able to switch the check off.
Proposal
A pdf-check job in templates/ci.yml, beside the preview job, that builds the PDF with build-lectures (builder: pdflatex) and fails the PR's checks when the LaTeX build fails. The preview deploy does not wait for it.
A per-site switch, so a site with no PDF skips the job cleanly (reported as skipped, not failed). A repository variable that defaults to on is one option; settle the mechanism in the PR.
The PDF build needs executed notebooks. It should reuse what the HTML job executes, through the same jupyter-cache or the HTML job's cache, rather than executing everything again. Re-execution would double the cost, and on GPU repos it would need a second GPU runner.
Document the switch in the template and the user manual. A repository that wants a broken PDF to block merges can make pdf-check a required status check.
Done when
A PR that breaks only the LaTeX build shows a red pdf-check while its HTML preview still deploys.
Switching the check off skips the job cleanly.
With a warm cache, the job does not re-execute notebooks.
Activity
qe: correct the handover against the tracker as of 2026-11-04
docs(plan): catch up with the v0.12.0 follow-ups and the 2026-11-04 d…
test(harness): run the pdf-check switch plumbing, both settings (#230)