Commit fad2f61
[UPDATE PRIMITIVE] Fix transient HTTP 503 failures in install-packs.sh via exponential backoff retry (#121)
* Initial plan
* fix: add retry logic with exponential backoff to install-packs.sh
The GitHub Actions integration test was failing on windows-latest with
HTTP 503 "Egress is over the account limit" when downloading CodeQL
packs from GHCR.io.
Add a run_with_retry() helper function that retries a command up to 3
times with exponential backoff (10s, 20s, 40s). Both codeql pack
install calls in install_packs() now use run_with_retry to handle
transient network errors gracefully.
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>1 parent 29da2f5 commit fad2f61
1 file changed
+24
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
66 | 88 | | |
67 | 89 | | |
68 | 90 | | |
69 | 91 | | |
70 | | - | |
| 92 | + | |
71 | 93 | | |
72 | | - | |
| 94 | + | |
73 | 95 | | |
74 | 96 | | |
75 | 97 | | |
| |||
0 commit comments