Skip to content

fix(bundler-plugins): Check globalThis before global in the injected snippet #61620

fix(bundler-plugins): Check globalThis before global in the injected snippet

fix(bundler-plugins): Check globalThis before global in the injected snippet #61620

Re-run triggered October 14, 2026 17:14
Status Failure
Total duration 10m 18s
Artifacts 1

build.yml

on: pull_request
Get CI Metadata  /  Get Metadata
9s
Get CI Metadata / Get Metadata
Check lockfile
Check lockfile
Check file formatting
41s
Check file formatting
Check PR branches
4s
Check PR branches
Build Lambda layer
1m 41s
Build Lambda layer
Matrix: job_bun_integration_tests
Matrix: job_bun_unit_tests
Matrix: job_bundler_plugin_integration_tests
Matrix: job_cloudflare_integration_tests
Matrix: job_deno_integration_tests
Matrix: job_node_integration_tests
Matrix: job_node_unit_tests
Lint
1m 43s
Lint
Circular Dependency Check
1m 29s
Circular Dependency Check
Browser Unit Tests
42s
Browser Unit Tests
Deno Unit Tests
Deno Unit Tests
Check for faulty .d.ts files
38s
Check for faulty .d.ts files
Matrix: job_browser_loader_tests
Matrix: job_browser_playwright_tests
Matrix: job_optional_e2e_tests
Upload Artifacts
Upload Artifacts
Matrix: job_e2e_tests
All required jobs passed or were skipped
3s
All required jobs passed or were skipped
Fit to window
Zoom out
Zoom in

Annotations

