fs: extend signal option to lstat, fstat and promises API by mertcanaltin · Pull Request #63143 · nodejs/node · GitHub
Skip to content

fs: extend signal option to lstat, fstat and promises API - #63143

Merged
nodejs-github-bot merged 10 commits into
nodejs:mainfrom
mertcanaltin:mert/fs-stat-parity
Aug 23, 2026
Merged

fs: extend signal option to lstat, fstat and promises API#63143
nodejs-github-bot merged 10 commits into
nodejs:mainfrom
mertcanaltin:mert/fs-stat-parity

Conversation

@mertcanaltin

Copy link
Copy Markdown
Member

Stacked on top of #63142. Adds AbortSignal support to fs.lstat, fs.fstat, fsPromises.stat, fsPromises.lstat, fsPromises.fstat and filehandle.stat to match fs.stat. Addresses @LiviaMedeiros's parity request from #57775.

Will rebase once #63142 lands.

Refs: #57775

@nodejs-github-bot nodejs-github-bot added fs Issues and PRs related to file-system APIs and the fs module. needs-ci PRs that need a full CI run. labels May 6, 2026
@mertcanaltin
mertcanaltin force-pushed the mert/fs-stat-parity branch from b700b01 to face7e9 Compare May 6, 2026 05:18
@mertcanaltin
mertcanaltin force-pushed the mert/fs-stat-parity branch from face7e9 to d310519 Compare May 7, 2026 19:42
@codecov

codecov Bot commented May 7, 2026

Copy link
Copy Markdown

Comment thread doc/api/fs.md Outdated
Comment thread doc/api/fs.md Outdated
Comment thread doc/api/fs.md Outdated
Comment thread doc/api/fs.md Outdated
Comment thread lib/internal/fs/promises.js
Comment thread lib/internal/fs/promises.js
Comment thread lib/internal/fs/promises.js
Comment thread lib/internal/fs/promises.js
@mertcanaltin
mertcanaltin requested a review from atlowChemi May 24, 2026 18:00
Comment thread lib/internal/fs/promises.js Outdated
@mertcanaltin
mertcanaltin requested a review from jasnell May 25, 2026 15:32
mertcanaltin and others added 10 commits August 13, 2026 23:12
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

Copy link
Copy Markdown
Member Author

I solved conflict.

@MikeMcC399 MikeMcC399 added request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. and removed request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. labels Aug 20, 2026
@MikeMcC399

MikeMcC399 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Will rebase once #63142 lands.

#63142 is still open.

Edit: A new review (approval) is also required before Jenkins CI can be run. resolved

@MikeMcC399 MikeMcC399 added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Aug 20, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Aug 20, 2026
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@MikeMcC399 MikeMcC399 added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Aug 22, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Aug 22, 2026
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@atlowChemi atlowChemi added commit-queue PRs queued for automated landing through the Commit Queue. commit-queue-squash PRs the Commit Queue should land as one squashed commit. labels Aug 23, 2026
@nodejs-github-bot
nodejs-github-bot merged commit 00c80a8 into nodejs:main Aug 23, 2026
85 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Aug 23, 2026
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
Signed-off-by: Mert Can Altin <mertgold60@gmail.com>
PR-URL: #63143
Refs: #57775
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: James M Snell <jasnell@gmail.com>
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
Signed-off-by: Mert Can Altin <mertgold60@gmail.com>
PR-URL: #63143
Refs: #57775
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue-squash PRs the Commit Queue should land as one squashed commit. fs Issues and PRs related to file-system APIs and the fs module. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants