From 96912b33775952280befa19786bf5fca22026dd5 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Thu, 19 Mar 2026 10:34:51 +0100 Subject: [PATCH 1/2] test(astro): Re-enable server island tracing e2e test in Astro 6 --- dev-packages/e2e-tests/test-applications/astro-6/package.json | 2 +- .../astro-6/tests/tracing.serverIslands.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-packages/e2e-tests/test-applications/astro-6/package.json b/dev-packages/e2e-tests/test-applications/astro-6/package.json index e97314a949b4..050ea8980e06 100644 --- a/dev-packages/e2e-tests/test-applications/astro-6/package.json +++ b/dev-packages/e2e-tests/test-applications/astro-6/package.json @@ -16,7 +16,7 @@ "@playwright/test": "~1.56.0", "@sentry-internal/test-utils": "link:../../../test-utils", "@sentry/astro": "latest || *", - "astro": "^6.0.0" + "astro": "^6.0.6" }, "volta": { "node": "22.22.0", diff --git a/dev-packages/e2e-tests/test-applications/astro-6/tests/tracing.serverIslands.test.ts b/dev-packages/e2e-tests/test-applications/astro-6/tests/tracing.serverIslands.test.ts index 10910c01bd3f..7d125bf26863 100644 --- a/dev-packages/e2e-tests/test-applications/astro-6/tests/tracing.serverIslands.test.ts +++ b/dev-packages/e2e-tests/test-applications/astro-6/tests/tracing.serverIslands.test.ts @@ -4,7 +4,7 @@ import { waitForTransaction } from '@sentry-internal/test-utils'; // Skipping this test FOR NOW because there's a known bug in Astro 6.0.2 that causes // server-islands to not work correctly with the node adapter: // https://github.com/withastro/astro/issues/15753 -test.describe.skip('tracing in static routes with server islands', () => { +test.describe('tracing in static routes with server islands', () => { test('only sends client pageload transaction and server island endpoint transaction', async ({ page }) => { const clientPageloadTxnPromise = waitForTransaction('astro-6', txnEvent => { return txnEvent.transaction === '/server-island'; From 51f5a225943876aad7d849111590252c409ba608 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Thu, 19 Mar 2026 15:56:54 +0100 Subject: [PATCH 2/2] Update dev-packages/e2e-tests/test-applications/astro-6/tests/tracing.serverIslands.test.ts Co-authored-by: Charly Gomez --- .../astro-6/tests/tracing.serverIslands.test.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/dev-packages/e2e-tests/test-applications/astro-6/tests/tracing.serverIslands.test.ts b/dev-packages/e2e-tests/test-applications/astro-6/tests/tracing.serverIslands.test.ts index 7d125bf26863..829b44a035f3 100644 --- a/dev-packages/e2e-tests/test-applications/astro-6/tests/tracing.serverIslands.test.ts +++ b/dev-packages/e2e-tests/test-applications/astro-6/tests/tracing.serverIslands.test.ts @@ -1,9 +1,6 @@ import { expect, test } from '@playwright/test'; import { waitForTransaction } from '@sentry-internal/test-utils'; -// Skipping this test FOR NOW because there's a known bug in Astro 6.0.2 that causes -// server-islands to not work correctly with the node adapter: -// https://github.com/withastro/astro/issues/15753 test.describe('tracing in static routes with server islands', () => { test('only sends client pageload transaction and server island endpoint transaction', async ({ page }) => { const clientPageloadTxnPromise = waitForTransaction('astro-6', txnEvent => {