[TT-16342] fix: align plugin compiler Go version with gateway (1.25)#8040
[TT-16342] fix: align plugin compiler Go version with gateway (1.25)#8040buger merged 2 commits intorelease-5.12.1from
Conversation
The gateway goreleaser uses golang-cross:1.25-bullseye but the plugin compiler was still on 1.24-bullseye, causing plugin.Open failures due to Go version mismatch (internal/goarch). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
This pull request synchronizes the Go version used for the plugin compiler with the version used for the main gateway, resolving a runtime incompatibility that prevents plugins from loading. Files Changed AnalysisThe change is minimal and highly targeted, affecting only two configuration files:
Both modifications directly address the version mismatch by updating the Go toolchain. Architecture & Impact Assessment
graph TD
subgraph "Build Environments"
A[Gateway Build] -- uses --> B(Go 1.25)
C[Plugin Compiler Build] -- uses --> D("Go 1.24 ➡️ 1.25")
end
subgraph "Runtime Interaction"
E[Tyk Gateway] -- built with --> B
F[Custom Go Plugin] -- built with --> D
E --|plugin.Open() fails due to mismatch|---x F
end
style D fill:#9f9,stroke:#333,stroke-width:2px
The diagram shows how this PR aligns the plugin compiler's Go version (D) with the gateway's (B), fixing the runtime loading failure. Scope Discovery & Context ExpansionThe scope of this change is confined to the build tooling for Go plugins. However, its impact is significant for the entire plugin ecosystem and any developer creating custom plugins. Without this fix, the plugin development workflow is broken for recent versions of the gateway. The underlying cause, as stated in the PR description, is that the main gateway build process was upgraded to Go 1.25 while the plugin tooling was left behind. This change brings the satellite tooling in line with the core product's toolchain, which is a necessary maintenance step to ensure system coherence. Metadata
Powered by Visor from Probelabs Last updated: 2026-04-16T19:16:34.319Z | Triggered by: pr_updated | Commit: 8e6f07d 💡 TIP: You can chat with Visor using |
✅ Security Check PassedNo security issues found – changes LGTM. ✅ Performance Check PassedNo performance issues found – changes LGTM. ✅ Quality Check PassedNo quality issues found – changes LGTM. Powered by Visor from Probelabs Last updated: 2026-04-16T19:16:28.084Z | Triggered by: pr_updated | Commit: 8e6f07d 💡 TIP: You can chat with Visor using |
|
API Changes no api changes detected |
|
🚨 Jira Linter FailedCommit: The Jira linter failed to validate your PR. Please check the error details below: 🔍 Click to view error detailsNext Steps
This comment will be automatically deleted once the linter passes. |



Summary
golang-cross:1.25-bullseyebut the plugin compiler was still on1.24-bullseyeplugin.Openfailures due to Go version mismatch (internal/goarch)plugin-compiler-build.ymland the plugin compilerDockerfileto use1.25-bullseyeTest plan
plugin.Openworks against a gateway built with 1.25🤖 Generated with Claude Code