Skip to content

Commit 36fed5f

Browse files
test(v10/e2e): Backport CI fixes for cloudflare and sveltekit-3 e2e tests (#25102)
Backports the test-only fixes from `develop` that `v10` is missing, so CI on `v10` PRs (e.g. #25101) goes green again. `develop` passes all of these jobs. - #24345: `cloudflare-agent` installs `agents@latest` but pins `@cloudflare/ai-chat` to `^0.10.0`. The two drifted apart and the app no longer builds (`MISSING_EXPORT` from `agents`), so `ai-chat` follows `latest` too. - #23150: skips the flaky `cloudflare-workers` V8 memory tests, the same as on `develop`. The Durable Object memory test fails on `v10` itself. - #25009 (test app only): `sveltekit-3` used the `next` dist-tag, which still points at `@sveltejs/kit@3.0.0-next.32` now that 3.0.1 is stable. It now uses the stable 3.x releases, as on `develop`. I left out the `@sentry/sveltekit` peer range change and kept the app optional, so this PR only touches tests. <!-- junior-request-attribution:start --> via **Lukas Stracke**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC01C205FUAE%3A1791277328.518089 --> -- [View Junior Session](https://junior-prod.sentry.dev/conversations/slack%3AC01C205FUAE%3A1791277328.518089) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC01C205FUAE%3A1791277328.518089/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
1 parent 1e06821 commit 36fed5f

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

‎dev-packages/e2e-tests/test-applications/cloudflare-agent/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test:dev": "TEST_ENV=development playwright test"
1515
},
1616
"dependencies": {
17-
"@cloudflare/ai-chat": "^0.10.0",
17+
"@cloudflare/ai-chat": "latest",
1818
"@sentry/cloudflare": "^10.68.0",
1919
"@sentry/core": "^10.68.0",
2020
"agents": "latest",

‎dev-packages/e2e-tests/test-applications/cloudflare-workers/tests/memory.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { expect, test } from '@playwright/test';
33
import { INSPECTOR_PORT } from '../playwright.config';
44

55
test.describe('Worker V8 isolate memory tests', () => {
6-
test('worker memory is stable across request batches', async ({ baseURL }) => {
6+
test.skip('worker memory is stable across request batches', async ({ baseURL }) => {
77
const profiler = new MemoryProfiler({ port: INSPECTOR_PORT });
88

99
// Warm up: make initial requests and let the runtime settle
@@ -39,7 +39,7 @@ test.describe('Worker V8 isolate memory tests', () => {
3939
await profiler.close();
4040
});
4141

42-
test('durable object memory is stable across request batches', async ({ baseURL }) => {
42+
test.skip('durable object memory is stable across request batches', async ({ baseURL }) => {
4343
const profiler = new MemoryProfiler({ port: INSPECTOR_PORT });
4444

4545
// Warm up: let JIT compile, caches fill, and DO instance stabilize

‎dev-packages/e2e-tests/test-applications/sveltekit-3/package.json‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@
2020
"devDependencies": {
2121
"@playwright/test": "~1.56.0",
2222
"@sentry-internal/test-utils": "link:../../../test-utils",
23-
"@sveltejs/adapter-auto": "next",
24-
"@sveltejs/adapter-node": "next",
25-
"@sveltejs/kit": "next",
26-
"@sveltejs/vite-plugin-svelte": "^7.1.2",
27-
"svelte": "^5.48.0",
23+
"@sveltejs/adapter-node": "^6.0.0",
24+
"@sveltejs/kit": "^3.0.0",
25+
"@sveltejs/vite-plugin-svelte": "^7.3.1",
26+
"svelte": "^5.57.1",
2827
"svelte-check": "^4.6.0",
2928
"typescript": "^6.0.0",
30-
"vite": "^8.0.0"
29+
"vite": "^8.0.12"
3130
},
3231
"volta": {
3332
"node": "22.20.0",

0 commit comments

Comments
 (0)