Repository navigation
Commit da076f0
Re-download truncated e2e-bin archives once in CI (#1387)
* Re-download truncated e2e-bin archives once
download-artifact v4 can finish "successfully" with a truncated file.
Run 38059192473 attempt 1 (PR #1345) logged "Starting download" and
nothing more, then the unpack step failed with zstd "Read error (39) :
premature end" and the hatch e2e_vex_build leg went red. A re-run on
the same SHA passed. In the merge queue the same blip evicts the entry
and costs a full rebuild, and every merge group downloads e2e-bin once
per e2e and cargo-vex leg.
Add a composite download-artifact wrapper, alongside the upload one,
that runs a caller-supplied check on the downloaded files. When the
download or the check fails it clears the path and downloads once
more; a second failure fails the job. The two e2e-bin consumers check
the archive with `zstd -t`.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KdaGJqi1VLtSWMnHY4hP6g
* Require verify and gate retry checks precisely
The second check now runs only after the second download succeeds, so
a failed retry download reports its own error rather than a missing
file. `verify` is required: a caller without a check would get no
retry. The test pins every step's exact `if:` gate, which catches a
broken gate that a substring match missed.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KdaGJqi1VLtSWMnHY4hP6g
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent c174e67 commit da076f0
3 files changed
Lines changed: 123 additions & 2 deletions
File tree
- .github
- actions/download-artifact
- workflows
- scripts/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1288 | 1288 | | |
1289 | 1289 | | |
1290 | 1290 | | |
1291 | | - | |
| 1291 | + | |
| 1292 | + | |
1292 | 1293 | | |
1293 | 1294 | | |
1294 | 1295 | | |
1295 | 1296 | | |
| 1297 | + | |
1296 | 1298 | | |
1297 | 1299 | | |
1298 | 1300 | | |
| |||
2261 | 2263 | | |
2262 | 2264 | | |
2263 | 2265 | | |
2264 | | - | |
| 2266 | + | |
| 2267 | + | |
2265 | 2268 | | |
2266 | 2269 | | |
2267 | 2270 | | |
2268 | 2271 | | |
| 2272 | + | |
2269 | 2273 | | |
2270 | 2274 | | |
2271 | 2275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
122 | 167 | | |
123 | 168 | | |
124 | 169 | | |
0 commit comments