Repository navigation
fix(build): require Go 1.27.3 - #248
Merged
mdelapenya merged 3 commits intoOct 21, 2026
Merged
Conversation
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing: 7
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
mdelapenya
marked this pull request as ready for review
October 21, 2026 09:52
There was a problem hiding this comment.
🔵 Needs a closer look
Cross-platform Docker builds and updated linter compatibility remain unverified and need confirmation.
No open issues 🎉
What changed in this PR
Raises the project’s Go requirement to 1.27.3 to target the crypto/x509 security update and align build tooling.
Changes:
- Updates the minimum Go version and Linux/Windows builder images.
- Makes lint CI read the Go version from
go.modand updates linter configuration. - Simplifies test helpers using newer standard-library APIs.
| File | Description |
|---|---|
windows/Dockerfile |
Updates the builder to Go 1.27 Nano Server. |
reaper_test.go |
Uses slog.DiscardHandler for discarded logs. |
linux/Dockerfile |
Updates the builder to Go 1.27 on Alpine 3.23. |
go.mod |
Requires Go 1.27.3. |
config_test.go |
Uses reflect.Type.Fields() for field iteration. |
.golangci.yaml |
Disables exhaustruct_v5. |
.github/workflows/golangci-lint.yml |
Selects Go using go.mod. |
Review effort: Balanced
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.
Mirrors docker/clipboardbridge#7: require Go 1.27.3 so CI and future releases compile with the
crypto/x509security update.go.mod:go 1.23.9→go 1.27.3. The CI workflows usego-version-file: go.mod, so they follow automatically.linux/Dockerfile/windows/Dockerfile: build stage bumped togolang:1.27-alpine3.23/golang:1.27-nanoserver(no1.27-alpine3.22tag exists), so image builds don't rely on toolchain auto-download.Verification (go1.27.3):
go mod tidy(no changes),go vet ./...,go build ./...,go test ./...all pass. Docker images were not built locally.