Conversation
Bump @sveltejs/kit to 2.70.3, svelte to 5.57.1, adapter-cloudflare to 7.2.9, svelte-check to 4.7.6, vite to 7.3.6, @sveltejs/vite-plugin-svelte to 6.2.4, and vitest to 3.2.7 so vitest shares the root Vite 7 install. Replace the json() helper with Response.json() and resolve the file-detail link by route ID, both valid on 2.x and required by SvelteKit 3.
flamboh
added this pull request to stack #118
September 25, 2026 10:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
🤖 Claude Opus 5.5 on behalf of Oliver
Layer 1 of 4 in the infra stack (#114 → #115 → #116 → #117). This moves the dashboard to the latest SvelteKit 2 release and clears the deprecations SvelteKit 3 rejects, so #115 stays small.
What changed
@sveltejs/kit2.70.3,svelte5.57.1, Vite 7.3.6,vite-plugin-svelte6, plus patch bumps to vitest andsvelte-check.Response.json()instead of kit's deprecatedjson(). Status codes and bodies are unchanged; JSON responses no longer set an explicitContent-Length.resolve('/netflow/files/[slug]', { slug }), the route-ID form SvelteKit 3 requires.The rest of the v3 migration (
$env/dynamic/privateremoval,runedremoval, Vite 8, build-time DB driver) is in #115.How to review
Setup:
cp datasets.json.example datasets.json, point it at any local pipeline database (or setLOCAL_SQLITE_PATH), thenbun run dev:web./, a dataset dashboard, and/netflow/files. All render without console errors./netflow/files/<YYYYMMDDHHmm>and the file details page loads.{ "error": ... }body:/api/netflow/coverage?granularity=5m(no routers), or/api/netflow/files/abc/details(bad slug)./api/netflow/files/<12-digit slug with no data, e.g. 200001010000>/details.LOCAL_SQLITE_PATHat an empty SQLite file and request/api/netflow/files/<valid slug>/details; the body is{"error":"Failed to fetch file details"}.Verification
bun run format,bun run lint,bun run typecheck,bun run test:web,bun run build:web, andbun run test:e2epass; CI is green.Claude Opus 5.5 · Claude Code (T3 Code)