● mcp__github__get_pull_request(odina/web, #418)
└ Loaded 7 changed files and 3 review comments
● Search(src/billing/**, "retryDelay")
└ Found 6 matches in 4 files
• The checkout hook retries linearly, while the recovery worker expects exponential backoff. I’m aligning both paths and adding the timeout case.
● Read(src/billing/retry.ts, tests/checkout/retry.test.ts)
└ Read 284 lines (ctrl+r to expand)
● Update(src/billing/retry.ts)
└ Updated 2 files with 19 additions and 6 removals
- const delay = attempt * 1000
+ const delay = Math.min(baseDelay * 2 ** attempt, MAX_DELAY)
● Bash(bun test tests/checkout/retry.test.ts)
◌ Running 24 checkout tests… 18 passed · 6 remaining