12 errors, 1 warning, and 1 notice
E2E sveltekit-2-static Test
Process completed with exit code 1.
[chromium] › tests/performance.client.test.ts:50:3 › client-specific performance events › records manually added component tracking spans: ../../_temp/test-application/tests/utils.ts#L43
5) [chromium] › tests/performance.client.test.ts:50:3 › client-specific performance events › records manually added component tracking spans Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('body.hydrated') to be visible at utils.ts:43 41 | page.goto(route), 42 | // the test app adds the "hydrated" class to the body when hydrating > 43 | page.waitForSelector('body.hydrated'), | ^ 44 | // also waiting for the initial pageload span so that later navigations don't interfere 45 | clientPageloadSpanPromise, 46 | ]); at waitForInitialPageload (/home/runner/work/_temp/test-application/tests/utils.ts:43:10) at /home/runner/work/_temp/test-application/tests/performance.client.test.ts:53:11
[chromium] › tests/performance.client.test.ts:50:3 › client-specific performance events › records manually added component tracking spans: ../../_temp/test-application/tests/performance.client.test.ts#L0
5) [chromium] › tests/performance.client.test.ts:50:3 › client-specific performance events › records manually added component tracking spans Test timeout of 30000ms exceeded.
[chromium] › tests/performance.client.test.ts:6:3 › client-specific performance events › multiple navigations have distinct traces: ../../_temp/test-application/tests/utils.ts#L43
4) [chromium] › tests/performance.client.test.ts:6:3 › client-specific performance events › multiple navigations have distinct traces Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('body.hydrated') to be visible at utils.ts:43 41 | page.goto(route), 42 | // the test app adds the "hydrated" class to the body when hydrating > 43 | page.waitForSelector('body.hydrated'), | ^ 44 | // also waiting for the initial pageload span so that later navigations don't interfere 45 | clientPageloadSpanPromise, 46 | ]); at waitForInitialPageload (/home/runner/work/_temp/test-application/tests/utils.ts:43:10) at /home/runner/work/_temp/test-application/tests/performance.client.test.ts:19:11
[chromium] › tests/performance.client.test.ts:6:3 › client-specific performance events › multiple navigations have distinct traces: ../../_temp/test-application/tests/performance.client.test.ts#L0
4) [chromium] › tests/performance.client.test.ts:6:3 › client-specific performance events › multiple navigations have distinct traces Test timeout of 30000ms exceeded.
[chromium] › tests/load-dependencies.test.ts:5:1 › doesn't rerun a wrapped layout server load that doesn't depend on the url: ../../_temp/test-application/tests/utils.ts#L43
3) [chromium] › tests/load-dependencies.test.ts:5:1 › doesn't rerun a wrapped layout server load that doesn't depend on the url Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('body.hydrated') to be visible at utils.ts:43 41 | page.goto(route), 42 | // the test app adds the "hydrated" class to the body when hydrating > 43 | page.waitForSelector('body.hydrated'), | ^ 44 | // also waiting for the initial pageload span so that later navigations don't interfere 45 | clientPageloadSpanPromise, 46 | ]); at waitForInitialPageload (/home/runner/work/_temp/test-application/tests/utils.ts:43:10) at /home/runner/work/_temp/test-application/tests/load-dependencies.test.ts:6:9
[chromium] › tests/load-dependencies.test.ts:5:1 › doesn't rerun a wrapped layout server load that doesn't depend on the url: ../../_temp/test-application/tests/load-dependencies.test.ts#L0
3) [chromium] › tests/load-dependencies.test.ts:5:1 › doesn't rerun a wrapped layout server load that doesn't depend on the url Test timeout of 30000ms exceeded.
[chromium] › tests/errors.client.test.ts:32:3 › client-side errors › captures universal load error: ../../_temp/test-application/tests/utils.ts#L43
2) [chromium] › tests/errors.client.test.ts:32:3 › client-side errors › captures universal load error Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('body.hydrated') to be visible at utils.ts:43 41 | page.goto(route), 42 | // the test app adds the "hydrated" class to the body when hydrating > 43 | page.waitForSelector('body.hydrated'), | ^ 44 | // also waiting for the initial pageload span so that later navigations don't interfere 45 | clientPageloadSpanPromise, 46 | ]); at waitForInitialPageload (/home/runner/work/_temp/test-application/tests/utils.ts:43:10) at /home/runner/work/_temp/test-application/tests/errors.client.test.ts:33:11
[chromium] › tests/errors.client.test.ts:32:3 › client-side errors › captures universal load error: ../../_temp/test-application/tests/errors.client.test.ts#L0
2) [chromium] › tests/errors.client.test.ts:32:3 › client-side errors › captures universal load error Test timeout of 30000ms exceeded.
[chromium] › tests/errors.client.test.ts:6:3 › client-side errors › captures error thrown on click: ../../_temp/test-application/tests/utils.ts#L43
1) [chromium] › tests/errors.client.test.ts:6:3 › client-side errors › captures error thrown on click Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('body.hydrated') to be visible at utils.ts:43 41 | page.goto(route), 42 | // the test app adds the "hydrated" class to the body when hydrating > 43 | page.waitForSelector('body.hydrated'), | ^ 44 | // also waiting for the initial pageload span so that later navigations don't interfere 45 | clientPageloadSpanPromise, 46 | ]); at waitForInitialPageload (/home/runner/work/_temp/test-application/tests/utils.ts:43:10) at /home/runner/work/_temp/test-application/tests/errors.client.test.ts:7:11
[chromium] › tests/errors.client.test.ts:6:3 › client-side errors › captures error thrown on click: ../../_temp/test-application/tests/errors.client.test.ts#L0
1) [chromium] › tests/errors.client.test.ts:6:3 › client-side errors › captures error thrown on click Test timeout of 30000ms exceeded.
All required jobs passed or were skipped
Process completed with exit code 1.
E2E sveltekit-2-static Test
No files were found with the provided path: /home/runner/work/_temp/test-application/test-results. No artifacts will be uploaded.
🎭 Playwright Run Summary
11 failed [chromium] › tests/errors.client.test.ts:6:3 › client-side errors › captures error thrown on click [chromium] › tests/errors.client.test.ts:32:3 › client-side errors › captures universal load error [chromium] › tests/load-dependencies.test.ts:5:1 › doesn't rerun a wrapped layout server load that doesn't depend on the url [chromium] › tests/performance.client.test.ts:6:3 › client-specific performance events › multiple navigations have distinct traces [chromium] › tests/performance.client.test.ts:50:3 › client-specific performance events › records manually added component tracking spans [chromium] › tests/performance.test.ts:11:3 › performance events › capture a distributed pageload trace [chromium] › tests/performance.test.ts:51:3 › performance events › capture a distributed navigation trace [chromium] › tests/performance.test.ts:91:3 › performance events › record client-side universal load fetch span and trace [chromium] › tests/performance.test.ts:160:3 › performance events › captures a navigation span directly after pageload [chromium] › tests/performance.test.ts:220:3 › performance events › captures one navigation span per redirect [chromium] › tests/sdk.test.ts:5:3 › SDK-internal behavior › Doesn't inject fetch proxy script for SvelteKit>=2.16.0 8 passed (5.8m)

Artifacts

Produced during runtime
Name Size Digest
playwright-traces-job_e2e_playwright_tests-sveltekit-2
152 KB
sha256:6da068911c0cef2d16fe5959f4df780c48a733128b65d260d8ea6356b2abbcfb