Skip to content

RDoc-4025, RDoc-4027 Fix vulnerable dependencies and flaky build - #2574

Merged
poissoncorp merged 2 commits into
ravendb:mainfrom
poissoncorp:RDoc-4025-fix-vulnerable-dependencies
Jul 27, 2026
Merged

RDoc-4025, RDoc-4027 Fix vulnerable dependencies and flaky build#2574
poissoncorp merged 2 commits into
ravendb:mainfrom
poissoncorp:RDoc-4025-fix-vulnerable-dependencies

Conversation

@poissoncorp

@poissoncorp poissoncorp commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Issue link

Additional description

Two independent changes:

RDoc-4025 - declare direct dependencies used by the build plugins.
The recent-guides / recent-samples plugins import js-yaml and image-size directly, but neither was declared in package.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.readFile calls and can exceed Windows' open-file limit, failing intermittently with EMFILE: too many open files. scripts/limit-docusaurus-file-reads.cjs caps the number of in-flight promise-based reads (Windows only; other platforms and callback-style reads are untouched) and replaces the previous scripts/patch-fs.cjs. Covered by a unit test.

Type of change

  • Content - docs
  • Content - cloud
  • Content - guides
  • Content - start pages/other
  • New docs feature (consider updating /templates or readme)
  • Bug fix
  • Optimization
  • Other

Changes in docs URLs

  • No changes in docs URLs
  • Articles are restructured, URLs will change, mapping is required (update /scripts/redirects.json file, set Documents Moved PR label)

Changes in UX/UI

  • No changes in UX/UI
  • Changes in UX/UI (include screenshots and description)

@poissoncorp poissoncorp changed the title RDoc-4025 Fix vulnerable dependencies RDoc-4025, RDoc-4027 Fix vulnerable dependencies and flaky build Jul 23, 2026
@poissoncorp
poissoncorp requested a review from Lwiel July 23, 2026 10:42
@poissoncorp
poissoncorp force-pushed the RDoc-4025-fix-vulnerable-dependencies branch 3 times, most recently from 5f207fb to a703609 Compare July 23, 2026 11:04
@poissoncorp
poissoncorp force-pushed the RDoc-4025-fix-vulnerable-dependencies branch from fb101aa to 74d8b12 Compare July 27, 2026 16:28
@poissoncorp
poissoncorp merged commit f0a1716 into ravendb:main Jul 27, 2026
1 check passed
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.

3 participants