René's URL Explorer Experiment


Title: worker: fix TOCTOU race in CWD caching by mcollina · Pull Request #61725 · nodejs/node · GitHub

Open Graph Title: worker: fix TOCTOU race in CWD caching by mcollina · Pull Request #61725 · nodejs/node

X Title: worker: fix TOCTOU race in CWD caching by mcollina · Pull Request #61725 · nodejs/node

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

Open Graph Description: The atomic counter used to signal CWD changes to worker threads was being incremented before chdir() completed, creating a race window where workers could cache stale directory paths with the new c...

X Description: The atomic counter used to signal CWD changes to worker threads was being incremented before chdir() completed, creating a race window where workers could cache stale directory paths with the new c...

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

X: @github

direct link

Domain: github.com

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:c6fe3309-8bc8-ab58-2b86-bc7bc56051c6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idED4E:10263B:77DF48:A25BB1:6A4DD669
html-safe-nonce4d51d9216774048cbff1ef5a6eb64142bc810789048a4332b6742a194e29c620
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDRFOjEwMjYzQjo3N0RGNDg6QTI1QkIxOjZBNERENjY5IiwidmlzaXRvcl9pZCI6Ijk5MDE0NjUzNjU0NDI2MTczNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf631f5a30366126a2d626f169c620b45f1e2b0ca57dc47f6ab24017ba242c9c8
hovercard-subject-tagpull_request:3258755366
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/61725/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3a20d926eb6ea804bdec4d945d562e3dd1004a525df1196c24b4456d5124d297/nodejs/node/pull/61725
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3a20d926eb6ea804bdec4d945d562e3dd1004a525df1196c24b4456d5124d297/nodejs/node/pull/61725
og:image:altThe atomic counter used to signal CWD changes to worker threads was being incremented before chdir() completed, creating a race window where workers could cache stale directory paths with the new c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemcollina
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
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
release1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/61725#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F61725
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F61725
Sign up https://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://github.com/nodejs/node/pull/61725
Reloadhttps://github.com/nodejs/node/pull/61725
Reloadhttps://github.com/nodejs/node/pull/61725
Please reload this pagehttps://github.com/nodejs/node/pull/61725
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/61725
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.3k https://github.com/nodejs/node/issues
Pull requests 963 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
mcollinahttps://github.com/mcollina
nodejs:mainhttps://github.com/nodejs/node/tree/main
mcollina:fix/worker-cwd-cache-toctouhttps://github.com/mcollina/node/tree/fix/worker-cwd-cache-toctou
Conversationhttps://github.com/nodejs/node/pull/61725
Commits1 (1)https://github.com/nodejs/node/pull/61725/commits
Checkshttps://github.com/nodejs/node/pull/61725/checks
Files changedhttps://github.com/nodejs/node/pull/61725/files
worker: fix TOCTOU race in CWD cachinghttps://github.com/nodejs/node/pull/61725#top
mcollinahttps://github.com/mcollina
nodejs:mainhttps://github.com/nodejs/node/tree/main
mcollina:fix/worker-cwd-cache-toctouhttps://github.com/mcollina/node/tree/fix/worker-cwd-cache-toctou
https://github.com/mcollina
mcollinahttps://github.com/mcollina
Feb 7, 2026https://github.com/nodejs/node/pull/61725#issue-3911510094
Please reload this pagehttps://github.com/nodejs/node/pull/61725
https://github.com/mcollina
worker: fix TOCTOU race in CWD cachinghttps://github.com/nodejs/node/pull/61725/commits/4b045af249d0a0cb306976ce57ee883017473938
4b045afhttps://github.com/nodejs/node/pull/61725/commits/4b045af249d0a0cb306976ce57ee883017473938
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
worker https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aworker
Feb 7, 2026https://github.com/nodejs/node/pull/61725#event-22616252380
https://github.com/mcollina
mcollinahttps://github.com/mcollina
Feb 7, 2026https://github.com/nodejs/node/pull/61725#issuecomment-3865714554
Please reload this pagehttps://github.com/nodejs/node/pull/61725
https://github.com/mcollina
mcollinahttps://github.com/mcollina
lts-watch-v20.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Alts-watch-v20.x
lts-watch-v22.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Alts-watch-v22.x
lts-watch-v24.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Alts-watch-v24.x
Feb 7, 2026https://github.com/nodejs/node/pull/61725#event-22616263562
https://github.com/aduh95
aduh95https://github.com/aduh95
Feb 7, 2026 https://github.com/nodejs/node/pull/61725#pullrequestreview-3768379604
View reviewed changes https://github.com/nodejs/node/pull/61725/files/4b045af249d0a0cb306976ce57ee883017473938
https://github.com/Renegade334
Renegade334https://github.com/Renegade334
Feb 7, 2026https://github.com/nodejs/node/pull/61725#issuecomment-3865719878
#61664https://github.com/nodejs/node/pull/61664
Please reload this pagehttps://github.com/nodejs/node/pull/61725
https://github.com/anonrig
anonrighttps://github.com/anonrig
Feb 7, 2026 https://github.com/nodejs/node/pull/61725#pullrequestreview-3768394301
View reviewed changes https://github.com/nodejs/node/pull/61725/files/4b045af249d0a0cb306976ce57ee883017473938
anonrighttps://github.com/anonrig
https://github.com/nodejs/node/pull/61725#pullrequestreview-3768394301
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/61725
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Feb 8, 2026https://github.com/nodejs/node/pull/61725#issuecomment-3865802789
Please reload this pagehttps://github.com/nodejs/node/pull/61725
Codecovhttps://app.codecov.io/gh/nodejs/node/pull/61725?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
81e05e1https://app.codecov.io/gh/nodejs/node/commit/81e05e124f71b3050cd4e60c95017af975568413?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
4b045afhttps://app.codecov.io/gh/nodejs/node/commit/4b045af249d0a0cb306976ce57ee883017473938?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/61725?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
lib/internal/worker.jshttps://app.codecov.io/gh/nodejs/node/pull/61725?src=pr&el=tree&filepath=lib%2Finternal%2Fworker.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-bGliL2ludGVybmFsL3dvcmtlci5qcw==
199 files with indirect coverage changeshttps://app.codecov.io/gh/nodejs/node/pull/61725/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://github.com/nodejs/node/pull/61725
https://github.com/jasnell
jasnellhttps://github.com/jasnell
Feb 8, 2026 https://github.com/nodejs/node/pull/61725#pullrequestreview-3768675453
View reviewed changes https://github.com/nodejs/node/pull/61725/files/4b045af249d0a0cb306976ce57ee883017473938
https://github.com/mcollina
mcollinahttps://github.com/mcollina
Feb 8, 2026https://github.com/nodejs/node/pull/61725#event-22620682755
https://github.com/mcollina
mcollinahttps://github.com/mcollina
February 8, 2026 08:52https://github.com/nodejs/node/pull/61725#event-22620683139
https://github.com/aduh95
aduh95https://github.com/aduh95
lts-watch-v24.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Alts-watch-v24.x
Feb 22, 2026https://github.com/nodejs/node/pull/61725#event-22986517325
https://github.com/richardlau
richardlauhttps://github.com/richardlau
lts-watch-v20.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Alts-watch-v20.x
lts-watch-v22.x https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Alts-watch-v22.x
Feb 24, 2026https://github.com/nodejs/node/pull/61725#event-23033778710
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F61725
https://github.com/jasnell
jasnell https://github.com/jasnell
https://github.com/nodejs/node/pull/61725/files/4b045af249d0a0cb306976ce57ee883017473938
https://github.com/anonrig
anonrig https://github.com/anonrig
https://github.com/nodejs/node/pull/61725/files/4b045af249d0a0cb306976ce57ee883017473938
https://github.com/aduh95
aduh95 https://github.com/aduh95
https://github.com/nodejs/node/pull/61725/files/4b045af249d0a0cb306976ce57ee883017473938
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
worker https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aworker
Please reload this pagehttps://github.com/nodejs/node/pull/61725
https://github.com/mcollina
https://github.com/Renegade334
https://github.com/jasnell
https://github.com/anonrig
https://github.com/aduh95
https://github.com/richardlau
https://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

Viewport: width=device-width


URLs of crawlers that visited me.