Repository navigation
concurrent trace sync test - #323
Merged
davidabram merged 2 commits intoOct 11, 2026
Merged
Conversation
Cover two concurrent trace-sync termination scenarios that were not exercised before. The first test runs three streams where the messages stream fails with Forbidden while a sibling stream also fails with AuthenticationFailed and a third stream still has backlog. It asserts that the first terminal error is reported and that neither sibling reads or ingests past its in-flight batch once termination is signalled. The second test lets a sibling batch fail ambiguously with a server error after termination, using a counting empty credential store. It asserts that the first Forbidden error is kept, the sibling stops after its in-flight batch, and credential state is loaded exactly once. Co-authored-by: SCE <sce@crocoder.dev>
davidabram
added this pull request to stack #320
October 11, 2026 11:45
Apply a one-minute timeout to ingestion batch requests so stalled requests and response bodies cannot indefinitely delay sync completion. Classify response-body timeouts as transport failures for cursor reconciliation. Add scripted HTTP regressions for stalled requests and bodies, retrying uncommitted batches, reconciling committed batches without resending, and reporting terminal failures after a sibling batch times out. Remove the standalone test HTTP server helper. Co-authored-by: SCE <sce@crocoder.dev>
davidabram
force-pushed
the
concurrent-trace-sync
branch
from
October 11, 2026 13:38
9977135 to
4b1ab3c
Compare
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.
No description provided.