Skip to content

feat(sandbox): retry the action when we just authenticated and we get a 401/403#192

Merged
marc-vercel merged 1 commit into
mainfrom
marc-vercel/sandbox-cli-fresh-auth-retry
May 15, 2026
Merged

feat(sandbox): retry the action when we just authenticated and we get a 401/403#192
marc-vercel merged 1 commit into
mainfrom
marc-vercel/sandbox-cli-fresh-auth-retry

Conversation

@marc-vercel
Copy link
Copy Markdown
Collaborator

@marc-vercel marc-vercel commented May 14, 2026

If the customer has just authenticated (less than 10 seconds ago) and tries to do an action, and we return a 401/403, try to re-authenticate the user.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sandbox Ready Ready Preview, Comment, Open in v0 May 15, 2026 8:25am
sandbox-cli Ready Ready Preview, Comment, Open in v0 May 15, 2026 8:25am
sandbox-sdk Ready Ready Preview, Comment, Open in v0 May 15, 2026 8:25am
sandbox-sdk-ai-example Ready Ready Preview, Comment, Open in v0 May 15, 2026 8:25am
workflow-code-runner Ready Ready Preview, Comment, Open in v0 May 15, 2026 8:25am

… a 401/403

feat(sandbox): cap fresh-auth retry at 3s total wall-clock

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

simplify checks

small improvements
@marc-vercel marc-vercel merged commit 3b34d4f into main May 15, 2026
14 checks passed
@marc-vercel marc-vercel deleted the marc-vercel/sandbox-cli-fresh-auth-retry branch May 15, 2026 11:51
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.

2 participants