fs: extend signal option to lstat, fstat and promises API - #63143
Open
mertcanaltin wants to merge 10 commits into
Open
fs: extend signal option to lstat, fstat and promises API#63143mertcanaltin wants to merge 10 commits into
mertcanaltin wants to merge 10 commits into
Conversation
mertcanaltin
force-pushed
the
mert/fs-stat-parity
branch
from
May 6, 2026 05:18
b700b01 to
face7e9
Compare
mertcanaltin
force-pushed
the
mert/fs-stat-parity
branch
from
May 7, 2026 19:42
face7e9 to
d310519
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #63143 +/- ##
==========================================
- Coverage 92.07% 90.32% -1.75%
==========================================
Files 399 751 +352
Lines 177007 249847 +72840
Branches 27381 47199 +19818
==========================================
+ Hits 162978 225686 +62708
- Misses 13716 15549 +1833
- Partials 313 8612 +8299
🚀 New features to boost your workflow:
|
atlowChemi
reviewed
May 24, 2026
atlowChemi
reviewed
May 24, 2026
atlowChemi
approved these changes
May 24, 2026
jasnell
reviewed
May 25, 2026
Signed-off-by: Mert Can Altin <mertgold60@gmail.com>
Signed-off-by: Mert Can Altin <mertgold60@gmail.com>
Co-authored-by: Chemi Atlow <chemi@atlow.co.il>
Co-authored-by: Chemi Atlow <chemi@atlow.co.il>
Co-authored-by: Chemi Atlow <chemi@atlow.co.il>
Co-authored-by: Chemi Atlow <chemi@atlow.co.il>
Co-authored-by: Chemi Atlow <chemi@atlow.co.il>
Add validateObject before reading options.signal in the promises stat, lstat and fstat, matching the rest of the module. Import the PromiseWithResolvers primordial and drop the now-unused kResistStopPropagation left over from the raceWithSignal rewrite.
Co-authored-by: James M Snell <jasnell@gmail.com>
mertcanaltin
force-pushed
the
mert/fs-stat-parity
branch
from
August 13, 2026 20:17
b5c6e56 to
86d82f3
Compare
Member
Author
|
I solved conflict. |
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.
Stacked on top of #63142. Adds AbortSignal support to
fs.lstat,fs.fstat,fsPromises.stat,fsPromises.lstat,fsPromises.fstatandfilehandle.statto matchfs.stat. Addresses @LiviaMedeiros's parity request from #57775.Will rebase once #63142 lands.
Refs: #57775