Repository navigation
Commit 641708e
committed
Widen cargo net retry in required e2e legs
The cargo-vex-matrix lock-v4 leg failed on PR #1449 (run 38307581268,
attempt 1; green on re-run of the same SHA) when a fresh-CARGO_HOME
baseline `cargo build` could not connect to static.crates.io. Cargo
classifies that error as spurious, but its default net.retry of 3
gives up after ~12s, and SOCKET_PATCH_CARGO_E2E_REQUIRED turns the
failed fixture build into a failed leg. In the merge queue the same
blip evicts an entry.
Set CARGO_NET_RETRY=10 (~80s of cargo's own backoff) on the children
of cargo_e2e_matrix::cargo_command when the leg is required and the
caller has not set CARGO_NET_RETRY. Optional local runs keep the
default so an offline machine still skips quickly. Only transfers
cargo itself treats as transient are retried; checksum and resolver
failures still fail at once.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GTcGpX2RVXH9BXATkDJLdm1 parent 15c2c83 commit 641708e
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
83 | 91 | | |
84 | 92 | | |
85 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
86 | 97 | | |
87 | 98 | | |
88 | 99 | | |
| |||
91 | 102 | | |
92 | 103 | | |
93 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
94 | 108 | | |
95 | 109 | | |
96 | 110 | | |
| |||
0 commit comments