Conversation
md-to-pdf --as-html still launches Puppeteer/Chromium under the hood, but this step was missing the --no-sandbox/--disable-setuid-sandbox launch options already used by the PDF step. On GitHub Actions runners (no usable user namespace sandbox), Chromium crashed with 'No usable sandbox', breaking the CI run on push to main.
…x-flag fix: pass Chromium sandbox flags to the HTML render step
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.
Description of Change
Section modified: Release merge —
develop→main, restoring.github/workflows/generate-pdf.ymlMotivation: The push of PR #72 (
develop→main) broke theGenerate PDF from READMEworkflow onmain: the new "Render full HTML for Word conversion" step launches Chromium viamd-to-pdf --as-htmlwithout the--no-sandbox --disable-setuid-sandboxflags, which GitHub Actions runners require. PR #73 fixed this ondevelop; this PR ships that fix tomainso the pipeline runs green again on the next push.Included:
bugfix/word-html-render-sandbox-flag— adds the missing Chromium launch options to the HTML render stepType of Change
Checklist Before Requesting Review
develop(notmain) — N/A, this PR isdevelop→mainby design (hotfix release)feature/*orbugfix/*— N/A, source branch isdevelopfeat:,fix:,docs:, etc.)CHANGELOG.mdhas been updated with the change madeassets/subfolder — N/A.pdf,.docx,.html)Screenshots or Evidence (optional)
Failing run on
main: workflowGenerate PDF from README, run29069830937(ChromiumFATAL: No usable sandbox!). Fix verified locally and merged todevelopvia #73.Suggested Reviewers
@jhosepmyr