Skip to content

lib: add --allow-fs-vfs to permission available flags - #66554

Open
RafaelGSS wants to merge 1 commit into
nodejs:mainfrom
RafaelGSS:add-allow-fs-vfs-to-permission-available-flags
Open

RafaelGSS wants to merge 1 commit into
nodejs:mainfrom
RafaelGSS:add-allow-fs-vfs-to-permission-available-flags

Conversation

@RafaelGSS

@RafaelGSS RafaelGSS commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

PTAL @mcollina

This is a "breaking change", but it's a bug fix and considering --allow-fs-vfs is experimental, I wouldn't consider it as semver-major.

Without it, --allow-fs-vfs was accepted without --permission and was not
propagated to child processes like the other --allow-* flags.

Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/security-wg

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. permission Issues and PRs related to the Permission Model. labels Oct 6, 2026
@RafaelGSS
RafaelGSS requested a review from mcollina October 6, 2026 09:38
@RafaelGSS
RafaelGSS marked this pull request as ready for review October 6, 2026 09:38
@codecov

codecov Bot commented Oct 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.41%. Comparing base (fcfb7ec) to head (77f7331).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #66554   +/-   ##
=======================================
  Coverage   90.40%   90.41%           
=======================================
  Files         791      791           
  Lines      276226   276227    +1     
  Branches    53045    53036    -9     
=======================================
+ Hits       249732   249742   +10     
  Misses      16899    16899           
+ Partials     9595     9586    -9     
Files with missing lines Coverage Δ
lib/internal/process/permission.js 92.55% <100.00%> (+0.08%) ⬆️

... and 31 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. permission Issues and PRs related to the Permission Model.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants