Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: replace http.DefaultClient in telemetry with dedicated client#20247

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hugodutka merged 1 commit intomainfromfix/telemetry-http-client
Oct 9, 2025

Conversation

hugodutka
Copy link
Contributor

Replaces a call to the http default client in telemetry.go. Looks like it was missed in#20128.

Related tocoder/internal#1020 andcoder/internal#645.

Fixescoder/internal#645The telemetry reporter was using http.DefaultClient which is sharedglobally. When other tests call CloseIdleConnections on the defaultclient, it causes the telemetry HTTP request to fail with"http: CloseIdleConnections called", leading to test flakes.This change replaces http.DefaultClient with the dedicated r.clientthat is already initialized in the remoteReporter struct.Co-authored-by: hugodutka <28019628+hugodutka@users.noreply.github.com>
@hugodutkahugodutka marked this pull request as ready for reviewOctober 9, 2025 16:30
@hugodutkahugodutka merged commit6213b30 intomainOct 9, 2025
34 checks passed
@hugodutkahugodutka deleted the fix/telemetry-http-client branchOctober 9, 2025 16:35
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 9, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@zedkippzedkippzedkipp approved these changes

Assignees

@hugodutkahugodutka

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hugodutka@zedkipp

[8]ページ先頭

©2009-2025 Movatter.jp