Skip to content

fix(instrumentation): restore deleted net/http/pattern package#4017

Merged
nsrip-dd merged 1 commit into
mainfrom
nick.ripley/restore-net-http-pattern
Oct 2, 2025
Merged

fix(instrumentation): restore deleted net/http/pattern package#4017
nsrip-dd merged 1 commit into
mainfrom
nick.ripley/restore-net-http-pattern

Conversation

@nsrip-dd

@nsrip-dd nsrip-dd commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

The instrumentation/net/http/pattern package was moved by #3853. The
contrib/net/http/v2 module depends on that package at version v2.2.3. As a
result, that verison of contrib/net/http/v2 won't be able to use newer
versions of the main module. This is a breaking change. This PR restores the
deleted package. While the current contrib/net/http/v2 package doesn't use it
any more, this maintains compatibility with previous versions.

@nsrip-dd
nsrip-dd force-pushed the nick.ripley/restore-net-http-pattern branch 2 times, most recently from a1068f8 to 1c82e8f Compare October 2, 2025 14:45
@pr-commenter

pr-commenter Bot commented Oct 2, 2025

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2025-10-02 16:58:52

Comparing candidate commit cb7248e in PR branch nick.ripley/restore-net-http-pattern with baseline commit c7bca81 in branch main.

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

@nsrip-dd
nsrip-dd force-pushed the nick.ripley/restore-net-http-pattern branch from 1c82e8f to 7463f7c Compare October 2, 2025 14:58
@nsrip-dd
nsrip-dd marked this pull request as ready for review October 2, 2025 15:46
@nsrip-dd
nsrip-dd requested a review from a team as a code owner October 2, 2025 15:46

@hannahkm hannahkm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thank you!

@nsrip-dd
nsrip-dd force-pushed the nick.ripley/restore-net-http-pattern branch from 7463f7c to 05f28f2 Compare October 2, 2025 15:55
The instrumentation/net/http/pattern package was moved by #3853.  The
contribu/net/http/v2 module depends on that package at version v2.2.3.
As a result, that verison of contrib/net/http/v2 won't be able to use
newer versions of the main module. This is a breaking change. This
commit restores the deleted package. While the current
contrib/net/http/v2 package doesn't use it any more, this maintains
compatibility with previous versions.
@nsrip-dd
nsrip-dd force-pushed the nick.ripley/restore-net-http-pattern branch from 05f28f2 to cb7248e Compare October 2, 2025 16:42
@nsrip-dd
nsrip-dd enabled auto-merge (squash) October 2, 2025 16:48
@nsrip-dd
nsrip-dd merged commit 6034422 into main Oct 2, 2025
237 checks passed
@nsrip-dd
nsrip-dd deleted the nick.ripley/restore-net-http-pattern branch October 2, 2025 17:04
nsrip-dd added a commit that referenced this pull request Oct 2, 2025
…backport)

The instrumentation/net/http/pattern package was moved by #3853. The
contrib/net/http/v2 module depends on that package at version v2.2.3. As a
result, that verison of contrib/net/http/v2 won't be able to use newer
versions of the main module. This is a breaking change. This commit restores the
deleted package. While the current contrib/net/http/v2 package doesn't use it
any more, this maintains compatibility with previous versions.

In this backport, we don't have the NewSafeError functionality for
telemetry logging. Rather than bring it back to this branch, this commit
just uses the `%T` formatter to get roughly the same functionality.

Backports #4017
darccio added a commit that referenced this pull request Oct 7, 2025
…backport) (#4019)

Co-authored-by: Hannah Kim <[email protected]>
Co-authored-by: Dario Castañé <[email protected]>
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.

3 participants