Repository navigation
ci: bump golangci-lint to v2.15.0 for Go 1.27 support - #194
Merged
Merged
Conversation
parlakisik
requested review from
CoderMungan,
bilersan,
hamzaerbay and
josealekhine
as code owners
October 19, 2026 04:31
golangci-lint v2.13.2 ships a binary built with an older Go and cannot read Go 1.27 export data, failing typecheck with "export data version 5 is greater than maximum supported version 4". v2.15.0 is built with go1.27.0. The newer gosec flags G703 (taint-based path traversal) in test helpers that write under t.TempDir(); exempt it in _test.go alongside the existing G304/G301/G306 test exemptions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NkzfNyJek9zY4fB4LQrDqE Signed-off-by: Claude <noreply@anthropic.com>
parlakisik
force-pushed
the
ci/golangci-lint-go1.27
branch
from
October 19, 2026 04:47
53c0334 to
0debbc4
Compare
Deploying ctx with
|
| Latest commit: |
0debbc4
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://030beef6.ctx-bhl.pages.dev |
| Branch Preview URL: | https://ci-golangci-lint-go1-27.ctx-bhl.pages.dev |
hamzaerbay
approved these changes
Oct 19, 2026
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.
Summary
The
Lintjob fails on every PR (e.g. #193) with a typecheck error that is unrelated to the code under review:golangci-lintv2.13.2 ships a binary built with an older Go and cannot read Go 1.27 export data; CI installs Go 1.27.2.Changes
.github/workflows/ci.yml: pingolangci-lintto v2.15.0 (built with go1.27.0)..golangci.yml: the newer gosec adds G703 (taint-based path traversal), which flags test helpers ininternal/cli/setup/core/codex/deploy_test.gothat write undert.TempDir(). Exempt G703 in_test.goonly, matching the existing G304/G301/G306 test exemptions. Non-test code is still checked.Testing
golangci-lint config verifypasses.golangci-lint run --timeout=5mwith v2.15.0 locally on Go 1.27.1: 0 issues.After this merges,
·@·d·ependabot r·ebaseon #193 should turn its lint check green.Generated by Claude Code