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

fix: pin all contribs to dd-trace-go v2.1.0-dev & adjust AWS SDK v2 versions #3285

Merged
merged 3 commits into from
Mar 11, 2025

Conversation

darccio
Copy link
Member

@darccio darccio commented Mar 11, 2025

What does this PR do?

This PR makes sure that AWS SDK v2 versions are aligned with main. It also pins all modules with replace directives against v2.1.0-dev.

Motivation

It avoids accidental upgrades coming from non-production packages like google.golang.org/grpc/examples, as they propagate through go.work.sum and leads to failing CI as not all related packages are not updated properly.

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • System-Tests covering this feature have been added and enabled with the va.b.c-dev version tag.
  • There is a benchmark for any new code, or changes to existing code.
  • If this interacts with the agent in a new way, a system test has been added.
  • Add an appropriate team label so this PR gets put in the right place for the release notes.
  • Non-trivial go.mod changes, e.g. adding new modules, are reviewed by @DataDog/dd-trace-go-guild.
  • For internal contributors, a matching PR should be created to the v2-dev branch and reviewed by @DataDog/apm-go.

Unsure? Have a question? Request a review!

@darccio darccio requested review from a team as code owners March 11, 2025 20:21
@github-actions github-actions bot added the apm:ecosystem contrib/* related feature requests or bugs label Mar 11, 2025
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Mar 11, 2025

Datadog Report

Branch report: dario.castane/aws-sdk-stable-deps
Commit report: 16703df
Test service: dd-trace-go

✅ 0 Failed, 4381 Passed, 65 Skipped, 3m 42.62s Total Time

@pr-commenter
Copy link

pr-commenter bot commented Mar 11, 2025

Benchmarks

Benchmark execution time: 2025-03-11 20:42:33

Comparing candidate commit 666c286 in PR branch dario.castane/aws-sdk-stable-deps with baseline commit 2f0c16f in branch v2-dev.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 54 metrics, 2 unstable metrics.

…add hardcoded instrumentation/testutils/grpc/v2 module
@darccio darccio force-pushed the dario.castane/aws-sdk-stable-deps branch from ac15da9 to 6d96634 Compare March 11, 2025 21:17
@darccio darccio merged commit 5084632 into v2-dev Mar 11, 2025
164 of 170 checks passed
@darccio darccio deleted the dario.castane/aws-sdk-stable-deps branch March 11, 2025 21:29
Comment on lines +111 to +115
// Add the instrumentation/testutils/grpc/v2 module to the identified modules.
// Adding the package to the paths causes issues.
instTestutilsGRPC := "github.com/DataDog/dd-trace-go/instrumentation/testutils/grpc/v2"
modules[instTestutilsGRPC] = filepath.Join(rootDir, "instrumentation", "testutils", "grpc")

Copy link
Member Author

Choose a reason for hiding this comment

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

@RomainMuller I had to introduce this "detected" module to fix the CI after pinning all the modules against v2.1.0-dev, those having the corresponding replace directives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:ecosystem contrib/* related feature requests or bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant