ci(tests): retry transient platform 503/403 errors#39
Conversation
test_sync_synthesis and test_transcribe_url fail intermittently on scheduled CI when the smallest.ai backend returns 503/403 with "Service temporarily unavailable". Wrap platform API calls in a 3-attempt retry with 2s backoff. GitHub URL HEAD checks are left unwrapped — they have a different purpose.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
EntelligenceAI PR SummaryAdds retry logic with exponential backoff to the test suite in
Confidence Score: 5/5 - Safe to MergeSafe to merge — this PR adds well-scoped retry logic with exponential backoff to Key Findings:
Files requiring special attention
|
Wraps platform API calls in test_snippets.py with a 3-attempt retry (2s backoff) so transient 5xx/4xx 'Service temporarily unavailable' responses don't fail the scheduled run. Verified locally — 8/8 tests pass.