Skip to content

test: add transaction storage recovery policy coverage - #10380

Merged
ReubenBond merged 1 commit into
mainfrom
reubenbond-transaction-storage-recovery-policy
Aug 10, 2026
Merged

ReubenBond merged 1 commit into
mainfrom
reubenbond-transaction-storage-recovery-policy

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Aug 9, 2026 •

Copy link
Copy Markdown
Member

Depends on #10382, which fixes the recovery double-counting behavior exposed while developing this coverage.

This adds deterministic integration coverage for transaction-storage recovery semantics using a custom in-memory storage decorator and activation tracker. It verifies immediate deactivation on storage conflicts and that later requests recover after transient store/load failures without deactivating early.

The exact consecutive-failure counting, successful-store reset, and single-recovery-per-cycle assertions live with the overlapping TransactionQueue correction in #10382.

Add deterministic transaction recovery-policy integration coverage using a custom in-memory storage decorator and activation tracker.

This covers immediate deactivation on storage conflicts and successful recovery after transient store/load failures without overlapping the active TransactionQueue.cs work.

Probing the exact tenth-failure heuristic against main exposed a separate TransactionQueue recovery double-counting bug, so that narrower assertion is intentionally left for the overlapping follow-up.

Co-authored-by: Copilot App <[email protected]>
@ReubenBond
ReubenBond merged commit 213ca03 into main Aug 10, 2026
69 checks passed
@ReubenBond
ReubenBond deleted the reubenbond-transaction-storage-recovery-policy branch August 10, 2026 00:40
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant