Skip to content

Commit 8e0950f

Browse files
matmenclaude
andcommitted
bench workflow: wait up to 10 minutes for a new version on npm
3.6.0 wasn't installable 2.5 minutes after publishing, so the bench job failed until it was rerun. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Lfv41PqHEGbU7SLg5onpG1
1 parent 48c4e37 commit 8e0950f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/bench.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
node-version: 24.x
4040

4141
- run: npm ci --no-audit --no-fund
42-
# a version that was just published can take a moment to show up on the registry; npm ci cached the package's
43-
# versions from before, which --prefer-online skips
42+
# a version that was just published can take some minutes to show up on the registry (3.6.0 took more than 2.5);
43+
# npm ci cached the package's versions from before, which --prefer-online skips
4444
- if: inputs.version != ''
4545
run: |
46-
for attempt in 1 2 3 4 5; do
46+
for attempt in $(seq 20); do
4747
npm install --save-exact --prefer-online --no-audit --no-fund "imagescript@$VERSION" && exit 0
4848
sleep 30
4949
done

0 commit comments

Comments
 (0)