Repository navigation
test(transactions): accept uninterrupted graceful recovery - #10514
Merged
ReubenBond merged 2 commits intoAug 12, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adjusts the transaction recovery test runner to make graceful-shutdown recovery tests deterministic by no longer requiring a client-visible transaction failure when a silo shuts down gracefully and transactions can continue uninterrupted. It aligns the test with the real recovery invariant (membership convergence + successful probing + final state validation) while keeping the stricter failure expectations for ungraceful shutdown.
Changes:
- Skips the “must observe a failure” requirement for graceful shutdown by using a zero failure-observation window and probing all transaction groups after convergence.
- Preserves the strict failure-observation requirement and affected-group recovery path for ungraceful shutdowns.
- Improves diagnostics by logging the actual observation window/deadline used and updating timeout messages accordingly.
Show a summary per file
| File | Description |
|---|---|
| src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs | Updates failure observation logic to allow uninterrupted graceful recovery and probes all groups after convergence; improves watchdog/diagnostic reporting. |
Review details
Tip
Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Lite
A graceful silo shutdown can preserve uninterrupted transaction success. Stop waiting for a client-visible failure, probe every transaction group after convergence, and retain strict interruption requirements for ungraceful shutdowns. Co-authored-by: Copilot App <[email protected]>
Describe both graceful continuity and ungraceful interruption observation accurately. Co-authored-by: Copilot App <[email protected]> Copilot-Session: d9f4490b-34e6-45f1-b3c7-cfe051e00ca6
ReubenBond
force-pushed
the
rb-consolidate-transaction-recovery
branch
from
August 12, 2026 00:02
62e8f54 to
601fe8a
Compare
This was referenced Aug 12, 2026
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.
A graceful silo shutdown can complete without producing a client-visible transaction failure, so requiring one makes the recovery test fail despite uninterrupted success. Stop transaction production immediately after graceful shutdown, probe every transaction group after membership convergence, and validate final state. Ungraceful shutdowns retain the strict failure requirement and affected-group recovery path. Diagnostics now report the actual graceful observation deadline.\n\nFixes #10418
Microsoft Reviewers: Open in CodeFlow