Skip to content

[codex] Retry Friendbot funding setup - #436

Open
Dreamstore2046 wants to merge 1 commit into
harystyleseze:mainfrom
Dreamstore2046:codex/careguard-friendbot-checkpoint-201
Open

[codex] Retry Friendbot funding setup#436
Dreamstore2046 wants to merge 1 commit into
harystyleseze:mainfrom
Dreamstore2046:codex/careguard-friendbot-checkpoint-201

Conversation

@Dreamstore2046

Copy link
Copy Markdown

Summary

  • retry Friendbot funding for transient 429/5xx/network failures with exponential backoff, up to five attempts
  • fail fast on permanent Friendbot validation errors with a clear permanent HTTP <status> message
  • write .setup-wallets-checkpoint.json after each funded/already-existing wallet so reruns skip completed wallets
  • document the checkpoint behavior and ignore the local checkpoint file

Validation

  • npm test -- scripts/__tests__/setup-wallets.test.ts
  • npx tsc --noEmit --target ES2022 --module ESNext --moduleResolution bundler --allowImportingTsExtensions --esModuleInterop --allowSyntheticDefaultImports --strict --skipLibCheck --types node,vitest scripts/setup-wallets.ts scripts/__tests__/setup-wallets.test.ts
  • git diff --cached --check

Closes #201.

@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

@Dreamstore2046 is attempting to deploy a commit to the Harrison Eze's projects Team on Vercel.

A member of the Team first needs to authorize it.

@overprodigy

Copy link
Copy Markdown
Contributor

Closing in favor of unified PR addressing all issues

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.

Setup-wallets script only handles "account already exists" Friendbot error

2 participants