Skip to content

Upgrade Go version to 1.26#1022

Merged
pskrbasu merged 5 commits intodevelopfrom
pskr/upgrade-go-1.26
Feb 27, 2026
Merged

Upgrade Go version to 1.26#1022
pskrbasu merged 5 commits intodevelopfrom
pskr/upgrade-go-1.26

Conversation

@pskrbasu
Copy link
Collaborator

Summary

  • Upgrade Go version from 1.24 to 1.26 across the project
  • Update go.mod to go 1.26.0 (toolchain directive removed as redundant)
  • Update all CI workflow files (01-powerpipe-release, 10-test-lint, 11-test-acceptance) to use Go 1.26

Test plan

  • Verify CI lint workflow passes with Go 1.26
  • Verify acceptance tests build and run with Go 1.26
  • Verify release workflow builds correctly

🤖 Generated with Claude Code

pskrbasu and others added 5 commits February 25, 2026 12:48
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
golangci-lint v1.64.8 was built with Go 1.24 and cannot lint Go 1.26 code.
Upgrade to golangci-lint v2 (action v9.2.0) and migrate config to v2 format:
- Remove gosimple (merged into staticcheck) and typecheck (removed)
- Rename linters-settings to linters.settings
- Replace disable-all with default: none
- Move issues.exclude-dirs to linters.exclusions.paths

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
v2 requires map format with explicit 'pattern' key instead of plain strings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Configure staticcheck to exclude ST* (stylecheck) and QF* (quickfix) checks
that were merged into staticcheck in v2 but not previously enabled.

Add exclusion presets (std-error-handling, common-false-positives, legacy)
and rules for remaining gosec codes (G101, G602, G706) to suppress
pre-existing findings newly surfaced by stricter v2 linter versions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace text-pattern exclusion rules for G101/G602/G706 with gosec's
built-in excludes setting, which is the intended mechanism for disabling
specific gosec checks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pskrbasu pskrbasu merged commit 4908fe6 into develop Feb 27, 2026
24 checks passed
@pskrbasu pskrbasu deleted the pskr/upgrade-go-1.26 branch February 27, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants