Skip to content

Commit 2bb07a4

Browse files
authored
fix(ci): wait for ClawHub prepublication checks (#4510)
1 parent 4845ae3 commit 2bb07a4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/clawhub-dev-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ jobs:
339339
- guard
340340
- prepare-package-source
341341
runs-on: ubuntu-latest
342-
timeout-minutes: 15
342+
timeout-minutes: 40
343343
permissions:
344344
actions: read
345345
contents: read
@@ -496,10 +496,10 @@ jobs:
496496
VERSION: ${{ needs.guard.outputs.version }}
497497
run: |
498498
set -euo pipefail
499-
# ClawHub version lookup is not read-after-write consistent and the
500-
# API rate-limit window can return "Version not found" seconds after
501-
# a successful publish. Retry with backoff before failing the job.
502-
attempts=6
499+
# ClawHub keeps staged releases hidden while pre-publication security
500+
# checks run. Allow the 25-minute worker job plus visibility delay
501+
# before treating an exact-version 404 as a failed publication.
502+
attempts=61
503503
delay=30
504504
for i in $(seq 1 "$attempts"); do
505505
if node "$CLAWHUB_BIN" package inspect "@openviking/openclaw-plugin" \
@@ -508,7 +508,7 @@ jobs:
508508
break
509509
fi
510510
if [ "$i" -eq "$attempts" ]; then
511-
echo "::error title=ClawHub verify failed::Version $VERSION still not visible after $attempts attempts."
511+
echo "::error title=ClawHub verify failed::Version $VERSION still not visible after 30 minutes ($attempts attempts)."
512512
exit 1
513513
fi
514514
echo "ClawHub version $VERSION not visible yet (attempt $i/$attempts); retrying in ${delay}s..."

0 commit comments

Comments
 (0)