Skip to content

ci(release): retry transient GitHub API suspension errors - #86859

Merged
vincentkoc merged 1 commit into
mainfrom
fix-release-gh-api-retry
May 26, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix-release-gh-api-retry

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Summary

  • retry GitHub CLI calls when Actions returns the transient Sorry. Your account was suspended 403 seen during full release validation polling
  • route final child-run verification and summary API calls through the same retry helper instead of raw gh calls

Verification

  • git diff --check
  • node -e "const fs=require('fs'); const yaml=require('yaml'); yaml.parse(fs.readFileSync('.github/workflows/full-release-validation.yml','utf8'));"
  • attempted OPENCLAW_TESTBOX=1 node scripts/crabbox-wrapper.mjs run --provider blacksmith-testbox --timing-json --shell -- "pnpm check:changed"; blocked because Blacksmith CLI is not authenticated (blacksmith auth login required)

Refs

@vincentkoc vincentkoc self-assigned this May 26, 2026
@vincentkoc
vincentkoc force-pushed the fix-release-gh-api-retry branch from 5c0921a to 6601324 Compare May 26, 2026 11:04
@vincentkoc
vincentkoc force-pushed the fix-release-gh-api-retry branch from 6601324 to 8843381 Compare May 26, 2026 11:09
@vincentkoc
vincentkoc marked this pull request as ready for review May 26, 2026 11:09
@vincentkoc

Copy link
Copy Markdown
Member Author

Verification before merge:

  • node -e "const fs=require('fs'); const yaml=require('yaml'); yaml.parse(fs.readFileSync('.github/workflows/full-release-validation.yml','utf8'));" - pass
  • git diff --check origin/main...HEAD - pass
  • node scripts/run-vitest.mjs test/scripts/package-acceptance-workflow.test.ts - pass, 27 tests
  • .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main - clean, no accepted/actionable findings

Real-environment/proof notes:

  • Attempted OPENCLAW_TESTBOX=1 node scripts/crabbox-wrapper.mjs run --provider blacksmith-testbox --timing-json --shell -- "pnpm check:changed"; remote Testbox proof was unavailable because the Blacksmith CLI was not authenticated in this shell.
  • Retried ghx workflow run full-release-validation.yml --ref fix-release-gh-api-retry -f ref=884338162d554972f45ca7cbaa0604e104905702 -f provider=openai -f mode=fresh -f release_profile=beta -f rerun_group=performance; GitHub returned HTTP 500: Failed to run workflow dispatch, so there is no fresh live release-validation run for this PR head.

The patch is workflow-only plus its contract test coverage; the failed prior release run was the GitHub API transient this retry wrapper is meant to absorb.

@vincentkoc
vincentkoc merged commit 94a04e1 into main May 26, 2026
3 checks passed
@vincentkoc
vincentkoc deleted the fix-release-gh-api-retry branch May 26, 2026 11:17
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 27, 2026
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant