Skip to content

test(e2e): Add Bun Express test app - #24306

Open
nabi-noor wants to merge 3 commits into
getsentry:developfrom
nabi-noor:feat/bun-express-e2e
Open

test(e2e): Add Bun Express test app#24306
nabi-noor wants to merge 3 commits into
getsentry:developfrom
nabi-noor:feat/bun-express-e2e

Conversation

@nabi-noor

Copy link
Copy Markdown

Adds a dedicated Bun + Express E2E application covering automatic request tracing and error capture. The app exercises both a parameterized success route and an exception route, asserting Express handler spans, route naming, status propagation, the Bun runtime context, and trace correlation.

The app is built with sentryBunPlugin because Express instrumentation under Bun relies on build-time diagnostics-channel injection. The SDK and Express remain external so the app validates the normal package boundary, while CI now installs its pinned Bun version for this matrix entry.

The targeted bun-express E2E run passes both Playwright cases on Bun 1.3.14. yarn format, yarn build:dev, and yarn build:tarball also complete successfully. The full local lint and unit-suite runs still surface pre-existing environment/baseline failures outside the files changed here; CI will provide the authoritative full-suite result.

Fixes #12732

@nabi-noor
nabi-noor marked this pull request as ready for review September 10, 2026 14:22
@nabi-noor
nabi-noor marked this pull request as draft September 10, 2026 14:22
@nabi-noor
nabi-noor marked this pull request as ready for review September 10, 2026 14:31
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 bun + express

1 participant