test(streaming): cover eventhub checkpoint flush on shutdown - #10321
Merged
ReubenBond merged 1 commit intoAug 2, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: ccadbbac-3066-4b68-aab0-135e7419f4d5
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a targeted regression test in the Event Hubs streaming test suite to ensure that shutting down an EventHubAdapterReceiver flushes the most recent delivery progress to the configured checkpointer, helping prevent regressions around checkpoint persistence during shutdown.
Changes:
- Extend the in-test
TestCheckpointerto record which offset was flushed duringFlushAsync. - Add a new BVT regression test asserting that
Shutdown(...)triggers a flush and persists the latest delivery progress offset.
Show a summary per file
| File | Description |
|---|---|
| test/Extensions/Orleans.Streaming.EventHubs.Tests/CheckpointerTests/EventHubCheckpointerTests.cs | Adds a regression test and minimal test instrumentation to verify checkpoint flush behavior on receiver shutdown. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 0
This was referenced Aug 28, 2026
Merged
Merged
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Adds a focused regression test confirming that Event Hub receiver shutdown flushes the latest delivery progress to the checkpointer. This protects the checkpoint-gap fix from regressing during shutdown changes.
Microsoft Reviewers: Open in CodeFlow