| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:9107bb04-782a-093e-d387-b30321b2fec8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C97C:1B1D69:19D488B:239A795:696AA5F3 |
| html-safe-nonce | 38004e0fe5669317bbdbe5ecc8fd28032a06e477dee66c35a6bd2141397e039b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTdDOjFCMUQ2OToxOUQ0ODhCOjIzOUE3OTU6Njk2QUE1RjMiLCJ2aXNpdG9yX2lkIjoiOTk0MzEzMDAyNjk4ODQzNjM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5c7440872b295bc88f7f3bc3fb70375944002bfc0fc52aa39b813d8feef9a676 |
| hovercard-subject-tag | pull_request:812316412 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/41365/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/bba9b1f9afb76ae88c75433919d7d7a60f1f883b05626a919505cca80f7d58c7/nodejs/node/pull/41365 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bba9b1f9afb76ae88c75433919d7d7a60f1f883b05626a919505cca80f7d58c7/nodejs/node/pull/41365 |
| og:image:alt | Fixes: #41346
Or at least, it's one of the possible approaches. There are two we can do:
Keep current behavior, document as undefined.
Throw an exception and document as such.
v8.writeHeapSna... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kyranet |
| hostname | github.com |
| expected-hostname | github.com |
| None | a51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4bd0eac606c70914085176ef312ebdcd97a8cdf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/nodejs/node/pull/41365#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F41365 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F41365 |
|
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 |
| Reload | https://github.com/nodejs/node/pull/41365 |
| Reload | https://github.com/nodejs/node/pull/41365 |
| Reload | https://github.com/nodejs/node/pull/41365 |
|
nodejs
| https://github.com/nodejs |
| node | https://github.com/nodejs/node |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
|
Notifications
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Fork
34.4k
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Star
115k
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Code
| https://github.com/nodejs/node |
|
Issues
1.7k
| https://github.com/nodejs/node/issues |
|
Pull requests
694
| https://github.com/nodejs/node/pulls |
|
Actions
| https://github.com/nodejs/node/actions |
|
Projects
3
| https://github.com/nodejs/node/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/nodejs/node/security |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
|
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
| https://github.com/nodejs/node/security |
|
Insights
| https://github.com/nodejs/node/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/nodejs/node/pull/41365#issue-comment-box |
| kyranet | https://github.com/kyranet |
| nodejs:master | https://github.com/nodejs/node/tree/master |
| kyranet:doc-v8/write-heap-snapshot-may-return-undefined | https://github.com/kyranet/node/tree/doc-v8/write-heap-snapshot-may-return-undefined |
|
doc,v8: clarify v8.writeHeapSnapshot may return undefined
| https://github.com/nodejs/node/pull/41365#top |
| kyranet | https://github.com/kyranet |
| nodejs:master | https://github.com/nodejs/node/tree/master |
| kyranet:doc-v8/write-heap-snapshot-may-return-undefined | https://github.com/kyranet/node/tree/doc-v8/write-heap-snapshot-may-return-undefined |
|
Conversation
7
| https://github.com/nodejs/node/pull/41365 |
|
Commits
1
| https://github.com/nodejs/node/pull/41365/commits |
|
Checks
0
| https://github.com/nodejs/node/pull/41365/checks |
|
Files changed
| https://github.com/nodejs/node/pull/41365/files |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
| https://github.co/hiddenchars |
| https://github.com/nodejs/node/pull/{{ revealButtonHref }} |
|
| https://github.com/kyranet |
| kyranet | https://github.com/kyranet |
| Dec 31, 2021 | https://github.com/nodejs/node/pull/41365#issue-1091506846 |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
| #41346 | https://github.com/nodejs/node/issues/41346 |
| node/src/heap_utils.cc | https://github.com/nodejs/node/blob/0de6a6341a566f990d0058b28a0a3cb5b052c6b3/src/heap_utils.cc#L369-L390 |
| 0de6a63 | https://github.com/nodejs/node/commit/0de6a6341a566f990d0058b28a0a3cb5b052c6b3 |
| https://github.com/bnoordhuis/node-heapdump/blob/3537b67cebdbd602d8572fcc533f223ed25e5cbc/src/heapdump.cc#L93-L96 | https://github.com/bnoordhuis/node-heapdump/blob/3537b67cebdbd602d8572fcc533f223ed25e5cbc/src/heapdump.cc#L93-L96 |
| https://github.com/DefinitelyTyped/DefinitelyTyped/blob/2aae4db6bbe2e078c0cbc84cc9cd43cb1e01d8fd/types/node/v14/test/v8.ts#L13 | https://github.com/DefinitelyTyped/DefinitelyTyped/blob/2aae4db6bbe2e078c0cbc84cc9cd43cb1e01d8fd/types/node/v14/test/v8.ts#L13 |
| @RaisinTen | https://github.com/RaisinTen |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
|
| https://github.com/kyranet |
| doc,v8: clarify v8.writeHeapSnapshot may return undefined | https://github.com/nodejs/node/pull/41365/commits/2bdbaf6c1d27cf23bccb6a62b5b736e3ed13e381 |
| 2bdbaf6 | https://github.com/nodejs/node/pull/41365/commits/2bdbaf6c1d27cf23bccb6a62b5b736e3ed13e381 |
| https://github.com/nodejs-github-bot |
| nodejs-github-bot | https://github.com/nodejs-github-bot |
|
doc
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Adoc |
| Dec 31, 2021 | https://github.com/nodejs/node/pull/41365#event-5830173602 |
| https://github.com/RaisinTen |
| RaisinTen | https://github.com/RaisinTen |
|
Dec 31, 2021
| https://github.com/nodejs/node/pull/41365#pullrequestreview-842237328 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/41365/files/2bdbaf6c1d27cf23bccb6a62b5b736e3ed13e381 |
| RaisinTen | https://github.com/RaisinTen |
| https://github.com/nodejs/node/pull/41365#pullrequestreview-842237328 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| node/lib/v8.js | https://github.com/nodejs/node/blob/0de6a6341a566f990d0058b28a0a3cb5b052c6b3/lib/v8.js#L66 |
| 0de6a63 | https://github.com/nodejs/node/commit/0de6a6341a566f990d0058b28a0a3cb5b052c6b3 |
| https://github.com/nodejs/node/blob/HEAD/test/sequential/test-heapdump.js | https://github.com/nodejs/node/blob/HEAD/test/sequential/test-heapdump.js |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
| doc/api/v8.md | https://github.com/nodejs/node/pull/41365/files/2bdbaf6c1d27cf23bccb6a62b5b736e3ed13e381#diff-fc79b2d1ad702cfaf107d5880b73e8360b36273edda73f128c00641637435c3c |
| RaisinTen | https://github.com/RaisinTen |
| Dec 31, 2021 | https://github.com/nodejs/node/pull/41365#discussion_r776992143 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
| https://github.com/addaleax |
| addaleax | https://github.com/addaleax |
| Dec 31, 2021 | https://github.com/nodejs/node/pull/41365#issuecomment-1003380365 |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
| https://github.com/kyranet |
| kyranet | https://github.com/kyranet |
| Dec 31, 2021 | https://github.com/nodejs/node/pull/41365#issuecomment-1003390992 |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
| #41346 (comment) | https://github.com/nodejs/node/issues/41346#issuecomment-1003042797 |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
| https://github.com/RaisinTen |
| RaisinTen | https://github.com/RaisinTen |
| Jan 1, 2022 | https://github.com/nodejs/node/pull/41365#issuecomment-1003556568 |
| node/src/heap_utils.cc | https://github.com/nodejs/node/blob/d0c11765331edc457a3f5023c21cbe3f89fa6d17/src/heap_utils.cc#L319-L327 |
| d0c1176 | https://github.com/nodejs/node/commit/d0c11765331edc457a3f5023c21cbe3f89fa6d17 |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
| https://github.com/kyranet |
| kyranet | https://github.com/kyranet |
|
Jan 1, 2022
| https://github.com/nodejs/node/pull/41365#ref-pullrequest-1091913013 |
|
fix,v8: make v8.writeHeapSnapshot throw if fopen/fclose fail
#41373
| https://github.com/nodejs/node/pull/41373 |
| https://github.com/kyranet |
| kyranet | https://github.com/kyranet |
| Jan 1, 2022 | https://github.com/nodejs/node/pull/41365#issuecomment-1003637636 |
| @RaisinTen | https://github.com/RaisinTen |
| #41373 | https://github.com/nodejs/node/pull/41373 |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
| https://github.com/RaisinTen |
| RaisinTen | https://github.com/RaisinTen |
| Jan 12, 2022 | https://github.com/nodejs/node/pull/41365#issuecomment-1011166492 |
| #41373 | https://github.com/nodejs/node/pull/41373 |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
| https://github.com/RaisinTen |
| RaisinTen | https://github.com/RaisinTen |
| Jan 12, 2022 | https://github.com/nodejs/node/pull/41365#event-5881155864 |
| https://github.com/kyranet |
| kyranet | https://github.com/kyranet |
| January 12, 2022 18:56 | https://github.com/nodejs/node/pull/41365#event-5882376866 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F41365 |
|
| https://github.com/RaisinTen |
|
RaisinTen
| https://github.com/RaisinTen |
|
| https://github.com/nodejs/node/pull/41365/files/2bdbaf6c1d27cf23bccb6a62b5b736e3ed13e381 |
|
doc
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Adoc |
|
v8.writeHeapSnapshot may return undefined if the file fails to write
| https://github.com/nodejs/node/issues/41346 |
| Please reload this page | https://github.com/nodejs/node/pull/41365 |
|
| https://github.com/kyranet |
|
| https://github.com/addaleax |
|
| https://github.com/RaisinTen |
|
| https://github.com/nodejs-github-bot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |