[Feature] Test Quarto PDF rendering in a Workbench session
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
Start by reading the existing Workbench session tests and how VIP launches a normal user session; the issue does not name specific files or tests. Add a check that renders a small Quarto document with format: pdf and pdf-engine: lualatex using the user's normal home and TeX settings. Done means a nonempty PDF is created, failures retain logs, test files and the session are cleaned up, and the test fails on an affected image but passes on a fixed one in a fresh rendering environment.
Written by the indexing model from the issue text.
Description
Verify that a Workbench user can render a Quarto document to PDF. Split from #801, which covered Connect and Workbench together.
Problem
TinyTeX can be installed in a root-owned directory that other users can't write to. LuaLaTeX then can't create its font cache, and PDF rendering fails.
VIP doesn't render anything to PDF in a Workbench session today, so it doesn't catch this.
Proposed solution
In a normal user session, render a small Quarto document with format: pdf and pdf-engine: lualatex. Check that rendering succeeds and creates a nonempty PDF.
- Use the user's normal home directory and TeX settings. Don't add cache settings that could hide the bug.
- Keep the render logs if the test fails, and clean up the test files and the session.
- Confirm the test fails on an affected image and passes on a fixed one, using a fresh rendering environment.
Image-level goss tests can catch this during image builds; this test checks that rendering works through the deployed product.
Related: posit-dev/images-shared#855
- Dominant language
- Python
- Stars
- 9
- Forks
- 1
- Avg merge
- 15h 31m
- Merged PRs (30d)
- 44
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/vip
-
bug team: connect team: package manager
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
posit-dev/vip#875 · 2 comments ·
Maintainers usually reply within 1 day
-
team: workbench
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
nightly-failure
Difficulty 4/5 1-2 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
nightly-failure
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
Similar issues
-
jira: an unquoted JQL number of more than 4300 digits is a plain-text 500, where real answers 200Openfidelity
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
A JSON chat answer blocks the backend event loop for the whole RAG runPossibly taken @NopeCharon claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Maintainers usually reply within 1 day
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day