Skip to content

concurrent trace sync test - #323

Merged
davidabram merged 2 commits into
perf/ci-stack-8-release-validationfrom
concurrent-trace-sync
Oct 11, 2026
Merged

davidabram merged 2 commits into
perf/ci-stack-8-release-validationfrom
concurrent-trace-sync

Conversation

@davidabram

Copy link
Copy Markdown
Member

No description provided.

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
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
davidabram force-pushed the concurrent-trace-sync branch from 9977135 to 4b1ab3c Compare October 11, 2026 13:38
@davidabram
davidabram merged commit cc63f47 into remove-tokio-db-runtimes Oct 11, 2026
8 checks passed
@davidabram
davidabram deleted the concurrent-trace-sync branch October 11, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant