Suppress Quarto TinyTeX progress spam in builds (CI=true)#147
Merged
Conversation
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.
afce340 to
40fd231
Compare
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.
Quarto renders an animated TinyTeX download progress bar unless
runningInCI()passes. The env vars it checks (CI,GITHUB_ACTIONS, …) do not reach adocker buildRUN 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=trueinline 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.