Repository navigation
Commit abd3c45
Retry pinned tool downloads on connect/TLS errors (#868)
The Composer phar, Maven and Gradle downloads used `curl --retry 3`,
which only retries timeouts and HTTP 408/429/5xx. A refused
connection (exit 7) or a TLS handshake failure (exit 35, e.g.
Windows schannel CRYPT_E_REVOCATION_OFFLINE) fails the step on the
first try. Both happened on 2026-10-05 in composer-compatibility
legs on PRs that don't touch Composer.
Use the repo's existing `--retry 5 --retry-all-errors` pattern (the
vexctl downloads in ci.yml). Every one of these downloads is checked
against a pinned or published digest right after, so retrying any
error can't let a bad body through.
Claude-Session: https://claude.ai/code/session_01M7YkVUqGY83YbfQPipKzk5
Co-authored-by: Claude <noreply@anthropic.com>1 parent 7fd88f5 commit abd3c45
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1405 | 1405 | | |
1406 | 1406 | | |
1407 | 1407 | | |
1408 | | - | |
1409 | | - | |
| 1408 | + | |
| 1409 | + | |
1410 | 1410 | | |
1411 | 1411 | | |
1412 | 1412 | | |
| |||
1421 | 1421 | | |
1422 | 1422 | | |
1423 | 1423 | | |
1424 | | - | |
1425 | | - | |
| 1424 | + | |
| 1425 | + | |
1426 | 1426 | | |
1427 | 1427 | | |
1428 | 1428 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
| 136 | + | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments