Repository navigation
Commit 53286d4
Retry setup-ruby once so release 504s can't fail Ruby legs (#2041)
* Retry setup-ruby once after a release 504
ruby/setup-ruby fetches the prebuilt Ruby from a github.com release
and gives up after about a minute of its own retries. On 2026-11-09
a ~4 minute release-CDN 504 outage failed the nightly CI run on main
(run 42568829044) in hosted-e2e and two gem e2e legs at that step.
Mirror the existing setup-python pattern: cap attempt 1 at 4 minutes
with continue-on-error, pause 60 s, then run attempt 2, which fails
the job if the download is still broken. Applied to the shared
e2e-steps anchor (e2e, e2e-extended, e2e-windows, e2e-macos,
e2e-full) and hosted-e2e. Job names and the ci-ok gate are unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011f9aeRYC9ragXuhk4udbwz
* Drop the pause between setup-ruby attempts
test_merge_queue_fail_fast.py requires a continue-on-error attempt 1
to be retried by the very next step, so the sleep step in between
failed lint-ecosystems. Attempt 2 now follows attempt 1 directly and
gets setup-ruby's own ~1 min of backoff retries again.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011f9aeRYC9ragXuhk4udbwz
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 4470a4d commit 53286d4
1 file changed
Lines changed: 33 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1609 | 1609 | | |
1610 | 1610 | | |
1611 | 1611 | | |
1612 | | - | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
1613 | 1620 | | |
1614 | 1621 | | |
| 1622 | + | |
| 1623 | + | |
1615 | 1624 | | |
1616 | 1625 | | |
1617 | 1626 | | |
| |||
1628 | 1637 | | |
1629 | 1638 | | |
1630 | 1639 | | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
1631 | 1649 | | |
1632 | 1650 | | |
1633 | 1651 | | |
| |||
2889 | 2907 | | |
2890 | 2908 | | |
2891 | 2909 | | |
2892 | | - | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
2893 | 2913 | | |
2894 | 2914 | | |
| 2915 | + | |
| 2916 | + | |
2895 | 2917 | | |
2896 | 2918 | | |
2897 | 2919 | | |
2898 | 2920 | | |
2899 | 2921 | | |
2900 | 2922 | | |
2901 | 2923 | | |
| 2924 | + | |
| 2925 | + | |
| 2926 | + | |
| 2927 | + | |
| 2928 | + | |
| 2929 | + | |
| 2930 | + | |
| 2931 | + | |
| 2932 | + | |
2902 | 2933 | | |
2903 | 2934 | | |
2904 | 2935 | | |
| |||
0 commit comments