Skip to content

Suppress Quarto TinyTeX progress spam in builds (CI=true)#147

Merged
bschwedler merged 1 commit into
mainfrom
quarto-tinytex-ci-progress
Jun 18, 2026
Merged

Suppress Quarto TinyTeX progress spam in builds (CI=true)#147
bschwedler merged 1 commit into
mainfrom
quarto-tinytex-ci-progress

Conversation

@bschwedler

@bschwedler bschwedler commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Quarto renders an animated TinyTeX download progress bar unless runningInCI() passes. The env vars it checks (CI, GITHUB_ACTIONS, …) do not reach a docker build RUN step, so Quarto redraws the bar on every download tick — one Workbench dev build emitted ~26,000 lines (~5 MB, 68% of the log), slowing the build and bloating CI logs.

Setting CI=true inline on the install command collapses the progress bar to a single line while keeping error output (unlike --quiet). The fix lives in the shared bakery macro; this adds it directly to the committed Containerfiles so builds get it without waiting for a re-render.

Quarto renders an animated TinyTeX download progress bar unless its
`runningInCI()` check passes. That check reads environment variables
(CI, GITHUB_ACTIONS, etc.) that do not propagate into a `docker build`
RUN step, so inside container builds Quarto redraws the bar on every
download tick — tens of thousands of lines in a non-TTY build log.

Set `CI=true` inline on the TinyTeX install command so the progress bar
collapses to a single line while keeping error output.

These are generated files, normally rendered from the shared bakery
macro. This is a manual stopgap so production builds get the fix without
waiting for a bakery release; the proper macro change is in
posit-dev/images-shared#627. A re-render after that lands reproduces
these exact edits.
@bschwedler bschwedler force-pushed the quarto-tinytex-ci-progress branch from afce340 to 40fd231 Compare June 18, 2026 18:27
@bschwedler bschwedler merged commit 6131026 into main Jun 18, 2026
88 checks passed
@bschwedler bschwedler deleted the quarto-tinytex-ci-progress branch June 18, 2026 18:45
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