Commit 623d0ea
fix: add 5-min job timeout and wrap Windows binary verification with 30s timeout
The Windows CI job was hanging in the install script at the binary
verification step (lines 376/399): `"$BINARY_PATH" --help` and
`"$BINARY_PATH" version` can stall indefinitely while Windows Defender
scans the newly downloaded executable.
- .github/workflows/install.yml: add `timeout-minutes: 5` to the
test-install job so a hung Windows runner is killed in under 5 minutes
instead of consuming the full runner quota (previously 3+ hours)
- install-gh-aw.sh / actions/setup-cli/install.sh: set BINARY_EXEC_TIMEOUT
to `timeout 30` on Windows, wrap both binary verification calls with it;
on timeout emit a warning and continue rather than failing the install
(the binary has already passed checksum verification so it is safe to use)
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/9be8cef1-6312-4362-a598-ab4c831a4838
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>1 parent 80b5995 commit 623d0ea
3 files changed
Lines changed: 39 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
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 | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
374 | 382 | | |
375 | 383 | | |
376 | | - | |
| 384 | + | |
| 385 | + | |
377 | 386 | | |
378 | 387 | | |
379 | | - | |
380 | | - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
381 | 395 | | |
382 | 396 | | |
383 | 397 | | |
| |||
396 | 410 | | |
397 | 411 | | |
398 | 412 | | |
399 | | - | |
| 413 | + | |
| 414 | + | |
400 | 415 | | |
401 | 416 | | |
402 | 417 | | |
| |||
0 commit comments