Skip to content

Commit 1a809bc

Browse files
JPeer264claude
andcommitted
fixup! test(bun): Run the auto-instrumentation suites with bundled scenarios
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f731e72 commit 1a809bc

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

  • dev-packages/bun-integration-tests/node-suites

‎dev-packages/bun-integration-tests/node-suites/excludes.ts‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,11 @@ export const NODE_SUITES_EXCLUDE = [
158158
// they wait until their module loads.
159159
const BUN_BUILD_EAGER_SUBSCRIPTION = ['suites/tracing/orchestrion-lazy-registration/test.ts'];
160160

161+
// The first `init()` has no DSN, so `bunHttpServerIntegration` is not set up, and the suite then
162+
// adds only `httpIntegration`. On Bun that does not isolate requests, because Bun does not publish
163+
// `http.server.request.start`.
164+
const BUN_BUILD_NO_HTTP_SERVER_INTEGRATION = ['suites/express/multiple-init/test.ts'];
165+
161166
// Some or all tests fail with the bundled scenarios, cause not investigated yet. In
162167
// `express/tracing` only the request data tests fail: they set `httpIntegration` options, and with
163168
// `@sentry/bun` the request body comes from `bunHttpServerIntegration`.
@@ -190,4 +195,9 @@ const BUN_BUILD_NOT_TRIAGED = [
190195
'suites/tracing/vercelai/v6_v7/test.ts',
191196
];
192197

193-
export const BUN_BUILD_EXCLUDE = ['**/node_modules/**', ...BUN_BUILD_EAGER_SUBSCRIPTION, ...BUN_BUILD_NOT_TRIAGED];
198+
export const BUN_BUILD_EXCLUDE = [
199+
'**/node_modules/**',
200+
...BUN_BUILD_EAGER_SUBSCRIPTION,
201+
...BUN_BUILD_NO_HTTP_SERVER_INTEGRATION,
202+
...BUN_BUILD_NOT_TRIAGED,
203+
];

0 commit comments

Comments
 (0)