Skip to content

Conversation

@mbhutton
Copy link
Contributor

Before committing to backing out that connection reuse commit, reassert that the CI test failure is still active with the current version of Python, things.py, and its dependencies.

If this still fails tests in CI, I'll delete/discard this PR. Otherwise, I'll suggest leaving the connection reuse commit in place.

This reverts commit 0ed2f9d.

This addresses a CI test warning: 'ResourceWarning: unclosed database'.
@codecov-commenter
Copy link

codecov-commenter commented Feb 22, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.12%. Comparing base (ff54025) to head (cca936f).
Report is 40 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #131      +/-   ##
==========================================
- Coverage   99.34%   99.12%   -0.22%     
==========================================
  Files           3        3              
  Lines         455      458       +3     
==========================================
+ Hits          452      454       +2     
- Misses          3        4       +1     

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

@mbhutton mbhutton marked this pull request as draft February 22, 2025 22:29
@sonarqubecloud
Copy link

@mbhutton
Copy link
Contributor Author

Closing this PR in favour of a better approach using weakref.finalize

@mbhutton mbhutton closed this Feb 22, 2025
@mbhutton mbhutton deleted the temp/do-reuse-db-connection branch February 22, 2025 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants