Title: Loader stalls MessagePort since v24 · Issue #63085 · nodejs/node · GitHub
Open Graph Title: Loader stalls MessagePort since v24 · Issue #63085 · nodejs/node
X Title: Loader stalls MessagePort since v24 · Issue #63085 · nodejs/node
Description: Version v24.15.0 Platform Linux lab178 6.18.19-1.qubes.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 24 01:20:46 GMT 2026 x86_64 GNU/Linux Subsystem module What steps will reproduce the bug? In an async resolve hook of a custom loader, awai...
Open Graph Description: Version v24.15.0 Platform Linux lab178 6.18.19-1.qubes.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 24 01:20:46 GMT 2026 x86_64 GNU/Linux Subsystem module What steps will reproduce the bug? In an asy...
X Description: Version v24.15.0 Platform Linux lab178 6.18.19-1.qubes.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 24 01:20:46 GMT 2026 x86_64 GNU/Linux Subsystem module What steps will reproduce the bug? In an asy...
Opengraph URL: https://github.com/nodejs/node/issues/63085
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Loader stalls MessagePort since v24","articleBody":"### Version\n\nv24.15.0\n\n### Platform\n\n```text\nLinux lab178 6.18.19-1.qubes.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 24 01:20:46 GMT 2026 x86_64 GNU/Linux\n```\n\n### Subsystem\n\nmodule\n\n### What steps will reproduce the bug?\n\nIn an async `resolve` hook of a custom loader, await a message from a `MessagePort`. The message never arrives and the promise never resolves.\n\nThis repository has a reproduction. It does a simple pong exchange with the main thread. On v23 and before it works. On v24 and later it hangs forever.\n\nhttps://github.com/cinderflash/loader-stall\n\n```\n$ nvm use v23\nNow using node v23.11.1 (npm v10.9.2)\n$ node index.mjs\nping\nPONG\nping\nPONG\nping\nPONG\n$ nvm use v24\nNow using node v24.15.0 (npm v11.12.1)\n$ node index.mjs\n(STALL FOREVER)\n$ nvm use v25\nNow using node v25.9.0 (npm v11.12.1)\n$ node index.mjs\n(STALL FOREVER)\n```\n\n\n### How often does it reproduce? Is there a required condition?\n\nOn v24 and v25, 100% of the time.\n\nOn prior versions, this never happens.\n\n### What is the expected behavior? Why is that the expected behavior?\n\nAbility to perform exchanges with the main thread within a loader hook.\n\nI'd like to use this to acquire information available on the main thread to use in determining how to resolve the specifier.\n\n### What do you see instead?\n\nAwaiting a message in a loader hook stalls forever. The message never arrives and the engine never detects an unresolved promise.\n\n### Additional information\n\n_No response_","author":{"url":"https://github.com/cinderflash","@type":"Person","name":"cinderflash"},"datePublished":"2026-05-02T23:39:41Z","url":"https://github.com/nodejs/node/issues/63085"}
| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:539d3043-405f-5457-6209-6ddcd1f06902 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8794:17C2FE:1D54B17:26CCC73:6B03400F |
| html-safe-nonce | b0602cf1b85560d3d90d4065706b18bb3f528c9c7028790f809580e4cc34f4ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Nzk0OjE3QzJGRToxRDU0QjE3OjI2Q0NDNzM6NkIwMzQwMEYiLCJ2aXNpdG9yX2lkIjoiNzk2MTI0NDY2ODM1MDY0NDIzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ba323554850a41351cb9f30d0496436e5c8497423d6f2e694f6b13073ef08bd8 |
| hovercard-subject-tag | issue:4370372410 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/63085/issue_layout |
| twitter:image | https://opengraph.githubassets.com/331e24eca812644bab5f8730aced45510cfb8d32def0a2d808ddbf3f9e4d5471/nodejs/node/issues/63085 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/331e24eca812644bab5f8730aced45510cfb8d32def0a2d808ddbf3f9e4d5471/nodejs/node/issues/63085 |
| og:image:alt | Version v24.15.0 Platform Linux lab178 6.18.19-1.qubes.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 24 01:20:46 GMT 2026 x86_64 GNU/Linux Subsystem module What steps will reproduce the bug? In an asy... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cinderflash |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width