Skip to content

test(e2e): Add Astro 7 with Orchestrion test#22005

Open
s1gr1d wants to merge 3 commits into
developfrom
sig/e2e-astro
Open

test(e2e): Add Astro 7 with Orchestrion test#22005
s1gr1d wants to merge 3 commits into
developfrom
sig/e2e-astro

Conversation

@s1gr1d

@s1gr1d s1gr1d commented Jul 7, 2026

Copy link
Copy Markdown
Member

@s1gr1d s1gr1d requested review from a team, chargome, isaacs, mydea and nicohrubec and removed request for a team July 7, 2026 09:09

@isaacs isaacs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note about yet another "leaking the o-word into user code", but I actually think it's the correct move at this stage. These can serve as a todo list later, when we are polishing up and consolidating more of the browser bundler parts of orchestrion with the rest of our bundler machinery.

LGTM, though, good comprehensive test of bundling and server-instrumentation together. 👍

vite: {
// Run the orchestrion code transform on the Vite SSR bundle so instrumented
// DB drivers get `diagnostics_channel` publishers injected at build time.
plugins: [sentryOrchestrionPlugin()],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: I think it makes sense to keep using the internal bundler bits in e2e tests at this stage, but at some point we need to do a git grep -i orchestrion dev-packages/e2e-tests/test-applications and make sure that our public-facing bundler API can handle all the use cases, and make the tests not "cheat" by using the internal machinery. Similar discussions I saw around using orchestrion+vite for cloudflare. (cc: @timfish, @JPeer264)

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 Astro

2 participants