René's URL Explorer Experiment


Title: fs: fix FileHandle close listener/ref leak in streams by rasadregmi · Pull Request #66080 · nodejs/node · GitHub

Open Graph Title: fs: fix FileHandle close listener/ref leak in streams by rasadregmi · Pull Request #66080 · nodejs/node

X Title: fs: fix FileHandle close listener/ref leak in streams by rasadregmi · Pull Request #66080 · nodejs/node

Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.

Open Graph Description: Summary fileHandle.createReadStream()/createWriteStream() with autoClose: false leaks a 'close' listener (and an internal reference) on the FileHandle every time the stream finishes on its ...

X Description: Summary fileHandle.createReadStream()/createWriteStream() with autoClose: false leaks a 'close' listener (and an internal reference) on the FileHandle every time the stream finishes...

Opengraph URL: https://github.com/nodejs/node/pull/66080

X: @github

direct link

Domain: redirect.github.com

IPv4 address: 140.82.112.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:55440176-25e8-ef3d-8b9d-43e5078b4a28
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8AAA:18D8CC:22A601:2BDBF0:6B037D23
html-safe-nonce8a4ee1fcc0233e7daad5e4dab5bd14fd6b7b2e2bfb272a99bb548a29adea7ad5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUFBOjE4RDhDQzoyMkE2MDE6MkJEQkYwOjZCMDM3RDIzIiwidmlzaXRvcl9pZCI6IjU1OTc2NTA3MDg1MzYxOTYzODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6919d59e3ee0a4e59a47eb3a695292364364c7affb122ab663a89929d2277615
hovercard-subject-tagpull_request:4556877964
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/66080/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f756c9989a21dbfe2df7a0d4e69c054ec483327920b074c1c098b1b4d2cf87e4/nodejs/node/pull/66080
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f756c9989a21dbfe2df7a0d4e69c054ec483327920b074c1c098b1b4d2cf87e4/nodejs/node/pull/66080
og:image:altSummary fileHandle.createReadStream()/createWriteStream() with autoClose: false leaks a 'close' listener (and an internal reference) on the FileHandle every time the stream finishes on its ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerasadregmi
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://redirect.github.com/nodejs/node/pull/66080#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F66080
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F66080
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://redirect.github.com/nodejs/node/pull/66080
Reloadhttps://redirect.github.com/nodejs/node/pull/66080
Reloadhttps://redirect.github.com/nodejs/node/pull/66080
nodejshttps://redirect.github.com/nodejs
nodehttps://redirect.github.com/nodejs/node
Codehttps://redirect.github.com/nodejs/node
Issues639 (639)https://redirect.github.com/nodejs/node/issues
Pull requests670 (670)https://redirect.github.com/nodejs/node/pulls
Actionshttps://redirect.github.com/nodejs/node/actions
Projectshttps://redirect.github.com/nodejs/node/projects
Security and qualityhttps://redirect.github.com/nodejs/node/security
Insightshttps://redirect.github.com/nodejs/node/insights
https://redirect.github.com/nodejs/node
rasadregmihttps://redirect.github.com/rasadregmi
nodejs:mainhttps://redirect.github.com/nodejs/node/tree/main
rasadregmi:fix-filehandle-stream-close-listener-leakhttps://redirect.github.com/rasadregmi/node/tree/fix-filehandle-stream-close-listener-leak
Conversationhttps://redirect.github.com/nodejs/node/pull/66080
Commits1 (1)https://redirect.github.com/nodejs/node/pull/66080/commits
Checkshttps://redirect.github.com/nodejs/node/pull/66080/checks
Files changedhttps://redirect.github.com/nodejs/node/pull/66080/files
fs: fix FileHandle close listener/ref leak in streamshttps://redirect.github.com/nodejs/node/pull/66080#top
rasadregmihttps://redirect.github.com/rasadregmi
nodejs:mainhttps://redirect.github.com/nodejs/node/tree/main
rasadregmi:fix-filehandle-stream-close-listener-leakhttps://redirect.github.com/rasadregmi/node/tree/fix-filehandle-stream-close-listener-leak
https://redirect.github.com/rasadregmi
rasadregmihttps://redirect.github.com/rasadregmi
Sep 17, 2026https://redirect.github.com/nodejs/node/pull/66080#issue-5485549430
#64227https://github.com/nodejs/node/pull/64227
#65387https://github.com/nodejs/node/pull/65387
#64214https://github.com/nodejs/node/issues/64214
Please reload this pagehttps://redirect.github.com/nodejs/node/pull/66080
https://redirect.github.com/nodejs-github-bot
nodejs-github-bothttps://redirect.github.com/nodejs-github-bot
fs https://redirect.github.com/nodejs/node/issues?q=state%3Aopen%20label%3Afs
needs-ci https://redirect.github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
Sep 17, 2026https://redirect.github.com/nodejs/node/pull/66080#event-31308527856
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Sep 17, 2026https://redirect.github.com/nodejs/node/pull/66080#issuecomment-5712166747
guide for first-time contributorshttps://github.com/nodejs/node/blob/HEAD/doc/contributing/first-contributions.md
contribution and automation policieshttps://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md
pull request guidehttps://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md
AI use policyhttps://github.com/nodejs/node/blob/HEAD/doc/contributing/ai-guidelines.md
Code of Conducthttps://github.com/nodejs/admin/blob/HEAD/CODE_OF_CONDUCT.md
signed offhttps://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#step-4-commit
Please reload this pagehttps://redirect.github.com/nodejs/node/pull/66080
https://redirect.github.com/rasadregmi
fs: fix FileHandle close listener/ref leak in streamshttps://redirect.github.com/nodejs/node/pull/66080/commits/456d8c4e25fd0dbb10edf3269406118d5a9a2e58
456d8c4https://redirect.github.com/nodejs/node/pull/66080/commits/456d8c4e25fd0dbb10edf3269406118d5a9a2e58
nodejs#64214https://github.com/nodejs/node/issues/64214
nodejs#64227https://github.com/nodejs/node/pull/64227
nodejs#65387https://github.com/nodejs/node/pull/65387
nodejs#64229https://github.com/nodejs/node/pull/64229
https://redirect.github.com/rasadregmi
rasadregmihttps://redirect.github.com/rasadregmi
force-pushedhttps://redirect.github.com/nodejs/node/compare/5397a5b5a3d93b9bde7c26eaf107226d2ff14cb9..456d8c4e25fd0dbb10edf3269406118d5a9a2e58
5397a5bhttps://redirect.github.com/nodejs/node/commit/5397a5b5a3d93b9bde7c26eaf107226d2ff14cb9
456d8c4https://redirect.github.com/nodejs/node/commit/456d8c4e25fd0dbb10edf3269406118d5a9a2e58
Compare https://redirect.github.com/nodejs/node/compare/5397a5b5a3d93b9bde7c26eaf107226d2ff14cb9..456d8c4e25fd0dbb10edf3269406118d5a9a2e58
September 17, 2026 09:37https://redirect.github.com/nodejs/node/pull/66080#event-31308793437
https://redirect.github.com/apps/codecov
codecovhttps://redirect.github.com/apps/codecov
Oct 3, 2026https://redirect.github.com/nodejs/node/pull/66080#issuecomment-5970780112
Please reload this pagehttps://redirect.github.com/nodejs/node/pull/66080
Codecovhttps://app.codecov.io/gh/nodejs/node/pull/66080?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
67e66b8https://app.codecov.io/gh/nodejs/node/commit/67e66b8e054a842a68fa3d1ea71709953141172a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
456d8c4https://app.codecov.io/gh/nodejs/node/commit/456d8c4e25fd0dbb10edf3269406118d5a9a2e58?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
Files with missing lineshttps://app.codecov.io/gh/nodejs/node/pull/66080?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
lib/internal/fs/streams.jshttps://app.codecov.io/gh/nodejs/node/pull/66080?src=pr&el=tree&filepath=lib%2Finternal%2Ffs%2Fstreams.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-bGliL2ludGVybmFsL2ZzL3N0cmVhbXMuanM=
37 files with indirect coverage changeshttps://app.codecov.io/gh/nodejs/node/pull/66080/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
Test Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://redirect.github.com/nodejs/node/pull/66080
https://redirect.github.com/robobun
robobunhttps://redirect.github.com/robobun
Oct 15, 2026 https://redirect.github.com/nodejs/node/pull/66080#ref-pullrequest-5858033162
node:fs: release the FileHandle ref and 'close' listener when a stream constructor throws oven-sh/bun#45288 https://redirect.github.com/oven-sh/bun/pull/45288
https://github.co/hiddenchars
https://redirect.github.com/nodejs/node/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F66080
Please reload this pagehttps://redirect.github.com/nodejs/node/pull/66080
fs https://redirect.github.com/nodejs/node/issues?q=state%3Aopen%20label%3Afs
needs-ci https://redirect.github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
Close listener leak in fs/promises createReadStream https://github.com/nodejs/node/issues/64214
Please reload this pagehttps://redirect.github.com/nodejs/node/pull/66080
https://redirect.github.com/rasadregmi
https://redirect.github.com/nodejs-github-bot
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.