René's URL Explorer Experiment


Title: test: prefer `common/tmpdir` over `os.tmpdir()` by LiviaMedeiros · Pull Request #67567 · nodejs/node · GitHub

Open Graph Title: test: prefer `common/tmpdir` over `os.tmpdir()` by LiviaMedeiros · Pull Request #67567 · nodejs/node

X Title: test: prefer `common/tmpdir` over `os.tmpdir()` by LiviaMedeiros · Pull Request #67567 · nodejs/node

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

Open Graph Description: We should avoid using OS's tmpdir in tests when possible. This PR: adds Temporary files part to the writing tests guide, making common/tmpdir more visible and explicitly recommended adds and a...

X Description: We should avoid using OS's tmpdir in tests when possible. This PR: adds Temporary files part to the writing tests guide, making common/tmpdir more visible and explicitly recommended adds a...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.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:75619762-6ca6-c821-e3cc-eaedbf078974
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD512:83634:4454BB:5B4C33:6B061D65
html-safe-noncec82cf6355e790cd65890ebada7159d9160dff38e180d24b19f814365ba646c5c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTEyOjgzNjM0OjQ0NTRCQjo1QjRDMzM6NkIwNjFENjUiLCJ2aXNpdG9yX2lkIjoiMjg0ODkwNzU3OTM4MjcwMTQxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3c466dad6bd9ba06793361a8c7370ff64dfc1ddef0867e3b319d1c5d0c22065d
hovercard-subject-tagpull_request:5370412799
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/67567/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4423f7a75055246877e63dff595b1909c7ca024a151e9e05684c1bee41c4f11c/nodejs/node/pull/67567
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4423f7a75055246877e63dff595b1909c7ca024a151e9e05684c1bee41c4f11c/nodejs/node/pull/67567
og:image:altWe should avoid using OS's tmpdir in tests when possible. This PR: adds Temporary files part to the writing tests guide, making common/tmpdir more visible and explicitly recommended adds and a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLiviaMedeiros
hostnamegithub.com
expected-hostnamegithub.com
None9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d
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
releaseb25c3080e84402f75431d8dc7a96b2635219cec7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/nodejs/node/pull/67567#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F67567
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F67567
Sign uphttps://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/67567
Reloadhttps://github.com/nodejs/node/pull/67567
Reloadhttps://github.com/nodejs/node/pull/67567
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues630 (630)https://github.com/nodejs/node/issues
Pull requests660 (660)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/insights
https://github.com/nodejs/node
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
LiviaMedeiros:test-please-no-ostmpdirhttps://github.com/LiviaMedeiros/node/tree/test-please-no-ostmpdir
Conversationhttps://github.com/nodejs/node/pull/67567
Commits3 (3)https://github.com/nodejs/node/pull/67567/commits
Checkshttps://github.com/nodejs/node/pull/67567/checks
Files changedhttps://github.com/nodejs/node/pull/67567/files
test: prefer common/tmpdir over os.tmpdir()https://github.com/nodejs/node/pull/67567#top
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
LiviaMedeiros:test-please-no-ostmpdirhttps://github.com/LiviaMedeiros/node/tree/test-please-no-ostmpdir
https://github.com/LiviaMedeiros
LiviaMedeiroshttps://github.com/LiviaMedeiros
Nov 18, 2026https://github.com/nodejs/node/pull/67567#issue-6460577548
Please reload this pagehttps://github.com/nodejs/node/pull/67567
https://github.com/LiviaMedeiros
test: restrict os.tmpdir() in favour of common/tmpdirhttps://github.com/nodejs/node/pull/67567/commits/98a2ac87004962b433b8802aa83d8a7aa5980d86
98a2ac8https://github.com/nodejs/node/pull/67567/commits/98a2ac87004962b433b8802aa83d8a7aa5980d86
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Nov 18, 2026https://github.com/nodejs/node/pull/67567#issuecomment-6969863682
Please reload this pagehttps://github.com/nodejs/node/pull/67567
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
Nov 18, 2026https://github.com/nodejs/node/pull/67567#event-36490272911
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Nov 18, 2026https://github.com/nodejs/node/pull/67567#issuecomment-6971387813
Please reload this pagehttps://github.com/nodejs/node/pull/67567
Codecovhttps://app.codecov.io/gh/nodejs/node/pull/67567?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
3ea9547https://app.codecov.io/gh/nodejs/node/commit/3ea95474bef89fddc6d1980049935d6b96588052?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
db4333fhttps://app.codecov.io/gh/nodejs/node/commit/db4333f0724825bc8ecba2f732c216d173bd98e2?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
see 44 files with indirect coverage changeshttps://app.codecov.io/gh/nodejs/node/pull/67567/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/67567
https://github.com/jasnell
jasnellhttps://github.com/jasnell
Nov 18, 2026 https://github.com/nodejs/node/pull/67567#pullrequestreview-5956347474
View reviewed changes https://github.com/nodejs/node/pull/67567/files/98a2ac87004962b433b8802aa83d8a7aa5980d86
https://github.com/LiviaMedeiros
LiviaMedeiroshttps://github.com/LiviaMedeiros
test https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Atest
request-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arequest-ci
Nov 18, 2026https://github.com/nodejs/node/pull/67567#event-36562052289
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
request-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arequest-ci
Nov 18, 2026https://github.com/nodejs/node/pull/67567#event-36562471570
https://github.com/nodejs-github-bot
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F67567
https://github.com/panva
panvahttps://github.com/panva
Nov 18, 2026 https://github.com/nodejs/node/pull/67567#pullrequestreview-5962478126
View reviewed changes https://github.com/nodejs/node/pull/67567/files/98a2ac87004962b433b8802aa83d8a7aa5980d86
https://github.com/panva
panvahttps://github.com/panva
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
Nov 18, 2026https://github.com/nodejs/node/pull/67567#event-36562620306
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Nov 18, 2026 https://github.com/nodejs/node/pull/67567#pullrequestreview-5962519717
View reviewed changes https://github.com/nodejs/node/pull/67567/files/98a2ac87004962b433b8802aa83d8a7aa5980d86
https://github.com/lpinca
lpincahttps://github.com/lpinca
Nov 18, 2026 https://github.com/nodejs/node/pull/67567#pullrequestreview-5965021636
View reviewed changes https://github.com/nodejs/node/pull/67567/files/98a2ac87004962b433b8802aa83d8a7aa5980d86
doc/contributing/writing-tests.mdhttps://github.com/nodejs/node/pull/67567/files/98a2ac87004962b433b8802aa83d8a7aa5980d86#diff-d9843076449aa70f626c5c0ce1385731920a5adfade1c9ad1fa09292af61abd0
Please reload this pagehttps://github.com/nodejs/node/pull/67567
https://github.com/LiviaMedeiros
https://github.com/lpinca
squash: typohttps://github.com/nodejs/node/pull/67567/commits/45ba671eb485a2684a9eeb51c73ec6504552a215
45ba671https://github.com/nodejs/node/pull/67567/commits/45ba671eb485a2684a9eeb51c73ec6504552a215
https://github.com/LiviaMedeiros
LiviaMedeiroshttps://github.com/LiviaMedeiros
commit-queue-squash https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue-squash
Nov 18, 2026https://github.com/nodejs/node/pull/67567#event-36589186344
https://github.com/nodejs-github-bot
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F67567
https://github.com/LiviaMedeiros
squash: typohttps://github.com/nodejs/node/pull/67567/commits/db4333f0724825bc8ecba2f732c216d173bd98e2
db4333fhttps://github.com/nodejs/node/pull/67567/commits/db4333f0724825bc8ecba2f732c216d173bd98e2
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Nov 19, 2026https://github.com/nodejs/node/pull/67567#issuecomment-6999779292
https://ci.nodejs.org/job/node-test-pull-request/79291/https://ci.nodejs.org/job/node-test-pull-request/79291/
Please reload this pagehttps://github.com/nodejs/node/pull/67567
https://github.com/mcollina
mcollinahttps://github.com/mcollina
Nov 19, 2026 https://github.com/nodejs/node/pull/67567#pullrequestreview-5969779350
View reviewed changes https://github.com/nodejs/node/pull/67567/files/db4333f0724825bc8ecba2f732c216d173bd98e2
mcollinahttps://github.com/mcollina
https://github.com/nodejs/node/pull/67567#pullrequestreview-5969779350
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/67567
https://github.com/LiviaMedeiros
LiviaMedeiroshttps://github.com/LiviaMedeiros
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Nov 19, 2026https://github.com/nodejs/node/pull/67567#event-36618758593
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
0482448https://github.com/nodejs/node/commit/04824484d6f130192cdda82896e7a23f1b6819be
Nov 20, 2026https://github.com/nodejs/node/pull/67567#event-36735452714
Please reload this pagehttps://github.com/nodejs/node/pull/67567
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Nov 20, 2026https://github.com/nodejs/node/pull/67567#issuecomment-7031324504
0482448https://github.com/nodejs/node/commit/04824484d6f130192cdda82896e7a23f1b6819be
Please reload this pagehttps://github.com/nodejs/node/pull/67567
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Nov 20, 2026https://github.com/nodejs/node/pull/67567#event-36735457204
aduh95https://github.com/aduh95
Nov 20, 2026 https://github.com/nodejs/node/pull/67567#ref-commit-c7595cc
https://github.com/LiviaMedeiros
https://github.com/aduh95
test: restrict os.tmpdir() in favour of common/tmpdirhttps://github.com/nodejs/node/commit/c7595ccdfd8c99f88fcde6f2a24e1999b3e276a6
c7595cchttps://github.com/nodejs/node/commit/c7595ccdfd8c99f88fcde6f2a24e1999b3e276a6
#67567https://github.com/nodejs/node/pull/67567
https://github.com/christianaurichzm
christianaurichzmhttps://github.com/christianaurichzm
Nov 20, 2026 https://github.com/nodejs/node/pull/67567#ref-pullrequest-6426291670
fs: fix abort on negative zero write length #67524 https://github.com/nodejs/node/pull/67524
aduh95https://github.com/aduh95
Nov 23, 2026 https://github.com/nodejs/node/pull/67567#ref-commit-636d9c9
https://github.com/LiviaMedeiros
https://github.com/aduh95
test: restrict os.tmpdir() in favour of common/tmpdirhttps://github.com/nodejs/node/commit/636d9c9243621aade5f3fc619bef26c548e918e9
636d9c9https://github.com/nodejs/node/commit/636d9c9243621aade5f3fc619bef26c548e918e9
#67567https://github.com/nodejs/node/pull/67567
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 24, 2026 https://github.com/nodejs/node/pull/67567#ref-pullrequest-6587887603
2026-11-25, Version 27.0.0-alpha.0.2.0 (Alpha) #67757 https://github.com/nodejs/node/pull/67757
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%2F67567
https://github.com/mcollina
mcollina https://github.com/mcollina
https://github.com/nodejs/node/pull/67567/files/db4333f0724825bc8ecba2f732c216d173bd98e2
https://github.com/panva
panva https://github.com/panva
https://github.com/nodejs/node/pull/67567/files/98a2ac87004962b433b8802aa83d8a7aa5980d86
https://github.com/jasnell
jasnell https://github.com/jasnell
https://github.com/nodejs/node/pull/67567/files/98a2ac87004962b433b8802aa83d8a7aa5980d86
https://github.com/lpinca
lpinca https://github.com/lpinca
https://github.com/nodejs/node/pull/67567/files/98a2ac87004962b433b8802aa83d8a7aa5980d86
https://github.com/cjihrig
cjihrig https://github.com/cjihrig
https://github.com/nodejs/node/pull/67567/files/98a2ac87004962b433b8802aa83d8a7aa5980d86
Please reload this pagehttps://github.com/nodejs/node/pull/67567
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
commit-queue-squash https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue-squash
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
test https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Atest
Please reload this pagehttps://github.com/nodejs/node/pull/67567
https://github.com/LiviaMedeiros
https://github.com/nodejs-github-bot
https://github.com/mcollina
https://github.com/panva
https://github.com/jasnell
https://github.com/lpinca
https://github.com/cjihrig
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.