Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(fs): use async recursion in opendir to avoid blocking#61071

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
shash-hq wants to merge1 commit intonodejs:main
base:main
Choose a base branch
Loading
fromshash-hq:fix/fs-opendir-recursive-block

Conversation

@shash-hq
Copy link

Refactors internal Dir class to use asynchronous recursion when handling recursive opendir calls. Previously, synchronous opendir calls were used within the async iterator, causing event loop blocking and potential issues with small bufferSizes.

@nodejs-github-botnodejs-github-bot added fsIssues and PRs related to the fs subsystem / file system. needs-ciPRs that need a full CI run. labelsDec 15, 2025
@codecov
Copy link

codecovbot commentedDec 16, 2025
edited
Loading

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.53%. Comparing base (4f24aff) to head (e4be536).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@##             main   #61071   +/-   ##=======================================  Coverage   88.53%   88.53%           =======================================  Files         703      703             Lines      208546   208576   +30       Branches    40217    40235   +18     =======================================+ Hits       184634   184662   +28+ Misses      15926    15924    -2- Partials     7986     7990    +4
Files with missing linesCoverage Δ
lib/internal/fs/dir.js94.98% <100.00%> (+0.40%)⬆️

... and36 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 freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

fsIssues and PRs related to the fs subsystem / file system.needs-ciPRs that need a full CI run.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@shash-hq@nodejs-github-bot

[8]ページ先頭

©2009-2025 Movatter.jp