next.js
switchyard: run Go code on at most 4 threads
#101901
Merged

switchyard: run Go code on at most 4 threads #101901

jamiboym merged 33 commits into canary from jamiboym/front-gomaxprocs-2e3aee
jamiboym
jamiboym Add an experimental Go front server for next start
b9c231d2
jamiboym next-front: wait for hijacked custom-status responses on shutdown
68fdbfac
jamiboym next-front: time out request headers after 60 s, like Node
28bd6684
jamiboym next-front: find the binary through one seam, build it only on opt-in
9e4e5561
jamiboym next-front: take every behavior value from Node
e933f946
jamiboym Add e2e coverage for next start's HTTP and process behavior
ff7adb51
jamiboym Merge branch 'jamiboym/next-start-http-tests' into jamiboym/front-ser…
4e683d7f
jamiboym next-front: clearer comments in the launcher and start-server
9844965f
jamiboym next-front: clarify the Rewrite and Content-Type comments
e62bb1e4
jamiboym next-front: label each line that undoes a Go default
f1090534
jamiboym next-front: explain Go's defaults in plain comments, without labels
071c9c73
jamiboym next-front: time out whole requests like Node, forward OPTIONS *
25f37625
jamiboym next-front: build only this machine's binary on opt-in
f1c3d196
jamiboym ci: run test-front-server-prod only for front server changes and canary
eb6ef9c4
jamiboym ci: run next-front's Go unit tests in test-front-server-prod
16eb1749
jamiboym next-front: run Go code on at most 2 threads
ac6a7545
jamiboym Merge remote-tracking branch 'origin/canary' into jamiboym/next-start…
91b03765
jamiboym Merge branch 'jamiboym/next-start-http-tests' into jamiboym/front-ser…
4f13a58d
vercel
github-actions
github-actions github-actions added type: next
vercel
vercel approved these changes on 2026-11-17
jamiboym Merge remote-tracking branch 'origin/canary' into jamiboym/front-serv…
949f4427
jamiboym next-front: answer during uploads, keep trailers, rebuild on edits
8e7b55c4
jamiboym Merge branch 'jamiboym/front-server-stage1-30a83e' of github.com:verc…
0731dcf6
vercel
vercel approved these changes on 2026-11-18
timneutkens Fix front server upgrades and cover forwarding regressions
b58bd9f5
timneutkens Fix cancellation for custom-status front server responses
421a80ea
timneutkens Use Go's standard reason phrases in next-front
98d165b6
jamiboym next-front: fix Host fallback, cancel logging, and zero timeouts
079ebadd
jamiboym next-front: close the connection after an answer sent mid-upload
4dd0edb7
jamiboym Merge branch 'jamiboym/front-server-stage1-30a83e' of github.com:verc…
a9dddca3
Base automatically changed from jamiboym/front-server-stage1-30a83e to canary 13 days ago
jamiboym Merge branch 'canary' of github.com:vercel/next.js into jamiboym/fron…
64f29a75
jamiboym jamiboym changed the title next-front: run Go code on at most 2 threads switchyard: run Go code on at most 2 threads 13 days ago
vercel
vercel approved these changes on 2026-11-19
jamiboym switchyard: raise the thread limit to 4
e1cc33f0
jamiboym jamiboym changed the title switchyard: run Go code on at most 2 threads switchyard: run Go code on at most 4 threads 13 days ago
vercel
vercel approved these changes on 2026-11-19
jamiboym Merge branch 'canary' of github.com:vercel/next.js into jamiboym/fron…
619d8b2e
vercel
vercel approved these changes on 2026-11-20
jamiboym switchyard: return the thread count to use instead of a limit and a flag
11e5201b
vercel
vercel approved these changes on 2026-11-20
jamiboym jamiboym marked this pull request as ready for review 12 days ago
jamiboym switchyard: read GOMAXPROCS as Go does, and set the limit only when i…
1493b22a
vercel
vercel approved these changes on 2026-11-20
jamiboym Merge remote-tracking branch 'origin/canary' into jamiboym/front-goma…
2cbb7103
vercel
vercel approved these changes on 2026-11-21
vercel
jamiboym jamiboym merged 04aeaa02 into canary 9 days ago
jamiboym jamiboym deleted the jamiboym/front-gomaxprocs-2e3aee branch 9 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone