Skip to content

test(e2e): Add test for SvelteKit with orchestrion#22014

Merged
s1gr1d merged 2 commits into
developfrom
sig/sveltekit-orchestrion
Jul 7, 2026
Merged

test(e2e): Add test for SvelteKit with orchestrion#22014
s1gr1d merged 2 commits into
developfrom
sig/sveltekit-orchestrion

Conversation

@s1gr1d

@s1gr1d s1gr1d commented Jul 7, 2026

Copy link
Copy Markdown
Member

Adds E2E test for SvelteKit.

Adds sentryOrchestrionPlugin() in vite.config.ts (build-time injects DB instrumentation) plus experimentalUseDiagnosticsChannelInjection() before Sentry.init() in hooks.server.ts. No --import is needed since SvelteKit already inits Sentry early via hooks

Orchestrion produces the DB spans via diagnostics_channel + sentryHandle(), which is independent of SvelteKit's experimental internal tracing.

Closes #21996

Linear: https://linear.app/getsentry/issue/JS-2939/add-e2e-test-app-for-orchestrion-instrumentations-on-sveltekit

@s1gr1d s1gr1d requested review from a team, Lms24, chargome, mydea and nicohrubec and removed request for a team July 7, 2026 11:35
@s1gr1d s1gr1d enabled auto-merge (squash) July 7, 2026 15:29
@s1gr1d s1gr1d merged commit f6697fd into develop Jul 7, 2026
299 checks passed
@s1gr1d s1gr1d deleted the sig/sveltekit-orchestrion branch July 7, 2026 15:49
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.

Add E2E test app for orchestrion instrumentations on SvelteKit

2 participants