Skip to content

Conversation

@jkloetzke
Copy link
Member

No description provided.

Reading from the socket might cause an OSError (e.g.
"ConnectionResetError: [Errno 104] Connection reset by peer"). We must
catch such errors and gracefully handle them in the retry loop. On the
other hand, writing to the local file can cause OSError exceptions too.
This should not happen but in case of "disk full" errors, we can
probably stop retrying.

Fixes BobBuildTool#685.
@codecov
Copy link

codecov bot commented Dec 27, 2025

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 89.37%. Comparing base (95c4a6c) to head (f1913a7).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
pym/bob/scm/url.py 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #686      +/-   ##
==========================================
- Coverage   89.38%   89.37%   -0.01%     
==========================================
  Files          50       50              
  Lines       16396    16401       +5     
==========================================
+ Hits        14655    14658       +3     
- Misses       1741     1743       +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.

@jkloetzke jkloetzke merged commit 3345c28 into BobBuildTool:master Dec 27, 2025
10 of 11 checks passed
@jkloetzke jkloetzke deleted the url-scm-oserror branch December 27, 2025 16:16
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