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

[PR #10569/dfbf782b backport][3.11] Break cyclic references when there is an exception handling a request #10571

Conversation

patchback[bot]
Copy link
Contributor

@patchback patchback bot commented Mar 16, 2025

This is a backport of PR #10569 as merged into master (dfbf782).

What do these changes do?

fixes #10548

Are there changes in behavior for the user?

fixes a potential memory leak

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

no

…#10569)

<!-- Thank you for your contribution! -->

## What do these changes do?

This is a partial fix for #10548

- There is still another case for `SystemRoute`s that needs to be
addressed. No reproducer available yet.
- There is also another case on the client side on connection refused
that still needs to be addressed
#10548 (comment)

## Are there changes in behavior for the user?

fixes memory leak

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

(cherry picked from commit dfbf782)
Copy link

codspeed-hq bot commented Mar 16, 2025

CodSpeed Performance Report

Merging #10571 will not alter performance

Comparing patchback/backports/3.11/dfbf782ba4ea3eabfe052e6224727cf83efdffb5/pr-10569 (edeb2b7) with 3.11 (6357c05)

Summary

✅ 47 untouched benchmarks

@bdraco bdraco enabled auto-merge (squash) March 16, 2025 22:00
Copy link

codecov bot commented Mar 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.09%. Comparing base (771d203) to head (edeb2b7).
Report is 1 commits behind head on 3.11.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             3.11   #10571   +/-   ##
=======================================
  Coverage   98.09%   98.09%           
=======================================
  Files         125      126    +1     
  Lines       37454    37486   +32     
  Branches     4517     4522    +5     
=======================================
+ Hits        36740    36772   +32     
  Misses        538      538           
  Partials      176      176           
Flag Coverage Δ
CI-GHA 97.98% <100.00%> (+<0.01%) ⬆️
OS-Linux 97.68% <100.00%> (+<0.01%) ⬆️
OS-Windows 94.74% <100.00%> (-0.01%) ⬇️
OS-macOS 96.81% <100.00%> (+<0.01%) ⬆️
Py-3.10.11 96.67% <100.00%> (-0.01%) ⬇️
Py-3.10.16 97.25% <100.00%> (+<0.01%) ⬆️
Py-3.11.11 97.27% <100.00%> (+<0.01%) ⬆️
Py-3.11.9 96.75% <100.00%> (+<0.01%) ⬆️
Py-3.12.9 97.75% <100.00%> (+<0.01%) ⬆️
Py-3.13.2 97.74% <100.00%> (+<0.01%) ⬆️
Py-3.9.13 96.59% <100.00%> (+<0.01%) ⬆️
Py-3.9.21 97.15% <100.00%> (+<0.01%) ⬆️
Py-pypy7.3.16 96.71% <57.14%> (-0.01%) ⬇️
VM-macos 96.81% <100.00%> (+<0.01%) ⬆️
VM-ubuntu 97.68% <100.00%> (+<0.01%) ⬆️
VM-windows 94.74% <100.00%> (-0.01%) ⬇️

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.

@bdraco bdraco merged commit 6ae2570 into 3.11 Mar 16, 2025
36 checks passed
@bdraco bdraco deleted the patchback/backports/3.11/dfbf782ba4ea3eabfe052e6224727cf83efdffb5/pr-10569 branch March 16, 2025 22:11
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.

1 participant