Repository navigation
test(e2e): Run astro-6 on Bun, Deno and Cloudflare - #26845
Conversation
size-limit report 📦Compared: 73b1338 (PR test merge using develop at fa3d73a) Against: cee40e6 (develop) · base run #67873
|
Optional E2E testsSome optional checks were not successful. They do not block the merge. 2 not successful, 84 successful. See the run.
Successful checks
|
1532a7f to
a236b4f
Compare
a5e1016 to
b091cf1
Compare
astro-6 now runs its Playwright suite on Bun, Deno and Cloudflare as optional variants, and its Cloudflare variant replaces the astro-6-cf-workers app. Bun and Deno run the @astrojs/node build with the same sentry.server.config.js as Node. The server build keeps @sentry/astro external, so these runtimes load its bun or deno entry, which adds the integrations of @sentry/bun or @sentry/deno. The server error test checks the runtime name, so it fails when the Node entry loads instead. The Cloudflare variant replaces astro.config.mjs with astro.config.cloudflare.mjs (@astrojs/cloudflare adapter and sentryCloudflareVitePlugin), reads its options from instrument.server.ts and deletes sentry.server.config.js before the build. tests/request.test.ts covers parameterized route names, per-request isolation, incoming trace continuation and sentry-trace and baggage on an outgoing fetch. A logs test is new, and the MySQL test of astro-6-cf-workers now runs on every runtime. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
b091cf1 to
b342ba3
Compare
There was a problem hiding this comment.
Do we actually need all of these infos in here?
There was a problem hiding this comment.
Yes and no. I wanted to have a clear guidance for the variants, but it still differs between runtimes a little. In a follow up I could trim those down to a bare minimum.
I wanted to keep it the same as with the other frameworks were bun, deno and cloudflare is optional. But that is a good challenge - I guess promoting them to be required wouldn't harm. I'll move that to a follow up where I promote all of them at once to be required |
closes #24840
closes JS-3841
Description
This runs the
astro-6e2e suite on Bun, Deno and Cloudflare as optional variants, from the same app as the Node run. The Cloudflare variant replaces theastro-6-cf-workersapp.New tests cover parameterized route names, per-request isolation, incoming trace continuation,
sentry-traceandbaggageon an outgoingfetch, and logs. The MySQL test ofastro-6-cf-workersnow runs on all runtimes.