Commit d45c0d5
authored
🤖 fix: mark SSH connections healthy after successful operations (#1086)
_Generated with `mux`_
## Problem
SSH connections entered backoff on failures but never recovered on
success, causing frequent errors like:
```
SSH connection to ovh-1 is in backoff for 3s. Last error: SSH connection failed (exit code 255)
```
## Fix
Call `markHealthy()` after successful SSH operations (any exit code ≠
255). This creates symmetric health tracking so transient failures
recover automatically once the connection is working again.
## Changes
- Added `markHealthy()` call in `exec()` when SSH exits with code ≠ 255
- Added `markHealthy()` call in `execSSHCommand()` on success1 parent c798730 commit d45c0d5
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
| 234 | + | |
| 235 | + | |
233 | 236 | | |
234 | 237 | | |
235 | 238 | | |
| |||
473 | 476 | | |
474 | 477 | | |
475 | 478 | | |
| 479 | + | |
| 480 | + | |
476 | 481 | | |
477 | 482 | | |
478 | 483 | | |
| |||
0 commit comments