Skip to content

Commit 239c810

Browse files
committed
ci(all-green): lengthen initial delay, tighten polling interval
Give sibling workflows more time to start before the first poll (1 -> 2.5 minutes) and poll more often thereafter (1 minute -> 30 seconds), bumping retries (20 -> 30) to keep the same overall timeout budget. Generated by Claude Code.
1 parent bba85c6 commit 239c810

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/all-green.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
- run: yarn add @actions/core @actions/github octokit
3535
- run: node scripts/all-green.mjs
3636
env:
37-
DELAY: ${{ github.run_attempt == 1 && '1' || '0' }} # 1 minute on first attempt, no delay on reruns
37+
DELAY: ${{ github.run_attempt == 1 && '2.5' || '0' }} # 2.5 minutes on first attempt, no delay on reruns
3838
RUN_ATTEMPT: ${{ github.run_attempt }}
3939
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
4040
GITHUB_TOKEN: ${{ steps.octo-sts.outputs.token }}
41-
POLLING_INTERVAL: 1
42-
RETRIES: 20
41+
POLLING_INTERVAL: 0.5
42+
RETRIES: 30
4343
# Merge every downloaded per-cell `coverage-*` artifact's lcov report into a single
4444
# `coverage-upload/lcov/lcov.info`, uploaded to both Codecov and Datadog.
4545
- if: "!cancelled()"

0 commit comments

Comments
 (0)