Skip to content

fix(one): serve route loaders on Node 26 - #1110

Merged
natew merged 2 commits into
mainfrom
oss-fixer/one-2026-11-05-serve-node26
Nov 5, 2026
Merged

natew merged 2 commits into
mainfrom
oss-fixer/one-2026-11-05-serve-node26

Conversation

@natew

@natew natew commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

Validation

  • packages/one vitest src/server/requestAtUrl.test.ts and src/createHandleRequest.test.ts: 31 passed.
  • oxlint on the edited files: no issues.
  • tsc --noEmit reports only the existing missing dist/esm/cli/workerPool.mjs in workerPool.test.ts.

Team-Machine-Session: s171653

natew added 2 commits November 5, 2026 10:45
Node 26.11 brand-checks Request.prototype.duplex. The lightweight request from @hono/node-server does not define duplex, so new Request(url, request) throws Illegal invocation and one serve answers the loader module with 500. Copy the request fields and set duplex only when there is a body.

Validation: packages/one vitest src/server/requestAtUrl.test.ts and src/createHandleRequest.test.ts passed, 31 tests. oxlint reported no issues on the edited files. tsc --noEmit reports only the existing missing dist/esm/cli/workerPool.mjs in workerPool.test.ts.

Team-Machine-Session: s171653
The checks job builds the package and fails when packages/one/types is stale. tamagui-build emitted only this new declaration.

Validation: tamagui-build in packages/one left git status clean under packages/**/types except the new requestAtUrl.d.ts.

Team-Machine-Session: s171653
@natew
natew enabled auto-merge (squash) November 5, 2026 20:55
@natew
natew merged commit 3876637 into main Nov 5, 2026
11 checks passed
@natew
natew deleted the oss-fixer/one-2026-11-05-serve-node26 branch November 28, 2026 00:15
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.

one serve on Node 26.11+ answers route loader requests with 500: TypeError: Illegal invocation from new Request(finalUrl, request)

1 participant