next.js
Add statically analyzed Go route and proxy configuration
#101551
Open

Add statically analyzed Go route and proxy configuration #101551

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

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone