-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: bump go to 1.23.4 #5309
base: main
Are you sure you want to change the base?
feat: bump go to 1.23.4 #5309
Conversation
This pull request does not have a backport label. Could you fix it @kruskall? 🙏
NOTE: |
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
This cannot be merged or get a green CI until 1.23 is released here https://github.com/elastic/golang-crossbuild A PR would also need to be done for github.com/elastic/beats as we want to keep the go versions in sync between Elastic Agent and beats. |
This pull request is now in conflicts. Could you fix it? 🙏
|
@ycombinator Automation only bumps minors of golang, not majors. Golang 1.22 required me to do a manual PR - #5036 |
/package |
IIUC,
/package is a valid command
|
d6abf5e
to
d0203a6
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
@v1v seems to fail with |
Unfortunately, I don't know much about this project's existing build and CI system. AFAIS, those are not related to the packaging but the build/test itself. Maybe those CI runners have been configured with some tools and https://github.com/andrewkroh/gvm is the tool If I recall correctly and I cannot reproduce the error locally using macOS m2: elastic-agent/.buildkite/scripts/common.sh Lines 12 to 14 in f29717e
Let me contribute to your PR and see if it works; otherwise, it's worth asking the @elastic/ingest-eng-prod or @elastic/elastic-agent-control-plane if they know what's happening. |
After bumping the version in
|
AFAIU, the packaging stage does not run for forked PRs even when using the |
|
|
This pull request is now in conflicts. Could you fix it? 🙏
|
One of the failed tests actually has the status error message:
Line 24 in 54932dc
elastic-agent/pkg/core/process/process.go Lines 169 to 173 in 54932dc
This is the Windows job hierarchy we create between the agent and sub-processes so that agent terminating also terminates the sub-processes like it does on Linux. |
f41ae3f
to
b3ccf56
Compare
b3ccf56
to
a3fc29d
Compare
a3fc29d
to
d8e5cc5
Compare
CI is failing on a couple of tests —
This is happening after retrying those build steps so it doesn't look like a flaky test issue. Also, this type of failure isn't currently being observed on @kruskall do you mind investigating what's going on? Thanks. |
Yup, it's the same failure since 1.23.0. I don't know what's going on :( I'll try to look into it, if anyone has any idea please feel free to chime in |
There are diagnostics captured for the |
Quality Gate passedIssues Measures |
What does this PR do?
Update dockerfile go versions
Update documentation go version
Update go.mod
Remove go version from golangci config so it
defaults to the one used in go.mod
Why is it important?
Bump to the latest go version: https://go.dev/doc/go1.23
Also adds some nice feature that allows us to drop two more dependency (x/exp and copy)
Checklist
./changelog/fragments
using the changelog toolDisruptive User Impact
How to test this PR locally
Related issues
Questions to ask yourself