Skip to content

Conversation

@gordonwoodhull
Copy link
Contributor

@gordonwoodhull gordonwoodhull commented Dec 15, 2025

The set of engines is no longer static / initialized at module load time.

Therefore resolveEngines() needs to be called before executionEngines(). 1

This introduces tests for

  • the ignoreDirs of knitr and jupyter engines, which were not being ignored, e.g. causing render of quarto-web to fail
  • automatic inclusion of e.g.404.ipynb and 404.qmd files, which was succeeding but wasn't already tested
  • promotion of e.g. index.ipynb and index.rmd files to section links in the sidebar. Engines were already resolved before this, but the feature was untested and it relies on the engine discovery interface, so here is a test.

Footnotes

  1. Could there be a better design? There probably could, but resolveEngines() needs a project context and executionEngines() does not, so we can't just make the latter dependent on the former.

gordonwoodhull and others added 3 commits December 15, 2025 15:06
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
this data is no longer static
and needs to consider engine extensions as well

website and default project tests

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Dec 15, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@gordonwoodhull gordonwoodhull merged commit 2b08d21 into main Dec 15, 2025
51 checks passed
@gordonwoodhull gordonwoodhull deleted the bugfix/resolve-engines-before-ignore-dirs branch December 15, 2025 23:56
- ([#13633](https://github.com/quarto-dev/quarto-cli/issues/13633)): Fix detection and auto-installation of babel language packages from newer error format that doesn't explicitly mention `.ldf` filename.
- ([#13694](https://github.com/quarto-dev/quarto-cli/issues/13694)): Fix `notebook-view.url` being ignored - external notebook links now properly use specified URLs instead of local preview files.
- ([#13732](https://github.com/quarto-dev/quarto-cli/issues/13732)): Fix automatic font package installation for fonts with spaces in their names (e.g., "Noto Emoji", "DejaVu Sans"). Font file search patterns now match both with and without spaces.
- ([#13798](https://github.com/quarto-dev/quarto-cli/pull/13798)): Directories specified in `ExecutionEngineDiscovery.ignoreDirs` were not getting ignored.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gordonwoodhull I don't think this is the right place for this.

Regression fixes in 1.9 changelog are the bug fix we do in 1.9 AND also in 1.8 to fix a regression that we introduced in 1.8 compared to 1.9.

For regression between a 1.9 pre-release, and another, we don't add changelog. It is in a way expected that a 1.9 pre-release could brok. So this PR is part of the "New engine extensions" item you added a bit lower.

Hope it makes sense.

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.

4 participants