Skip to content

Conversation

@leandrodamascena
Copy link
Contributor

Issue number: closes #7397

Summary

This PR fixes event loop handling in AsyncBatchProcessor to be compatible with Python 3.14+, where asyncio.get_event_loop() will raise RuntimeError when called without a running event loop.

Changes

Please provide a summary of what's being changed

User experience

Please share what the user experience looks like before and after this change


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@leandrodamascena leandrodamascena requested a review from a team as a code owner October 30, 2025 17:11
@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 30, 2025
@github-actions github-actions bot added the bug Something isn't working label Oct 30, 2025
@codecov
Copy link

codecov bot commented Oct 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.52%. Comparing base (22968fb) to head (1d8f790).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7599      +/-   ##
===========================================
+ Coverage    96.49%   96.52%   +0.03%     
===========================================
  Files          275      275              
  Lines        13110    13114       +4     
  Branches       985      985              
===========================================
+ Hits         12650    12658       +8     
+ Misses         356      353       -3     
+ Partials       104      103       -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@boring-cyborg boring-cyborg bot added the tests label Oct 30, 2025
@pull-request-size pull-request-size bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 30, 2025
@sonarqubecloud
Copy link

@leandrodamascena leandrodamascena self-assigned this Oct 30, 2025
@leandrodamascena leandrodamascena merged commit d08711f into develop Oct 30, 2025
19 checks passed
@leandrodamascena leandrodamascena deleted the fix/batchprocessing-loop branch October 30, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size/M Denotes a PR that changes 30-99 lines, ignoring generated files. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tech debt: Note about asyncio.get_event_loop() failling in Python 3.12+

2 participants