feat(testing): add IGrainStorage provider test kit

Merged
RE
2mo ago
+1577-0

Problem

Orleans storage providers need a reusable public contract suite for validating IGrainStorage behavior. The original implementation in #9742 could no longer merge cleanly and its CI autobuild was broken by repository feed changes.

Solution

  • Add the Microsoft.Orleans.Persistence.TestKit package with reusable xUnit storage contract tests and an InProcessTestClusterBuilder fixture.
  • Cover read/write/clear lifecycles, optimistic concurrency, ETags, missing-state reset, key forms, state-name isolation, Cyrillic values, and parallel operations.
  • Exercise the kit against memory and Azure Table storage.
  • Integrate the package, tests, generated API baseline, package README, and current solution layout.

Rationale

A shared suite makes provider behavior consistent and gives third-party provider authors the same contract coverage as Orleans-owned implementations. Provider-specific exception subclasses and both delete-on-clear and tombstone-on-clear semantics remain supported.

Supersedes #9742.

Microsoft Reviewers: Open in CodeFlow