golang: add 1.27 - #30368
Merged
GeorgeSapkin merged 6 commits intoSep 30, 2026
Merged
golang: add 1.27#30368
Conversation
GeorgeSapkin
force-pushed
the
25.12/golang-add-1.27
branch
from
September 3, 2026 17:40
abfc5c9 to
fb14fca
Compare
GeorgeSapkin
marked this pull request as ready for review
September 3, 2026 21:22
1 of 4 tasks
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Pull request overview
Adds a Go 1.27 package definition (host-only) to the OpenWrt packages feed and updates shared Go packaging helpers to support the new series.
Changes:
- Introduce
golang1.27package Makefile and associated smoke/version test scripts. - Adjust shared Go packaging helpers (
golang-version.mk) for stripping helper invocation and host-only packaging metadata. - Fix
-testsextra provides list formatting ingolang-version.mk.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| lang/golang/golang1.27/Makefile | Adds the new Go 1.27 host package definition and build metadata. |
| lang/golang/golang1.27/test.sh | Adds a basic “hello world” runtime smoke test for Go 1.27 packages. |
| lang/golang/golang1.27/test-version.sh | Adds a version assertion test for Go 1.27 packages. |
| lang/golang/golang-version.mk | Updates shared Go packaging logic (strip helper path, host-only flag, extra_provides formatting). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
|
||
| # Don't strip ELF executables in test data | ||
| RSTRIP:=$(subst $(SCRIPT_DIR)/rstrip.sh,go-strip-helper $(SCRIPT_DIR)/rstrip.sh,$(RSTRIP)) | ||
| RSTRIP:=$(subst $(SCRIPT_DIR)/rstrip.sh,../go-strip-helper $(SCRIPT_DIR)/rstrip.sh,$(RSTRIP)) |
1 task done
Contributor
|
#30646 requires this to be merged into 25.12 |
Add Go 1.27 and use the default bootstrap. Changes: https://go.dev/doc/go1.27 Signed-off-by: George Sapkin <george@sapk.in> (cherry picked from commit 57b8455)
Support configuring major version series as host-only (i.e. no target packages) to reduce strain on buildbots in release branches. The goal is to have one major target series and multiple host-only ones. E.g. 25.12 uses 1.26 as the default host/target series and 1.27 and beyond as host-only for packages that require these. Signed-off-by: George Sapkin <george@sapk.in> (cherry picked from commit 4335f00)
Changes: https://github.com/golang/go/issues?q=milestone%3AGo1.27.1+label%3ACherryPickApproved Signed-off-by: George Sapkin <george@sapk.in> (cherry picked from commit 126203c)
GeorgeSapkin
force-pushed
the
25.12/golang-add-1.27
branch
from
September 30, 2026 11:39
fb14fca to
8e171a8
Compare
Don't build target packages and remove unnecessary test scripts. Signed-off-by: George Sapkin <george@sapk.in>
GeorgeSapkin
force-pushed
the
25.12/golang-add-1.27
branch
from
September 30, 2026 18:02
8e171a8 to
d176c64
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maintainer: me
Description:
Backport to 25.12:
Don't build target packages and remove unnecessary test scripts.
[allow cherry-pick]
🧪 Run Testing Details
Tested building and running Syncthing.
✅ Formalities