Skip to content

test(bun): Fix integration test on Bun 1.4.0 - #23521

Open
s1gr1d wants to merge 1 commit into
developfrom
sig/test-bun
Open

test(bun): Fix integration test on Bun 1.4.0#23521
s1gr1d wants to merge 1 commit into
developfrom
sig/test-bun

Conversation

@s1gr1d

@s1gr1d s1gr1d commented Aug 24, 2026

Copy link
Copy Markdown
Member

Read the active span before the request body is consumed.

The CI uses another Bun version (1.3.14). Locally, I use 1.4.0 and this test kept failing because of how this version behaves. Bun now behaves more like Node and it looses request context in end.

I fixed the test assertion so the test works again for Bun 1.4.0.

@s1gr1d
s1gr1d requested a review from a team as a code owner August 24, 2026 12:38
@s1gr1d
s1gr1d requested review from JPeer264 and isaacs and removed request for a team August 24, 2026 12:38
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Path Size % Change Change
@sentry/browser 30.3 kB - -
@sentry/browser - with treeshaking flags 28.47 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 26.81 kB - -
@sentry/browser (incl. Tracing) 48.62 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.64 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.5 kB - -
@sentry/browser (incl. Tracing, Replay) 88.02 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.42 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 92.74 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 105.44 kB - -
@sentry/browser (incl. Feedback) 47.65 kB - -
@sentry/browser (incl. sendFeedback) 35.13 kB - -
@sentry/browser (incl. FeedbackAsync) 40.28 kB - -
@sentry/browser (incl. Metrics) 31.24 kB - -
@sentry/browser (incl. Logs) 31.52 kB - -
@sentry/browser (incl. Metrics & Logs) 32.15 kB - -
@sentry/react 32.09 kB - -
@sentry/react (incl. Tracing) 50.82 kB - -
@sentry/vue 35.34 kB - -
@sentry/vue (incl. Tracing) 50.6 kB - -
@sentry/svelte 30.33 kB - -
CDN Bundle 31.61 kB - -
CDN Bundle (incl. Tracing) 48.96 kB - -
CDN Bundle (incl. Logs, Metrics) 33.8 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 50.87 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.31 kB - -
CDN Bundle (incl. Tracing, Replay) 86.53 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.38 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 92.23 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.19 kB - -
CDN Bundle - uncompressed 93.84 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.85 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.14 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.54 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.08 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.11 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 271.79 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.81 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.47 kB - -
@sentry/nextjs (client) 53.34 kB - -
@sentry/sveltekit (client) 49.05 kB - -
@sentry/core/server 65.83 kB - -
@sentry/core/browser 52.03 kB - -
@sentry/node 117.47 kB +0.02% +22 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 85.18 kB - -
@sentry/node - without tracing 82.02 kB +0.04% +25 B 🔺
@sentry/aws-serverless 91.44 kB +0.02% +17 B 🔺
@sentry/cloudflare (withSentry) - minified 194.61 kB - -
@sentry/cloudflare (withSentry) 481.16 kB - -

View base workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant