Skip to content

fix: stabilize route manifest traversal - #16110

Closed
vamshikrishnaramasamy wants to merge 1 commit into
sveltejs:mainfrom
vamshikrishnaramasamy:fix/issue-15313-sort-route-manifest
Closed

fix: stabilize route manifest traversal#16110
vamshikrishnaramasamy wants to merge 1 commit into
sveltejs:mainfrom
vamshikrishnaramasamy:fix/issue-15313-sort-route-manifest

Conversation

@vamshikrishnaramasamy

Copy link
Copy Markdown
Contributor

Summary

  • sort route directory entries before assigning manifest node indexes
  • add a regression test that reverses readdirSync order and verifies stable routes/nodes
  • add a patch changeset

Closes #15313

Tests

  • pnpm -F @sveltejs/kit test:unit src/core/sync/create_manifest_data/index.spec.js
  • pnpm -F @sveltejs/kit lint
  • git diff --check

@changeset-bot

changeset-bot Bot commented Jun 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4594623

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

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

@teemingc

Copy link
Copy Markdown
Member

This is a duplicate of #16074

@teemingc teemingc closed this Jun 21, 2026
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.

Dev server hydration errors when using bun

2 participants