Skip to content

Revert use of WaitGroup.Go#1567

Merged
jsoriano merged 1 commit intoelastic:mainfrom
jsoriano:revert-wg-go
Feb 12, 2026
Merged

Revert use of WaitGroup.Go#1567
jsoriano merged 1 commit intoelastic:mainfrom
jsoriano:revert-wg-go

Conversation

@jsoriano
Copy link
Copy Markdown
Member

@jsoriano jsoriano commented Feb 12, 2026

sync.WaitGroup.Go was introduced in Go 1.25, but the project go.mod files indicate go 1.24. This is not failing in CI because .go-version has a 1.25 version.

By now I would revert the use of this new method, but in the future we should probably keep both versions aligned, or add a CI job that tests with the matrix of versions supported.

Alternatively, as 1.26 has been just released, we could also update everything to 1.25.

@jsoriano jsoriano self-assigned this Feb 12, 2026
@jsoriano jsoriano requested a review from a team as a code owner February 12, 2026 11:40
@jsoriano jsoriano enabled auto-merge (squash) February 12, 2026 11:42
@prodsecmachine
Copy link
Copy Markdown

prodsecmachine commented Feb 12, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

cc @jsoriano

Copy link
Copy Markdown
Contributor

@mrodm mrodm left a comment

Choose a reason for hiding this comment

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

👍

in the future we should probably keep both versions aligned, or add a CI job that tests with the matrix of versions supported.

Agreed!

Could you create an issue for that?
Including that testing will help us validating that our code base supports all the Golang versions according to the go.mod (at least the latest versions of each minor).

@jsoriano jsoriano merged commit a3ff5b6 into elastic:main Feb 12, 2026
5 checks passed
@jsoriano
Copy link
Copy Markdown
Member Author

Could you create an issue for that?

Issue created: #1568

fred-maussion pushed a commit to fred-maussion/package-registry that referenced this pull request Feb 12, 2026
It is not available in Go 1.24, the version used in go.mod files.
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.

4 participants