Skip to content

Simplify TimeoutError handler: just log, don't attempt forced cleanup

ce4dfcf
Select commit
Loading
Failed to load commit list.
Merged

fix: handle TimeoutError in Actor __aexit__ to prevent resource leaks #776

Simplify TimeoutError handler: just log, don't attempt forced cleanup
ce4dfcf
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 11, 2026 in 1s

81.86% (-0.06%) compared to 56aa42e

View this Pull Request on Codecov

81.86% (-0.06%) compared to 56aa42e

Details

Codecov Report

❌ Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.86%. Comparing base (56aa42e) to head (ce4dfcf).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/apify/_actor.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #776      +/-   ##
==========================================
- Coverage   81.91%   81.86%   -0.06%     
==========================================
  Files          46       46              
  Lines        2693     2696       +3     
==========================================
+ Hits         2206     2207       +1     
- Misses        487      489       +2     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.