Conversation
JPeer264
added this pull request to stack #24633
September 23, 2026 09:51
JPeer264
force-pushed
the
jp/node-suites-bun-sdk-fixes
branch
2 times, most recently
from
September 23, 2026 10:04
33f7607 to
77ca363
Compare
Contributor
size-limit report 📦
|
JPeer264
force-pushed
the
jp/node-suites-bun-sdk-fixes
branch
from
September 23, 2026 12:21
77ca363 to
72e8bec
Compare
JPeer264
force-pushed
the
jp/node-suites-bun-sdk-fixes
branch
from
September 23, 2026 12:24
72e8bec to
373d5ab
Compare
JPeer264
force-pushed
the
jp/node-suites-bun-sdk-fixes
branch
from
September 23, 2026 13:23
373d5ab to
49333f3
Compare
JPeer264
force-pushed
the
jp/node-suites-bun-sdk-fixes
branch
2 times, most recently
from
September 23, 2026 16:19
7452887 to
27c4421
Compare
JPeer264
removed this pull request from stack #24633
September 23, 2026 16:19
JPeer264
added this pull request to stack #24670
September 23, 2026 16:19
JPeer264
force-pushed
the
jp/node-suites-bun-sdk-fixes
branch
from
September 23, 2026 16:40
27c4421 to
ff5d855
Compare
JPeer264
force-pushed
the
jp/node-suites-bun-sdk-fixes
branch
2 times, most recently
from
September 23, 2026 16:59
b0e5f06 to
21f68ca
Compare
JPeer264
removed this pull request from stack #24670
September 23, 2026 17:26
JPeer264
added this pull request to stack #24671
September 23, 2026 17:31
JPeer264
force-pushed
the
jp/node-suites-bun-sdk-fixes
branch
from
September 24, 2026 09:13
763a9ee to
0b4a065
Compare
JPeer264
force-pushed
the
jp/node-suites-bun-sdk-fixes
branch
2 times, most recently
from
September 24, 2026 14:05
b3a3cf2 to
ef10728
Compare
Bun garbage-collects a diagnostics channel that no code references, and its subscribers are lost with it. Node and Deno keep subscribed channels alive. The channel integrations keep no reference, so on Bun they could stop receiving messages after the next GC. They now create their channels through wrappers that keep one. Bun does not publish `http.server.request.start`, so `@sentry/node` created no `http.server` span there. The `emit` patch of `bunHttpServerIntegration` moved to `@sentry/server-utils`, and `@sentry/node` uses it on Bun. `nativeNodeFetchIntegration` listens on undici's channels, which the `fetch` of Bun and Deno does not use. On these runtimes it now patches the global `fetch` with the core instrumentation that `@sentry/bun` and `@sentry/deno` use. `requestHook`, `responseHook` and `headersToSpanAttributes` are not supported there yet. The Bun and Deno exclude lists of the shared Node suites shrink accordingly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ans on Bun Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ans on Bun Drop the fetch fallback of nativeNodeFetchIntegration. Its module-level createFetchIntegration() call added about 2.5 KB gzip to every @sentry/node bundle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ans on Bun Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ans on Bun Drop the http.server emit patch in @sentry/node. Bun users use @sentry/bun, which has bunHttpServerIntegration for this. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ans on Bun Run graphql-tracing-channel on Bun, which the channel GC broke. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JPeer264
force-pushed
the
jp/node-suites-bun-sdk-fixes
branch
from
September 24, 2026 14:19
ef10728 to
0b0863b
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bun garbage-collects a diagnostics channel that no code references, and its subscribers with it. Node and Deno keep subscribed channels alive. The channel integrations kept no reference, so on Bun they could silently stop producing spans after the first GC. They now create their channels through wrappers in
@sentry/server-utilsthat keep one.@sentry/bunuses these integrations, and alsohttpIntegrationfrom@sentry/node, whose channel subscriptions now go through the same wrappers.diagnosticsChannelGc.test.tsreproduces the GC on Bun.Running the shared Node integration suites on Bun found this.
Part of #23889.
🤖 Generated with Claude Code