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

all: downgrade google.golang.org/protobuf and golang.org/x/exp dependencies #2212

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

nsrip-dd
Copy link
Contributor

@nsrip-dd nsrip-dd commented Sep 7, 2023

What does this PR do?

Downgrades the golang.org/x/exp and google.golang.org/protobuf dependencies to
what they were prior to #2171.

Motivation

A recent change to golang.org/x/exp/slices introduced an incompatibility which
affects some of our downstream users. Additionally, upgrading the
google.golang.org/protobuf dependency introduces lots of churn from differences
in generated protobuf code. Neither dependency upgrade was needed by this
library to address issues or use new features.

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • 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.

For Datadog employees:

  • If this PR touches code that handles credentials of any kind, such as Datadog API keys, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

Unsure? Have a question? Request a review!

…encies

A recent change to golang.org/x/exp/slices introduced an incompatibility
which affects some of our downstream users. Additionally, upgrading the
google.golang.org/protobuf dependency introduces lots of churn from
differences in generated protobuf code. Neither dependency upgrade was
needed by this library to address issues or use new features. Downgrade
these dependencies to what they were prior to #2171.
@pr-commenter
Copy link

pr-commenter bot commented Sep 7, 2023

Benchmarks

Benchmark execution time: 2023-09-07 19:55:32

Comparing candidate commit d2af2fa in PR branch nick.ripley/downgrade-protobuf-and-exp with baseline commit c487104 in branch main.

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

@nsrip-dd nsrip-dd marked this pull request as ready for review September 8, 2023 12:34
@nsrip-dd nsrip-dd requested a review from a team as a code owner September 8, 2023 12:34
@nsrip-dd nsrip-dd merged commit 43a4d91 into main Sep 8, 2023
@nsrip-dd nsrip-dd deleted the nick.ripley/downgrade-protobuf-and-exp branch September 8, 2023 12:40
nsrip-dd added a commit that referenced this pull request Sep 8, 2023
…encies (#2212)

A recent change to golang.org/x/exp/slices introduced an incompatibility
which affects some of our downstream users. Additionally, upgrading the
google.golang.org/protobuf dependency introduces lots of churn from
differences in generated protobuf code. Neither dependency upgrade was
needed by this library to address issues or use new features. Downgrade
these dependencies to what they were prior to #2171.
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.

2 participants