Skip to content

Fix transform cache keys and floating-version routing - #1423

Merged
ije merged 1 commit into
mainfrom
ije/fix-router-cache-and-redirects
Oct 8, 2026
Merged

ije merged 1 commit into
mainfrom
ije/fix-router-cache-and-redirects

Conversation

@ije

@ije ije commented Oct 8, 2026

Copy link
Copy Markdown
Member

Transform requests with different field boundaries could share a cache entry and return the wrong program. Hash length-prefixed UTF-8 fields in both the server and browser loader, with regression coverage for collisions and Unicode.

Preserve the full build path and query when redirecting floating versions. Use the configured npm query TTL for floating types-only responses, while keeping exact versions immutable.

Validation:

  • go test -mod=readonly ./server/...
  • Deno transform integration test against a temporary local server

@ije
ije merged commit 180fa78 into main Oct 8, 2026
5 checks passed
@ije
ije deleted the ije/fix-router-cache-and-redirects branch October 8, 2026 03:57
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.

1 participant