You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Injection silently no-ops on Windows (registerHooks path) #24695
On Windows with Node >= 24.13 (the sync Module.registerHooks() path), registerDiagnosticsChannelInjection from @sentry/server-runtime-injection instruments nothing. Modules load uninstrumented and no spans are produced. No warning is emitted. Linux and macOS are unaffected.
Root cause
The vendored @apm-js-collab/tracing-hooks resolve hook passes a file:// URL to module-details-from-path, which splits on path.sep (\ on Windows) and so never finds node_modules, returning undefined. No transformer gets registered. On the async Module.register() path the failure is masked by the separate Module.prototype._compile CJS patch; the sync path has no such fallback, so it breaks outright.
Fix belongs upstream in apm-js-collab/tracing-hooks (fileURLToPath(url.url) before module-details-from-path), then re-vendored into @sentry/server-runtime-injection.
changed the title [-]Orchestrion injection silently no-ops on Windows (sync registerHooks path)[/-][+]Injection silently no-ops on Windows (`registerHooks` path)[/+]on Sep 24, 2026
Activity
linear-code commentedon Sep 24, 2026
JS-3784
[-]Orchestrion injection silently no-ops on Windows (sync registerHooks path)[/-][+]Injection silently no-ops on Windows (`registerHooks` path)[/+]timfish commentedon Sep 24, 2026
Blocked on:
fix: Injection silently no-ops on Windows (`registerHooks` path) (#24705
github-actions commentedon Sep 28, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #24705, which was included in the 11.1.0 release.