Skip to content

fix: simpler message URLs - #17285

Merged
teemingc merged 2 commits into
version-3from
tweak-message-urls
Oct 1, 2026
Merged

teemingc merged 2 commits into
version-3from
tweak-message-urls

Conversation

@Rich-Harris

Copy link
Copy Markdown
Member
-https://next.svelte.dev/e/@sveltejs/kit/CODE
+https://next.svelte.dev/e/kit/CODE

@pkg-svelte-dev

pkg-svelte-dev Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

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

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

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

@changeset-bot

changeset-bot Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3c0b416

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

@svelte-triage-bot

Copy link
Copy Markdown
Contributor

I investigated this failed test run, but the investigation came up empty.

What I tried

  • Validated the supplied run with get_github_actions_evidence before checkout: Trusted head repository was exactly sveltejs/kit; PR head and workflow head both resolved to 2dc5f13. Complete job log and the failure artifact were downloaded.
  • Inspected the complete Windows job log and artifact: No test ran: Vitest reported Tests no tests after exactly 60 seconds, with Failed to connect to the browser session ... [kit-client-import (chromium)] within the timeout; browser shutdown then also exceeded 10 seconds. The artifact contained an empty 45-byte test-results tarball, with no trace or screenshot.
  • Verified failure provenance against base b88f456: The sole selected test would have been $app/navigation can be imported at packages/kit/test/apps/basics/test/vitest/client.spec.js:5, but its declaration/body never started. The test, package script, vite browser configuration, and lockfile are unchanged by PR fix: simpler message URLs #17285; the PR only changes diagnostic URL output and corresponding assertions.
  • Checked the 20 most recently opened PRs: Ran the required gh pr list --repo sveltejs/kit --state open --limit 20 --search "sort:created-desc" --json number,title,body,url,files review. None changes the Vitest browser session setup, the client-import test, or the observed browser-connect mechanism; no existing fix was found.
  • Aligned local dependencies and browser setup with CI: Ran frozen-lockfile install, yielding Vitest 5.0.1, @vitest/browser-playwright 5.0.1, and Playwright 1.63.0 as in the failed run. Used Chromium through the configured channel: chrome; local Node was 24.20.0 versus CI Node 24.21.0.
  • Ran five focused head reproductions in separate Vitest/Playwright-provider processes: With CI=1, KIT_E2E_BROWSER=chromium, retries 0, one worker, and svelte-kit sync before each process, all five valid runs reached and passed $app/navigation can be imported (5/5). Earlier attempts lacking a Chrome channel binary were discarded as infrastructure failures.
  • Compared the trusted base directly: Checked out base b88f456 and ran the same focused command in five separate processes. All five reached and passed the target (5/5), matching the head behavior.
  • Stress-tested process and in-process repetition: Twenty-five additional separate CI-equivalent pnpm test:client-import processes all reached and passed (25/25). One process with --repeats=100 also passed every repetition.

This was not an assertion failure or an executed test failure. On Windows, Vitest's Playwright browser provider launched the kit-client-import (chromium) session but its browser page never completed the orchestrator handshake within the fixed 60-second connection window, after which browser shutdown also hung. PR #17285 does not touch the test, browser configuration, package script, dependencies, or lockfile, and the failure happened before test import/transform work.

The setup is demonstrably intermittent: all five required focused head runs passed, as did five base runs, 25 more separate processes, 100 in-process repetitions, and the complete cross-platform dev command. The project has no preceding tests or mutable setup capable of cross-talk, and debug runs cleaned up fully. Because the original Windows environment could not be reproduced and evidence does not distinguish a hosted-runner Chrome hang from an upstream Vitest/Playwright handshake defect, changing SvelteKit would be speculative. A larger timeout or retry wrapper would conceal rather than fix the mechanism, so the flake remains unresolved and no branch was pushed.

@teemingc
teemingc merged commit caa0d4e into version-3 Oct 1, 2026
41 checks passed
@teemingc
teemingc deleted the tweak-message-urls branch October 1, 2026 14:42
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.

3 participants