Skip to content

Conversation

@gitttt-1234
Copy link
Collaborator

This PR resolves an inference stalling issue. Previously, when users interrupted execution with Ctrl+C, the SIGINT signal was caught but the Python process continued hanging. With this fix, the process now exits cleanly when interrupted.

@gitttt-1234 gitttt-1234 linked an issue Sep 17, 2025 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Sep 17, 2025

Codecov Report

❌ Patch coverage is 85.50725% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.52%. Comparing base (ff91433) to head (913e862).
⚠️ Report is 37 commits behind head on main.

Files with missing lines Patch % Lines
sleap_nn/inference/predictors.py 85.07% 10 Missing ⚠️

❌ Your patch status has failed because the patch coverage (85.50%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #331      +/-   ##
==========================================
- Coverage   95.28%   93.52%   -1.77%     
==========================================
  Files          49       49              
  Lines        6765     6931     +166     
==========================================
+ Hits         6446     6482      +36     
- Misses        319      449     +130     

☔ 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.

@gitttt-1234 gitttt-1234 merged commit 1833884 into main Sep 18, 2025
7 of 8 checks passed
@gitttt-1234 gitttt-1234 deleted the divya/fix-inf-stalling branch September 18, 2025 05:01
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.

Cancelling inference hangs the process

2 participants