RDoc-4025, RDoc-4027 Fix vulnerable dependencies and flaky build - #2574
Merged
poissoncorp merged 2 commits intoJul 27, 2026
Merged
Conversation
poissoncorp
force-pushed
the
RDoc-4025-fix-vulnerable-dependencies
branch
3 times, most recently
from
July 23, 2026 11:04
5f207fb to
a703609
Compare
gregolsky
approved these changes
Jul 23, 2026
Lwiel
approved these changes
Jul 27, 2026
poissoncorp
force-pushed
the
RDoc-4025-fix-vulnerable-dependencies
branch
from
July 27, 2026 16:28
fb101aa to
74d8b12
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.
Issue link
Additional description
Two independent changes:
RDoc-4025 - declare direct dependencies used by the build plugins.
The
recent-guides/recent-samplesplugins importjs-yamlandimage-sizedirectly, but neither was declared inpackage.json(they resolved only through hoisting). Both are now declared so the build no longer relies on a transitive package staying hoisted. Dependency vulnerability remediation itself is tracked separately under RDoc-4026 (Enable Renovate).RDoc-4027 - fix the flaky production build (Windows
EMFILE).The all-versions build issues a large, unbounded fan-out of concurrent
fs.readFilecalls and can exceed Windows' open-file limit, failing intermittently withEMFILE: too many open files.scripts/limit-docusaurus-file-reads.cjscaps the number of in-flight promise-based reads (Windows only; other platforms and callback-style reads are untouched) and replaces the previousscripts/patch-fs.cjs. Covered by a unit test.Type of change
/templatesor readme)Changes in docs URLs
/scripts/redirects.jsonfile, setDocuments MovedPR label)Changes in UX/UI