Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed SSHClientConnection closing #311

Merged
merged 45 commits into from
Dec 17, 2023
Merged

Fixed SSHClientConnection closing #311

merged 45 commits into from
Dec 17, 2023

Conversation

LanderOtto
Copy link
Collaborator

@LanderOtto LanderOtto commented Dec 10, 2023

This commit fixes the SSHClientConnection closing. Futhermore, ConnectionError are catched and SSHClientConnection is closed to avoid problems with concurrent pending connections.

@codecov-commenter
Copy link

codecov-commenter commented Dec 10, 2023

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (37ae15c) 66.01% compared to head (f6e7543) 65.99%.
Report is 1 commits behind head on master.

Files Patch % Lines
streamflow/deployment/connector/ssh.py 55.55% 7 Missing and 1 partial ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #311      +/-   ##
==========================================
- Coverage   66.01%   65.99%   -0.03%     
==========================================
  Files          82       82              
  Lines       10235    10247      +12     
  Branches     2420     2422       +2     
==========================================
+ Hits         6757     6762       +5     
- Misses       3044     3050       +6     
- Partials      434      435       +1     

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

@LanderOtto LanderOtto force-pushed the fix/transfer branch 4 times, most recently from b3b2c6d to f4cab90 Compare December 13, 2023 16:58
@LanderOtto LanderOtto changed the title TMP - Fixed unit tests Fixed SSH closing Dec 13, 2023
@LanderOtto LanderOtto changed the title Fixed SSH closing Fixed SSHClientConnection closing Dec 13, 2023
@GlassOfWhiskey GlassOfWhiskey merged commit e39b9f9 into master Dec 17, 2023
31 checks passed
@GlassOfWhiskey GlassOfWhiskey deleted the fix/transfer branch December 17, 2023 14:45
LanderOtto added a commit that referenced this pull request Dec 18, 2023
This commit fixes the anomalous `SSHClientConnection` closing
caused by an improper handling of the `SSHContext` internal
logic.

Furthermore, now `ConnectionError` exceptions are catched
and connections are properly handled in order to avoid
problems with concurrent pending connections.
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.

3 participants