Commit e5b1ac6
fix: add curl connect-timeout and max-time to prevent hangs on Windows
The binary download and checksums download curl calls had no timeout
options, causing them to hang indefinitely if a connection stalled.
This was most visible on Windows GitHub Actions runners where the
CI job ran for 3 hours before being killed.
Add --connect-timeout 15 --max-time 120 to the binary download and
--connect-timeout 15 --max-time 60 to the checksums download so the
retry loop can cycle and eventually fail with a clear error instead
of hanging forever.
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/1b540671-88f4-4de1-a709-01352e1f5788
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>1 parent d4d43bb commit e5b1ac6
2 files changed
Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
0 commit comments