Skip to content

[backport 8.19] Bump Go version to 1.25.8 (#10156)#13144

Open
michel-laterman wants to merge 2 commits into8.19from
backport/8.19/pr-10156
Open

[backport 8.19] Bump Go version to 1.25.8 (#10156)#13144
michel-laterman wants to merge 2 commits into8.19from
backport/8.19/pr-10156

Conversation

@michel-laterman
Copy link
Contributor

What does this PR do?

Backport #10156

* Bump Go version to 1.25.1

* Update CHANGELOG entry

* Bump the version of golangci-lint

* Update dev-tools/mage/otel/deps_test.go

Co-authored-by: Panos Koutsovasilis <koutsobill@hotmail.com>

* Remove references to the ms_tls13kdf build tag

* Use mage target specifically intended for fips140=only unit testing

* Download go module dependencies before GODEBUG=fips140=only is set

* [Debugging] Print go test command environment right before command is run

* Revert "[Debugging] Print go test command environment right before command is run"

This reverts commit 079e74c.

* Fix regular expression for matching panicking output

* Run dependencies first

* Append requirefips build tag for fips140=only unit tests

* Fix policy change handler unit tests

* Fix TestDownloadVersion test

* Set GODEBUG=tlsmlkem=0 for test

* No longer necessary

* Formatting fixes

* Remove pre-downloading of go modules

* Revert unit test pipeline changes

* Add GODEBUG=tlsmlkem=0

* s/1.25.1/1.25.2/g

* Go version: s/1.25.2/1.25.4/g

* Update go version in edot go.mod

* s/1.24.4/1.24.5/g

* Remove ms_tls13kdf from TestTagsWithFIPS

* Running go mod tidy

* s/1.25.5/1.25.8/g

* Running go mod tidy and mage notice

* Running mage otel:readme

* Fixing go.mods

* Bumping up beats

* Running go mod tidy

* Update unit tests

* Use Go 1.24's RemoveAll in uninstall

* Wait for fsnotify watcher to be released

* Update internal/pkg/agent/application/upgrade/marker_watcher.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Fix function signature in MarkerFileWatcher

* Use the exact removaAll implementation from Go 1.24

* Add link to the new RemoveAll implementation

* Revert "Use the exact removaAll implementation from Go 1.24"

This reverts commit 88ece11

---------

Co-authored-by: Panos Koutsovasilis <koutsobill@hotmail.com>
Co-authored-by: Mikołaj Świątek <mail@mikolajswiatek.com>
Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
@michel-laterman michel-laterman added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Mar 12, 2026
@michel-laterman michel-laterman requested review from a team as code owners March 12, 2026 21:08
@michel-laterman michel-laterman requested review from blakerouse and ycombinator and removed request for a team March 12, 2026 21:08
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@michel-laterman michel-laterman changed the title [backport] Bump Go version to 1.25.8 (#10156) [backport 8.19] Bump Go version to 1.25.8 (#10156) Mar 12, 2026
Copy link
Member

@ebeahan ebeahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Holding on backporting 1.25.8 upgrade to release branches to discuss FIPS related changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants