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 <[email protected]>
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 |
…26887) ## What The Bun, Deno and Cloudflare variants of the required framework apps move from `optionalVariants` to `variants`, so they block PRs. That covers `astro-6`, `express-5`, `fastify-5`, `nestjs-12`, `nextjs-16`, `solid-2-ssr` and `gen-ai-libraries`. ## Why A framework that runs on Bun, Deno or Cloudflare should not regress on those runtimes without a red check. Follow-up to #26845 and #26869. - `gen-ai-libraries (cloudflare)` keeps `needsSecrets` from its app, so fork PRs skip it. - `nextjs-16-tunnel (cloudflare)` stays optional: it fails on an OpenNext regression (opennextjs/opennextjs-cloudflare#1506) that has no release with the fix yet. - `nextjs-16 (vinext, bun)` stays optional, like the vinext build flavor itself. - The runtime variants of `hono-5`, `nuxt-5` and `nuxt-5-tunnel` stay optional: those apps are optional (prerelease frameworks), and an optional app can't have required variants. The skipped `nextjs-16-cacheComponents` Cloudflare variant also stays optional. <!-- junior-request-attribution:start --> via @JPeer264. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC0CA6TD3QRK%3A1795603557.411709 --> -- [View Session](https://junior-prod.sentry.dev/conversations/slack%3AC0CA6TD3QRK%3A1795603557.411709) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0CA6TD3QRK%3A1795603557.411709/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Jan Peer Stöcklmair <[email protected]>
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.