Skip to content

fs: remove permissions fallback - #65990

Closed
avivkeller wants to merge 1 commit into
nodejs:mainfrom
avivkeller:fs-remove-perms-fallback
Closed

avivkeller wants to merge 1 commit into
nodejs:mainfrom
avivkeller:fs-remove-perms-fallback

Conversation

@avivkeller

Copy link
Copy Markdown
Member

Now that the permissions system is multi-threaded (#65392), we can remove the single-threaded fallback for directory recursion

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs involving general changes in the lib/ or src/ directories. needs-ci PRs that need a full CI run. labels Sep 11, 2026
@codecov

codecov Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.10526% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.61%. Comparing base (f3af49d) to head (6c456f0).
⚠️ Report is 76 commits behind head on main.

Files with missing lines Patch % Lines
src/node_file.cc 91.89% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #65990      +/-   ##
==========================================
+ Coverage   90.58%   90.61%   +0.02%     
==========================================
  Files         802      802              
  Lines      286655   286559      -96     
  Branches    55373    55380       +7     
==========================================
- Hits       259666   259654      -12     
+ Misses      17092    16996      -96     
- Partials     9897     9909      +12     
Files with missing lines Coverage Δ
lib/fs.js 98.12% <100.00%> (+1.01%) ⬆️
lib/internal/fs/promises.js 92.68% <ø> (+0.82%) ⬆️
lib/internal/fs/utils.js 98.04% <ø> (+1.92%) ⬆️
src/node_file.cc 76.86% <91.89%> (+0.11%) ⬆️

... and 28 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.

@avivkeller
avivkeller requested review from RafaelGSS and codebytere and removed request for codebytere September 15, 2026 03:29
@avivkeller

Copy link
Copy Markdown
Member Author

Bump!

@avivkeller

Copy link
Copy Markdown
Member Author

@nodejs/fs

@jazelly jazelly left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@Ethan-Arrowood

Copy link
Copy Markdown
Contributor

@avivkeller can you fix the merge conflicts please?

Signed-off-by: avivkeller <me@aviv.sh>
@avivkeller
avivkeller force-pushed the fs-remove-perms-fallback branch from 33fca90 to 6c456f0 Compare November 30, 2026 18:19
nodejs-github-bot pushed a commit that referenced this pull request Dec 2, 2026
CODEOWNERS was missing an entry for fs code and team so the bot has
not been automatically requesting reviews. This adds the fs sources,
docs, and tests so the team is appropriately pinged.

Refs: #65990
Signed-off-by: Ethan Arrowood <ethan@arrowood.dev>
PR-URL: #67908
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Christian Aurich Zanettini Martins <christian.aurichzm@gmail.com>
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
@avivkeller avivkeller added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Dec 4, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

avivkeller added a commit that referenced this pull request Dec 5, 2026
Signed-off-by: avivkeller <me@aviv.sh>
PR-URL: #65990
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jason Zhang <xzha4350@gmail.com>
@avivkeller

Copy link
Copy Markdown
Member Author

Landed in f9e0031

@avivkeller avivkeller closed this Dec 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs involving general changes in the lib/ or src/ directories. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants