Repository navigation
feat: retry failed capture batches with backoff; default decision budget 5 s - #15
Merged
Merged
Conversation
…get 5 s A capture send that fails for a passing reason (no connection, timeout, 408/425/429/5xx) is retried up to 3 times with doubling backoff (0.5, 1, 2 s), honouring Retry-After up to 10 s and never past a flush's deadline. Other failures are not retried. A batch that still fails is dropped and counted in `failed`; retries are counted in `retried`. The default decision timeout goes from 2 s to 5 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018ruNgP5DUwEkpSrXnv5R8T
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Retry-Afterup to 10 s and never waits past a flush's deadline. Other statuses (401, 413, …) are not retried. A batch that still fails is dropped and counted infailed, and retries are counted inretried.timeoutgoes from 2 s to 5 s. The server allows up to 15 s per step.Checklist
fix:,feat:, ...)🤖 Generated with Claude Code
https://claude.ai/code/session_018ruNgP5DUwEkpSrXnv5R8T
Generated by Claude Code