fix(ai-gateway): extend generation polling timeout - #4818
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryThe follow-up commit narrows the generation-polling change to a minimal Files Reviewed (2 changed files in this update)
Previous Review Summary (commit 5ed4868)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 5ed4868)Status: No Issues Found | Recommendation: Merge Executive SummaryReviewed the generation-polling timeout/backoff rework and route Files Reviewed (9 files)
Reviewed by claude-sonnet-5 · Input: 60 · Output: 16K · Cached: 2.6M Review guidance: REVIEW.md from base branch |
Summary
fetchGenerationto use the existing backoff helper with a five-minute maximum retry budgetmaxDuration = 1800Verification
pnpm --filter web exec jest --runInBand src/lib/ai-gateway/providers/upstream-request.generation.test.ts src/app/api/openrouter/audio/transcriptions/route.test.ts(6 tests passed)pnpm --filter web typecheckpnpm --filter web lint