Skip to content

chore: accept aliased env import in service worker test - #17883

Merged
dummdidumm merged 1 commit into
mainfrom
teemingc/vite-ecosystem-ci-failure-22f21d
Nov 26, 2026
Merged

dummdidumm merged 1 commit into
mainfrom
teemingc/vite-ecosystem-ci-failure-22f21d

Conversation

@teemingc

@teemingc teemingc commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

The sveltekit suite in vite-ecosystem-ci is failing
because Rolldown 1.3.2 aliases the env import in the built service worker but our assertion looked for the exact unaliased string.

// rolldown 1.2.18
import { env } from "/basepath/_app/env.js";
// rolldown 1.3.2
import { env as env$1 } from "/basepath/_app/env.js";

The alias comes from a second top-level env in the same bundle, which rolldown inlines away after renaming.

With this PR, the assertion now accepts either form

@pkg-svelte-dev

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 3b37598:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/3b37598dc535fa1101d322eec15e36266d055355

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/17883

@changeset-bot

changeset-bot Bot commented Nov 26, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3b37598

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@svelte-docs-bot

Copy link
Copy Markdown

@dummdidumm
dummdidumm merged commit eca36e9 into main Nov 26, 2026
40 checks passed
@dummdidumm
dummdidumm deleted the teemingc/vite-ecosystem-ci-failure-22f21d branch November 26, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants