GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — fix(opencode): cap session-level retries and export MAX_SESSION_RETRIES by nikhilkulkarni1755 · Pull Request #30040 · anomalyco/opencode Conversation
|
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
3b6546e to
f2b5084
Compare
The session retry schedule in retry.ts had no attempt cap — persistent provider failures (5xx, 503) would cycle executor→session indefinitely since retryable() always returned truthy for those errors. Adds MAX_SESSION_RETRIES = 5 and exports it so test/session/retry.test.ts can drive the schedule to exhaustion to verify the cap fires. Also adds the missing test case. Fixes anomalyco#29143
f2b5084 to
60de35a
Compare
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: Infinite retry loop on consistent provider failure
There was an error while loading. Please reload this page.