Repository navigation
Print MiKTeX's own logs when a document fails - #33
Merged
Merged
Conversation
A lualatex abort writes no 'document.log', and names '/latex/.miktex/texmfs/data/miktex/log/lualatex.log' as the file holding the reason. The container is removed with it, so the cause was never visible. Also drops the literal quotes from the 'Specific' job's outputs: a heredoc writing '$GITHUB_OUTPUT' does not strip them, so the quotes were part of the value and showed up in step names. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Merged
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.
Changes
A failed document compilation prints MiKTeX's own logs. When lualatex aborts it writes no
document.logat all and points at/latex/.miktex/texmfs/data/miktex/log/lualatex.loginstead:The container was removed with that file, so the reason was never visible and every occurrence read as "MiKTeX instability". An
if: failure()step in theDocumentandSphinxcheck jobs now groups the user and admin logs into the job output.Bug Fixes
Specificjob's outputs no longer carry literal quotes. Itstee "${GITHUB_OUTPUT}" <<EOFblock wrotespecific_image="<ns>/<name>:<tag>", and a heredoc does not strip quotes - so the quotes were part of the value and rendered in step names asLogin and push '"pytooling/miktex:sphinx-dev"' to Docker Hub. It worked only because every use was interpolated into a shell command, which stripped them again; acontainer: image:reference or an API call would have got a name that does not resolve. TheMiKTeXjob's own block already wrote its values unquoted.Related Issues and Pull-Requests
dev, a release tag and the Trixie branch, always in a single font family while its siblings passed in the same run - so it is environmental rather than a defect in a document. The logs should say which resource was missing.