You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: The statfs function was implemented for node:fs (callback-based API) in PR #22862 (March 2024), but the corresponding export from node:fs/promises was not added. This breaks npm packages like wuchale that import statfs from the promises API.
Completeness: ✅ This issue is well-documented with:
Recommendation: This should be straightforward to fix since the underlying implementation already exists. The promises export needs to be added alongside the existing callback-based API.
Labels Applied:
bug - Missing API functionality
node compat - Node.js compatibility issue
good first issue - Should be simple to add the promises export
ai:triage - AI-assisted triage
This response was generated by AI and may contain mistakes. If you didn't find it useful, please add a "thumbs down" reaction.
Activity
denobot commentedon Dec 8, 2025
Triage Analysis
Issue Type: Node.js compatibility bug
Summary: The
statfsfunction was implemented fornode:fs(callback-based API) in PR #22862 (March 2024), but the corresponding export fromnode:fs/promiseswas not added. This breaks npm packages likewuchalethat importstatfsfrom the promises API.Completeness: ✅ This issue is well-documented with:
Related Issues:
node:fs#21139 - Original issue about missingstatfsinnode:fs(closed, resolved)node:fstracking issue #29972 -node:fstracking issueRecommendation: This should be straightforward to fix since the underlying implementation already exists. The promises export needs to be added alongside the existing callback-based API.
Labels Applied:
bug- Missing API functionalitynode compat- Node.js compatibility issuegood first issue- Should be simple to add the promises exportai:triage- AI-assisted triageThis response was generated by AI and may contain mistakes. If you didn't find it useful, please add a "thumbs down" reaction.
fix(node): missing `statfs` export from `node:fs/promises` (denoland#…