Commit c7e7d87
Fix overlay SSH port mapping, connection retry, and error handling robustness
- Use tunnel-mapped SSH port for overlay mount instead of original port
- Add retry with exponential backoff for initial SSH/SFTP connection
- Add SSH connection timeout (10s) to prevent indefinite hangs
- Replace fmt.Sscanf with strconv.Atoi in toInt() for proper error handling
- Log malformed port mappings in devtunnel CLI instead of silently accepting
- Log process kill errors in devtunnel host restart
- Fix off-by-one in overlay retry attempt logging
- Add mapped_ssh_port output from tunnel connect actions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent acd68a6 commit c7e7d87
File tree
4 files changed
+58
-11
lines changed- internal/workflow
- subsystems
- mount
- tunnel
4 files changed
+58
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
133 | 145 | | |
134 | 146 | | |
135 | 147 | | |
| |||
316 | 328 | | |
317 | 329 | | |
318 | 330 | | |
319 | | - | |
| 331 | + | |
320 | 332 | | |
321 | 333 | | |
322 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
323 | 348 | | |
324 | 349 | | |
325 | 350 | | |
| |||
384 | 409 | | |
385 | 410 | | |
386 | 411 | | |
387 | | - | |
388 | | - | |
389 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
390 | 416 | | |
391 | 417 | | |
392 | 418 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | | - | |
186 | | - | |
187 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
188 | 203 | | |
189 | 204 | | |
190 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
227 | 231 | | |
228 | 232 | | |
229 | 233 | | |
| |||
0 commit comments