next.js
Add statically analyzed Go route and proxy configuration
#101551
Open
Go
Login via GitHub
Home
FAQ
Install
Login
via GitHub
Overview
Commits
109
Changes
View On
GitHub
Add statically analyzed Go route and proxy configuration
#101551
timneutkens
wants to merge 109 commits into
canary
from
codex/proxy-go-config
Add experimental native Go proxy support
57d79281
Fix proxy.go CI and URL normalization
3d8858f4
Unify Go enablement and clarify native proxy endpoints
e4332187
Defer native Go proxy configuration to a follow-up
ffe0b49c
github-actions
added
created-by: Turbopack team
github-actions
added
tests
github-actions
added
type: next
Fix Go proxy relative URLs, body framing, and Date headers
cb25107c
timneutkens
force pushed
from
8ac86ad9
to
b37fd4ef
15 days ago
vercel
dismissed these changes on 2026-11-11
Frame forwarded Go route bodies after header overrides
83659f70
timneutkens
force pushed
from
b37fd4ef
to
a4d00a71
15 days ago
vercel
dismissed these changes on 2026-11-11
Preserve locale prefixes for native proxies with URL normalization di…
f2a95d99
timneutkens
force pushed
from
a4d00a71
to
ce6cb53a
15 days ago
vercel
dismissed these changes on 2026-11-11
Replace Go proxy fixture README with API documentation
2a6820bb
timneutkens
force pushed
from
ce6cb53a
to
5f85fe1f
15 days ago
vercel
dismissed these changes on 2026-11-11
Name Go proxy URL normalization fixture for its purpose
ccaf8c02
timneutkens
force pushed
from
5f85fe1f
to
84c1fce8
15 days ago
vercel
dismissed these changes on 2026-11-11
Clarify Go file convention output limitations
94a8cc22
timneutkens
force pushed
from
84c1fce8
to
fbec3b92
15 days ago
vercel
dismissed these changes on 2026-11-11
Refine Go proxy transport, discovery, and diagnostics
d238efa2
timneutkens
force pushed
from
fbec3b92
to
015ab18f
15 days ago
vercel
dismissed their stale review
15 days ago
Vercel Agent's latest review does not approve this pull request under the repository's review policy.
vercel
dismissed their stale review
15 days ago
Vercel Agent's latest review does not approve this pull request under the repository's review policy.
vercel
dismissed their stale review
15 days ago
Vercel Agent's latest review does not approve this pull request under the repository's review policy.
vercel
dismissed their stale review
15 days ago
Vercel Agent's latest review does not approve this pull request under the repository's review policy.
vercel
dismissed their stale review
15 days ago
Vercel Agent's latest review does not approve this pull request under the repository's review policy.
vercel
dismissed their stale review
15 days ago
Vercel Agent's latest review does not approve this pull request under the repository's review policy.
Harden Go proxy response error handling
2d1d5ef6
timneutkens
force pushed
from
015ab18f
to
0f56a198
15 days ago
Describe Go middleware with explicit runtime metadata
05b0fcde
timneutkens
force pushed
from
0f56a198
to
29dcaf4f
14 days ago
Add Go proxy helper examples
5f299fb1
timneutkens
force pushed
from
29dcaf4f
to
d878f57e
14 days ago
Keep middleware routing and execution metadata together
067a986a
timneutkens
force pushed
from
d878f57e
to
7d3e2d87
14 days ago
Release Go proxy workers after request setup errors
678ac08c
Fix Go proxy external rewrite body framing
2e457537
Fix GET and HEAD Go proxy body framing
1cb6aafa
Preserve original Host in Go proxy
750dddb1
Pass Go proxy request overrides through routing options
89f28bbb
timneutkens
force pushed
from
7d3e2d87
to
4b6dc526
13 days ago
Expose Go proxy cookies in the downstream render
c63c3526
timneutkens
force pushed
from
4b6dc526
to
a70506ea
12 days ago
Preserve Flight headers with empty proxy overrides
b7559bc7
timneutkens
force pushed
from
a70506ea
to
b7b5d742
12 days ago
Address Go proxy build review comments
5646bf79
timneutkens
force pushed
from
b7b5d742
to
59205200
12 days ago
Document native proxy response passthrough follow-up
11877e01
Add statically analyzed Go route and proxy configuration
d022057d
Wire Go proxy deployment hints in the configuration layer
688ea57d
timneutkens
force pushed
from
59205200
to
688ea57d
12 days ago
Normalize RSC URLs in Go proxy
080f2fe9
github-actions
added
Turbopack
This reverts 080f2fe9. The fix now lives in the base PR (#101464).
c0c51d9c
Turbopack already parses every Go entrypoint package to find its hand…
b2e45ce3
Describe Go values only for the entrypoint file
f38c3ae6
Parse only the Go entrypoint file for declarations
aa65ce1e
github-actions
added
Documentation
Limit Go proxy config to matchers, like proxy.ts
475a19b3
Base automatically changed from
codex/proxy-go
to
canary
10 days ago
Declare Go route config as separate values, like route.ts
011ceda3
Drop PreferredRegion from Go routes; it is deprecated for route.ts
4898d245
Map the next/go SDK to the installed next package
f3cb729f
Take canary's versions of files #101464 changed, before merging canary
c3375a40
Merge canary into codex/proxy-go-config
cbb4117a
vercel
commented on 2026-11-16
Reapply this PR's changes on top of canary
826a5d3a
Map next/go in next build too, like tsconfig.json
45bdfad7
Add the next/go SDK with Go Proxy helpers
fab24d7a
Take #101874's versions of overlapping files, before merging it
4568e6ee
Merge codex/go-sdk (#101874) into codex/proxy-go-config
6c88f457
Keep only the static Go config changes on top of #101874
ceb1c4ff
Restore canary files brought in by the #101874 merge
e2110535
timneutkens
changed the base branch from
canary
to
codex/go-sdk
10 days ago
Add the next/go requirement, track packages in replaced modules, fix CI
29550dea
Take #101874's route-go docs before merging it
33622b74
Merge codex/go-sdk into codex/proxy-go-config
821da4e8
Restore config docs and declare the POST fixture handler in route.go
bcb70ced
Co-authored-by: vercel-v[bot] <353008837+vercel-v[bot]@users.noreply.…
7adaa602
Detect next/go imports in route directories and fix the Windows SDK t…
868de2b6
Merge canary into codex/go-sdk
ae4a522e
Take #101874's route-go docs and build/index.ts before merging it
c63e5c1f
Merge codex/go-sdk into codex/proxy-go-config
28fdc6d7
Restore static config imports and docs on top of the updated #101874
c7661e2d
Retry spawning a Go worker while its executable is still busy
4bcfc0a9
Document the pre-existing as-any cast for the Go Proxy dev entry
ba80b6a4
Merge codex/go-sdk into codex/proxy-go-config
0706b8eb
Let modules declaring go 1.24 use the next/go SDK
109ad2e6
Merge codex/go-sdk into codex/proxy-go-config
a74ff344
Lower the next/go go line, warn about imports outside a module, leave…
5a878626
Tidy the next/go README module mapping list
8b47a4f4
Merge codex/go-sdk into codex/proxy-go-config
728d0ab7
Match codex/go-sdk's next/go setup paragraph before merging it
1ebeb824
Merge codex/go-sdk into codex/proxy-go-config
a29b8c55
Reject typed MaxDuration, report invalid proxy.go Config in dev, vali…
697c68da
vercel
commented on 2026-11-23
Merge canary into codex/go-sdk
24c44165
Take canary's app.rs before merging the updated codex/go-sdk (resolut…
ae2b9b04
Merge codex/go-sdk into codex/proxy-go-config
4ae1a14d
Resolve app.rs: keep canary's missing-handler guard ahead of entry-on…
d3711034
Fail dev requests while proxy.go Config is invalid instead of skippin…
4627e75c
Take canary's versions of the two conflicting files before merging ca…
ef4dc141
Merge canary into codex/go-sdk
c2f26bcf
Resolve canary conflicts: keep strconv for #102011's URL normalizatio…
aefb3552
Fix Go proxy callers canary added, retry Go compiles that race edits,…
9d8bb828
Reject Go proxy request targets with a literal # instead of truncatin…
2ad1ce4e
Sync next/go in go.mod on Go recompiles, fail builds on input races, …
0806632f
Sync next/go only when a Go endpoint's result changes, skip testdata …
103a7ebe
Simplify the proxy.go docs to what users need
ec708788
Move Go proxy helpers into next/go/proxy with functional options
2980304f
Prepare Go proxy package integration with the updated SDK
e2346bb5
Merge the proxy SDK package into the configuration stack
82132b1d
Use proxy.Config, proxy.Matcher and proxy.Condition in Go configuration
4bcf9f77
Integrate the proxy subpackage API in Go configuration
4dff529c
Handle Go-rejected route paths and simplify Go setup documentation
70cd48b8
Carry SDK review-comment fixes into Go configuration
01c7fe0c
Align SDK discovery with native inputs and isolate offline Go probing
15dd4cd8
Fail closed on Go proxy compilation errors and recover matcher valida…
95264d3f
Prepare the SDK README merge for the configuration stack
fa7481bb
Merge the SDK input-discovery fixes into configuration
f802f75e
Keep static configuration documentation after the SDK fixes
fada9593
Complete the SDK and configuration review fixes
645b127d
Use lint-recognized test blocks for platform-specific SDK cases
dec4da79
Carry the SDK regression-test lint fix into configuration
1ca1b7d3
Restore Go Proxy documentation caveats
e5f9a03b
timneutkens
marked this pull request as ready for review
1 day ago
vercel
commented on 2026-11-25
vercel
requested a review
from
devjiwonchoi
1 day ago
vercel
requested a review
from
mischnic
1 day ago
vercel
requested a review
from
sokra
1 day ago
vercel
requested a review
from
wbinnssmith
1 day ago
Merge canary into codex/go-sdk
8f2bdc77
Merge updated Go SDK into static configuration
b9f0a673
Preserve Go route handlers declared in sibling files
a99a451e
Preserve sibling Go proxies and reuse compiler diagnostics
120eea48
Base automatically changed from
codex/go-sdk
to
canary
7 hours ago
Merge Go SDK documentation review fixes
4746509c
Adapt Go config analysis to importable packages
3cf4151f
timneutkens
force pushed
from
4a0bd9ed
to
3cf4151f
7 hours ago
Compile Go proxy matchers independently of static page analysis
e361b447
mischnic
commented on 2026-11-26
mischnic
commented on 2026-11-26
Type Go declarations and stabilize native endpoint paths
6cdca05a
Align Go proxy header conditions with native forwarding
cbc03328
vercel
dismissed these changes on 2026-11-26
Reject ambiguous Go proxy condition headers
f9ccf995
vercel
dismissed their stale review
3 hours ago
Vercel Agent Verified Review reviewed a newer commit and no longer requests changes: dismissing its change request on an earlier commit.
vercel
requested a review
from
bgw
3 hours ago
mischnic
commented on 2026-11-26
mischnic
commented on 2026-11-26
mischnic
commented on 2026-11-26
mischnic
commented on 2026-11-26
Address Go proxy review feedback and adapter safety
ea0c26c2
mischnic
commented on 2026-11-26
mischnic
commented on 2026-11-26
Keep native header preparation in standalone traces
120d1f66
Drop unsupported Go proxy locale expansion
aad9b9c5
Support Go proxy conditions in adapter builds
bf06ec67
vercel
commented on 2026-11-26
Validate duplicate cookie conditions before routing
f082284d
Login to write a write a comment.
Login via GitHub
Reviewers
vercel
mischnic
devjiwonchoi
sokra
wbinnssmith
bgw
Assignees
No one assigned
Labels
type: next
Documentation
Turbopack
created-by: Turbopack team
tests
Milestone
No milestone