Skip to content

[v24.x backport] fs: stop recursive mkdir from retrying ENOENT forever - #66927

Open
junaidkhan80121 wants to merge 1 commit into
nodejs:v24.x-stagingfrom
junaidkhan80121:backport-66340-to-v24.x
Open

junaidkhan80121 wants to merge 1 commit into
nodejs:v24.x-stagingfrom
junaidkhan80121:backport-66340-to-v24.x

Conversation

@junaidkhan80121

Copy link
Copy Markdown

Summary

Test plan

  • python3 tools/test.py parallel/test-fs-mkdir-recursive-enoent parallel/test-heapdump-fs-mkdir-recursive
  • Manual: fs.mkdirSync('/proc/nope/deeper', { recursive: true }) → ENOENT (no hang)

Refs: #66340
Fixes: #66890

Backport of nodejs#66340 to v24.x-staging.
Also covers nested procfs paths from nodejs#66890.

Fixes: nodejs#66268
Fixes: nodejs#66890
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. fs Issues and PRs related to file-system APIs and the fs module. needs-ci PRs that need a full CI run. v24.x Issues that can be reproduced on v24.x or PRs targeting the v24.x-staging branch. labels Oct 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Welcome to Node.js, and thank you for your first contribution!

Before review, please take a moment to read:

Please make sure every commit is signed off. For a first pull request, GitHub Actions require collaborator approval and Jenkins CI must be started by a collaborator or triager, so an initial wait is normal.

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

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. fs Issues and PRs related to file-system APIs and the fs module. needs-ci PRs that need a full CI run. v24.x Issues that can be reproduced on v24.x or PRs targeting the v24.x-staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants