Skip to content
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

Use go version 1.21.0 in go.mod directives #24688

Merged
merged 12 commits into from
Apr 19, 2024
Merged

Conversation

liustanley
Copy link
Contributor

@liustanley liustanley commented Apr 15, 2024

What does this PR do?

This PR changes the go version from 1.21.9 to 1.21.0 in all go.mod directives.

Motivation

The go version upgrade to 1.21.9 was a breaking change for our components in opentelemetry-collector-contrib which still uses go 1.21 in their go.mod files. When we try to upgrade the datadog-agent dependencies in the collector, this also changes the collector go.mod version to 1.21.9 (example).

opentelemetry-collector-contrib uses a majority of the datadog-agent modules, so we decided to use go 1.21.0 for all of the datadog-agent modules in order to avoid future conflicts.

See slack thread for more context: https://dd.slack.com/archives/C03ER8VH3NY/p1713189823890899

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

@liustanley liustanley changed the title Change OTel modules to go 1.21 Use go version 1.21.0 in go.mod directives Apr 15, 2024
pkg/security/secl/go.mod Outdated Show resolved Hide resolved
pkg/security/seclwin/go.mod Outdated Show resolved Hide resolved
@liustanley liustanley added this to the 7.53.0 milestone Apr 15, 2024
@liustanley liustanley marked this pull request as ready for review April 15, 2024 15:55
@liustanley liustanley requested review from a team as code owners April 15, 2024 15:55
@liustanley liustanley requested a review from mx-psi April 15, 2024 15:55
Copy link
Contributor

@pducolin pducolin left a comment

Choose a reason for hiding this comment

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

Ok for Agent Developer Tools

@liustanley
Copy link
Contributor Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Apr 19, 2024

🚂 MergeQueue

Pull request added to the queue.

This build is next! (estimated merge in less than 49m)

Use /merge -c to cancel this operation!

@dd-mergequeue dd-mergequeue bot merged commit 8549c98 into main Apr 19, 2024
320 of 321 checks passed
@dd-mergequeue dd-mergequeue bot deleted the stanley.liu/go-1.21 branch April 19, 2024 19:53
CelianR pushed a commit that referenced this pull request Apr 26, 2024
Co-authored-by: raphaelgavache <raphael.gavache@datadoghq.com>
alexgallotta pushed a commit that referenced this pull request May 9, 2024
Co-authored-by: raphaelgavache <raphael.gavache@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet