Skip to content

feat: Update Go to 1.26.1#18344

Draft
mstrandboge wants to merge 7 commits intoinfluxdata:masterfrom
mstrandboge:go-1.26
Draft

feat: Update Go to 1.26.1#18344
mstrandboge wants to merge 7 commits intoinfluxdata:masterfrom
mstrandboge:go-1.26

Conversation

@mstrandboge
Copy link
Member

@mstrandboge mstrandboge commented Feb 12, 2026

Summary

  • Updates Go to 1.26.1
  • Updates golangci-lint to 2.9.0 (required for Go 1.26 compatibility)
  • Updates goversioninfo to 1.5.0 and adds a new flag to work around an issue in the build tool that happened due to changes with 32-bit windows builds in the new Go update
  • Fixes some new linter warnings
  • Temporarily disables the prealloc linter as it resulted in many many more linter warnings and I think it would be best for this to be done in a separate follow-up PR

Checklist

Related issues

resolves #18248

@mstrandboge mstrandboge self-assigned this Feb 12, 2026
@telegraf-tiger telegraf-tiger bot added the chore label Feb 12, 2026
@orgads
Copy link
Contributor

orgads commented Feb 18, 2026

I pushed #18370 for a minor upgrade (to 1.25.7) that can also be applied to 1.37. Please consider accepting and backporting it before upgrading to 1.26.

@mstrandboge mstrandboge changed the title chore: Update Go to 1.26.0 feat: Update Go to 1.26.0 Feb 18, 2026
@telegraf-tiger telegraf-tiger bot added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Feb 18, 2026
@mstrandboge mstrandboge changed the title feat: Update Go to 1.26.0 feat: Update Go to 1.26.1 Mar 9, 2026
@mstrandboge
Copy link
Member Author

Marking this as draft for now due to issues with the goversioninfo library we are using, and one of the libraries it uses as well:
josephspurrier/goversioninfo#75
akavel/rsrc#48

@mstrandboge mstrandboge marked this pull request as draft March 9, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: support new golang version 1.25.7 (was 1.25.6)

2 participants