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

Log the remote that generates request errors #10332

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Jan 19, 2025

What do these changes do?

Currently we only log that a request error occurred with no information about which remote the error
came from. This made it quite difficult to find
the offending remote

Are there changes in behavior for the user?

The remote address is now found in the logs

Is it a substantial burden for the maintainers to support this?

no

Related issue number

#10331

Currently we only log that a request error occurred
with no information about which remote the error
came from. This made it quite difficult to find
the offending remote
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Jan 19, 2025
@bdraco bdraco added backport-3.11 Trigger automatic backporting to the 3.11 release branch by Patchback robot backport-3.12 Trigger automatic backporting to the 3.12 release branch by Patchback robot labels Jan 19, 2025
Copy link

codecov bot commented Jan 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.77%. Comparing base (58eb2f2) to head (3835d00).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #10332   +/-   ##
=======================================
  Coverage   98.77%   98.77%           
=======================================
  Files         122      122           
  Lines       37038    37038           
  Branches     2041     2041           
=======================================
  Hits        36585    36585           
  Misses        314      314           
  Partials      139      139           
Flag Coverage Δ
CI-GHA 98.66% <100.00%> (ø)
OS-Linux 98.35% <100.00%> (ø)
OS-Windows 96.25% <100.00%> (ø)
OS-macOS 97.46% <100.00%> (ø)
Py-3.10.11 97.35% <100.00%> (-0.01%) ⬇️
Py-3.10.16 97.92% <100.00%> (ø)
Py-3.11.11 98.01% <100.00%> (ø)
Py-3.11.9 97.43% <100.00%> (ø)
Py-3.12.8 98.44% <100.00%> (ø)
Py-3.13.1 98.43% <100.00%> (ø)
Py-3.9.13 97.24% <100.00%> (ø)
Py-3.9.21 97.80% <100.00%> (ø)
Py-pypy7.3.16 97.39% <100.00%> (ø)
VM-macos 97.46% <100.00%> (ø)
VM-ubuntu 98.35% <100.00%> (ø)
VM-windows 96.25% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

codspeed-hq bot commented Jan 19, 2025

CodSpeed Performance Report

Merging #10332 will not alter performance

Comparing log_remote_that_generates_http_error (3835d00) with master (58eb2f2)

Summary

✅ 47 untouched benchmarks

@bdraco bdraco marked this pull request as ready for review January 19, 2025 20:54
Copy link
Member

@asvetlov asvetlov left a comment

Choose a reason for hiding this comment

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

Good addition, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-3.11 Trigger automatic backporting to the 3.11 release branch by Patchback robot backport-3.12 Trigger automatic backporting to the 3.12 release branch by Patchback robot bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants