Skip to content

chore: batch #1255 (S22 content-negotiation pilot) and #1302 (zod 4.6.6) - #1319

Merged
ivogt merged 5 commits into
mainfrom
batch/1255-1302
Oct 28, 2026
Merged

ivogt merged 5 commits into
mainfrom
batch/1255-1302

Conversation

@ivogt

@ivogt ivogt commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

devcorner: rango-t84 · session rango-s448

This batch lands #1255 and #1302 on main together, with one CI run. Each PR's head is merged with --no-ff, so both PRs close as merged when this does.

PR What Ticket
#1255 S22 pilot: content-negotiation HTTP-only e2e moves to dispatch and serveShellRequest unit suites rango-t150
#1302 zod 4.4.3 to 4.6.6, used only by apps/docs none

Neither changes router source, and no consumer-visible behaviour changes. The CHANGELOG is unchanged.

How it was built

Checks on the batch head

These passed on 637c4182f before the push, with the worktree's own install from the lockfile (zod 4.6.6 in apps/docs):

  • pnpm run typecheck.

  • pnpm run test:unit:all:

    • router: 9635 unit tests, and 1520 RSC tests plus 3 expected-fail pins;
    • every consumer app.

    The new content-negotiation.rsc-test.tsx suites run in the router and in cloudflare-basic.

  • pnpm run lint and pnpm run format.

  • Every check:* script, including check:e2e-parity --strict.

  • check:bundle-guards: the router chunk is 52279 B gzip, unchanged.

  • node --test on the tools tests: 63/63.

  • The apps/docs build on zod 4.6.6, including its shell prerender: 100 entries.

Each PR was green on its own head: #1255 61/61 at cee1c0189, and #1302 61/61 at ad95a14a6.

Practices

ivogt and others added 5 commits October 24, 2026 00:03
…st unit suites (S22 pilot)

The HTTP-only content-negotiation e2e cases (79 tests across the router
test-app and cloudflare-basic, dev and production) move to unit suites
that run the production request path: dispatch for a response variant's
win, serveShellRequest for a page route's win and its document or flight
representation. Each app keeps one dev and one production smoke for what
a unit suite cannot see: the route trie the build emits and the real SSR
document (and workerd, in cloudflare-basic).

cloudflare-basic's negotiated routes move into src/pages/negotiation.tsx,
included without a name scope, so its unit suite dispatches the app's own
routes. Route names and router.named-routes.gen.ts are unchanged. The
test-app's /negotiate-mw-test, used only by the removed e2e cases, is
removed and its generated route files regenerated. The testing skill notes
that a negotiated URL's page-route win goes through serveShellRequest.
Bumps [zod](https://github.com/colinhacks/zod) from 4.4.3 to 4.6.6.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](colinhacks/zod@v4.4.3...v4.6.6)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.6.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@pkg-pr-new

pkg-pr-new Bot commented Oct 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@rangojs/router@1319

commit: 637c418

@ivogt
ivogt merged commit f55bc7e into main Oct 28, 2026
61 checks passed
@ivogt
ivogt deleted the batch/1255-1302 branch October 28, 2026 18:18
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