Commit 186e5e7
committed
fix(ci): improve CocoaPods install resilience against CDN rate limiting
Remove the standalone `pod repo remove trunk` step that runs before
every `pod install`. On ephemeral Cirrus runners the only source of
trunk specs is the actions/cache restore — deleting them forces a full
CDN re-download (thousands of HTTP requests) on every run, increasing
the surface area for 429 rate-limit errors.
Move trunk removal into `on_retry_command` so cached specs are used for
an incremental `--repo-update` on the first attempt (low CDN load), and
only cleared on failure for a clean retry.
Additional improvements:
- Increase max_attempts from 2 to 3 (matches other retry steps)
- Increase retry_wait_seconds from 30 to 60 (longer backoff for CDN 429)
- Add ::warning:: annotation on retry for visibility in Actions UI
- Add COCOAPODS_DISABLE_STATS=true to skip analytics during CI
Made-with: Cursor1 parent 9dc9557 commit 186e5e7
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | 318 | | |
324 | 319 | | |
325 | 320 | | |
326 | 321 | | |
327 | 322 | | |
328 | | - | |
329 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
330 | 328 | | |
| 329 | + | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
0 commit comments