GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs: modernize state and durability guidance by ReubenBond · Pull Request #10333 · dotnet/orleans

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Aug 2, 2026 •
edited by dotnet-policy-service Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Modernizes Orleans 10 persistence, Event Sourcing, transaction, and grain interface versioning guidance. The update aligns durability guarantees, provider capabilities, failure behavior, and rolling-upgrade policies with the current implementation, while clearly distinguishing supported Event Sourcing from experimental Journaling.

Microsoft Reviewers: Open in CodeFlow

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot AI review requested due to automatic review settings August 2, 2026 21:18
Copilot started reviewing on behalf of ReubenBond August 2, 2026 21:18
View session
Copilot AI reviewed Aug 2, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes Orleans 10 documentation around durability-related features—transactions, grain persistence, event sourcing, and grain interface versioning—so that guarantees, defaults, and operational guidance better match current runtime behavior and provider capabilities.

Changes:

  • Updates the transactions article with clearer distinctions between transactional state vs IPersistentState, contention/timeout defaults, and retry/abort guidance.
  • Reworks grain interface versioning docs to emphasize numeric routing/placement, compatibility vs selector strategies, and rolling upgrade/rollback considerations.
  • Refreshes persistence + event sourcing docs to clarify provider semantics (ETags/concurrency, serializer/schema evolution) and to distinguish supported Event Sourcing from experimental Journaling.
Show a summary per file
File Description
docs/site/src/content/docs/grains/transactions.md Updates transaction enablement, transactional storage, semantics, and operational guidance.
docs/site/src/content/docs/grains/grain-versioning/version-selector-strategy.md Clarifies selector strategies and eligibility behavior for placement.
docs/site/src/content/docs/grains/grain-versioning/grain-versioning.md Reframes grain interface versioning as numeric routing/placement and documents defaults.
docs/site/src/content/docs/grains/grain-versioning/deploying-new-versions-of-grains.md Modernizes the rolling-upgrade narrative and adds rollback/observability guidance.
docs/site/src/content/docs/grains/grain-versioning/compatible-grains.md Updates compatibility strategy explanations and removes misleading “structural check” implications.
docs/site/src/content/docs/grains/grain-versioning/backward-compatibility-guidelines.md Condenses guidance into contract/payload/behavior rules for mixed-version deployments.
docs/site/src/content/docs/grains/grain-persistence/snippets/persistence/Interfaces.cs Updates the persistence interface snippet to reflect nullable ETag + cancellation overloads.
docs/site/src/content/docs/grains/grain-persistence/relational-storage.md Rewrites ADO.NET persistence guidance (providers, invariants/scripts, serializer + concurrency).
docs/site/src/content/docs/grains/grain-persistence/index.md Reworks persistence overview with provider selection, atomicity limits, and failure semantics.
docs/site/src/content/docs/grains/grain-persistence/dynamodb-storage.md Updates DynamoDB provider guidance and operational/serialization notes.
docs/site/src/content/docs/grains/grain-persistence/azure-storage.md Updates Azure Table/Blob provider guidance, limits, and operational notes.
docs/site/src/content/docs/grains/grain-persistence/azure-cosmos-db.md Updates Cosmos DB for NoSQL storage guidance and partitioning/indexing notes.
docs/site/src/content/docs/grains/event-sourcing/replicated-instances.md Clarifies multi-instance behavior, conflicts, and deployment topology responsibilities.
docs/site/src/content/docs/grains/event-sourcing/notifications.md Updates confirmed/tentative notification guidance and side-effect cautions.
docs/site/src/content/docs/grains/event-sourcing/log-consistency-providers.md Summarizes built-in providers with clearer tradeoffs and durability models.
docs/site/src/content/docs/grains/event-sourcing/journaledgrain-diagnostics.md Updates diagnostics guidance and reframes statistics usage/limitations.
docs/site/src/content/docs/grains/event-sourcing/journaledgrain-basics.md Modernizes the JournaledGrain API overview and confirmation/transition guidance.
docs/site/src/content/docs/grains/event-sourcing/index.md Refreshes the overview and explicitly distinguishes Event Sourcing vs experimental Journaling.
docs/site/src/content/docs/grains/event-sourcing/immediate-vs-delayed-confirmation.md Clarifies confirmation semantics, tentative state expectations, and scheduling guarantees.
docs/site/src/content/docs/grains/event-sourcing/event-sourcing-configuration.md Updates configuration guidance for provider registration/selection and multi-cluster responsibility.

Copilot's findings

  • Files reviewed: 20/20 changed files
  • Comments generated: 3

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread docs/site/src/content/docs/grains/grain-persistence/azure-storage.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread docs/site/src/content/docs/grains/grain-versioning/grain-versioning.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread docs/site/src/content/docs/grains/grain-persistence/relational-storage.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@ReubenBond ReubenBond mentioned this pull request Aug 2, 2026
docs: reorganize Orleans documentation navigation #10336
Merged
Copilot AI review requested due to automatic review settings August 3, 2026 17:22
Copilot started reviewing on behalf of ReubenBond August 3, 2026 17:22
View session
Copilot AI reviewed Aug 3, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

Suppressed comments (2)

docs/site/src/content/docs/grains/grain-persistence/azure-storage.md:55

  • The connection-string example uses configuration.GetConnectionString(...), but configuration is not defined in this snippet, so readers copying this block will get a compile error. Consider using builder.Configuration (consistent with other pages) or explicitly declaring the IConfiguration variable in the snippet.
siloBuilder.AddAzureTableGrainStorage(
    "profileStore",
    options => options.ConfigureTableServiceClient(
        configuration.GetConnectionString("grainState")));
**docs/site/src/content/docs/grains/grain-persistence/relational-storage.md:69**
* This snippet assigns `options.ConnectionString = connectionString;` but `connectionString` isn't defined here, so the snippet is not copy/pasteable. Use a placeholder string or show how to obtain the connection string from configuration in the surrounding snippet.
    optionsBuilder.Configure<IGrainStorageSerializer>((options, serializer) =>
    {
        options.Invariant = "Npgsql";
        options.ConnectionString = connectionString;
        options.GrainStorageSerializer = serializer;
</details>


- **Files reviewed:** 20/20 changed files
- **Comments generated:** 0 new

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot AI review requested due to automatic review settings August 5, 2026 13:17
Copilot started reviewing on behalf of ReubenBond August 5, 2026 13:18
View session
Copilot AI reviewed Aug 5, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

Suppressed comments (4)

docs/site/src/content/docs/grains/grain-versioning/snippets/versioning/versioning.csproj:9

  • This snippet project pins Microsoft.Orleans.Server/Microsoft.Extensions.Hosting to 10.0.0, but docs/site/src/content/docs/Directory.Build.props centrally updates those packages (currently to newer patch versions). Leaving explicit versions here can cause confusing drift between what the project declares and what it actually restores. Consider omitting the Version attributes for centrally-managed packages.
    <PackageReference Include="Microsoft.Orleans.Server" Version="10.0.0" />
    <PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.0" />

docs/site/src/content/docs/grains/grain-persistence/snippets/persistence/persistence.csproj:13

  • This snippet project pins Microsoft.Orleans.Server/Microsoft.Extensions.Hosting to 10.0.0, but docs/site/src/content/docs/Directory.Build.props centrally updates those packages (currently to newer patch versions). Keeping explicit versions here makes it harder to keep snippet projects consistent. Consider removing the Version attributes for packages which are already updated centrally.
    <PackageReference Include="Microsoft.Orleans.Server" Version="10.0.0" />
    <PackageReference Include="Microsoft.Orleans.Persistence.AzureStorage" Version="10.0.0" />
    <PackageReference Include="Microsoft.Orleans.Persistence.Redis" Version="10.0.0" />
    <PackageReference Include="Microsoft.Orleans.Persistence.Cosmos" Version="10.0.0" />
    <PackageReference Include="Microsoft.Orleans.Persistence.AdoNet" Version="10.0.0" />
    <PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.0" />

docs/site/src/content/docs/grains/transactions.md:31

  • The external-client snippet references builder but doesn't declare it, so it isn't copy/pasteable as shown. Consider making the snippet self-contained by creating a HostApplicationBuilder in the client context before calling UseOrleansClient.
builder.UseOrleansClient(clientBuilder =>
{
    clientBuilder.UseTransactions();
});

docs/site/src/content/docs/grains/grain-versioning/deploying-new-versions-of-grains.md:33

  • This code block uses siloBuilder without showing where it comes from, so the example won't compile or copy/paste cleanly. Consider making the snippet self-contained by including the Host.CreateApplicationBuilder and builder.UseOrleans(siloBuilder => ...) context.
siloBuilder.Configure<GrainVersioningOptions>(options =>
{
    options.DefaultCompatibilityStrategy = nameof(BackwardCompatible);
    options.DefaultVersionSelectorStrategy = nameof(AllCompatibleVersions);
});
  • Files reviewed: 25/25 changed files
  • Comments generated: 0 new

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
ReubenBond added a commit to ReubenBond/orleans that referenced this pull request Aug 5, 2026
@ReubenBond
merge: integrate dotnet#10333 review fixes
520a3c8
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 9be838b5-7660-444e-b2c5-bf2e9b373472
ReubenBond
ReubenBond commented Aug 7, 2026
View reviewed changes
Comment thread docs/site/src/content/docs/grains/grain-persistence/azure-storage.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

ReubenBond added a commit to ReubenBond/orleans that referenced this pull request Aug 7, 2026
@ReubenBond
merge: integrate dotnet#10333 durability references
68ba6c5
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 9be838b5-7660-444e-b2c5-bf2e9b373472
ReubenBond
ReubenBond commented Aug 7, 2026
View reviewed changes
Comment thread docs/site/src/content/docs/grains/grain-persistence/azure-cosmos-db.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

ReubenBond added a commit to ReubenBond/orleans that referenced this pull request Aug 7, 2026
@ReubenBond
merge: integrate final dotnet#10333 audited references
1e92d6c
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 9be838b5-7660-444e-b2c5-bf2e9b373472
@ReubenBond
ReubenBond force-pushed the reubenbond-docs-modernize-state-durability branch 2 times, most recently from 38f2185 to dade917 Compare August 7, 2026 17:49
@ReubenBond
ReubenBond enabled auto-merge August 7, 2026 18:00
ReubenBond added 8 commits August 7, 2026 12:48
@ReubenBond
docs: modernize state and durability guidance
9c24404
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 2ce67ac3-ba6e-4ec1-a824-d079657b494b
@ReubenBond
docs: make durability guidance timeless
136bf3f
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 2ce67ac3-ba6e-4ec1-a824-d079657b494b
@ReubenBond
docs: compile durability configuration examples
2a9d9cc
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 2ce67ac3-ba6e-4ec1-a824-d079657b494b
@ReubenBond
docs: restore durability reference links
020d36c
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 2ce67ac3-ba6e-4ec1-a824-d079657b494b
@ReubenBond
docs: use absolute Microsoft Learn links
bc72715
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 2ce67ac3-ba6e-4ec1-a824-d079657b494b
@ReubenBond
docs: split persistence provider configuration
7a8e023
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 2ce67ac3-ba6e-4ec1-a824-d079657b494b
@ReubenBond
docs: codify documentation authoring rules
4befd16
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 2ce67ac3-ba6e-4ec1-a824-d079657b494b
@ReubenBond
docs: align authoring policy and API links
ead723e
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 2ce67ac3-ba6e-4ec1-a824-d079657b494b
@ReubenBond
ReubenBond force-pushed the reubenbond-docs-modernize-state-durability branch from dade917 to ead723e Compare August 7, 2026 19:50
@ReubenBond
ReubenBond disabled auto-merge August 7, 2026 20:37
@ReubenBond
ReubenBond merged commit e5ed431 into dotnet:main Aug 7, 2026
66 of 67 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@ReubenBond
ReubenBond deleted the reubenbond-docs-modernize-state-durability branch August 7, 2026 20:38
@ReubenBond ReubenBond mentioned this pull request Aug 8, 2026
docs: restore durability operational contracts #10366
Merged
This was referenced Aug 28, 2026
Bump Microsoft.Orleans.Dashboard from 10.2.2 to 10.3.0 csrakowski/FeedManager#20
Merged
Bump Microsoft.Orleans.Persistence.AdoNet from 10.2.2 to 10.3.0 csrakowski/FeedManager#21
Merged
Bump Microsoft.Orleans.Persistence.Memory from 10.2.2 to 10.3.0 csrakowski/FeedManager#22
Closed
Bump Microsoft.Orleans.Persistence.Redis from 10.2.2 to 10.3.0 csrakowski/FeedManager#23
Merged
Bump Microsoft.Orleans.Runtime from 10.2.2 to 10.3.0 csrakowski/FeedManager#24
Merged
Bump Microsoft.Orleans.Sdk from 10.2.2 to 10.3.0 csrakowski/FeedManager#25
Merged
Bump Microsoft.Orleans.Persistence.Memory and Microsoft.Orleans.Server csrakowski/FeedManager#26
Merged
Bump the dotnet-dependencies group with 1 update dills122/sandtable#67
Merged
Bump the dotnet group with 2 updates Kuestenlogik/Surgewave.Connectors#20
Merged
chore(deps): Bump the nuget-patch-and-minor group with 13 updates petesramek/microservices-vs-virtual-actors#7
Closed
chore: Bump Microsoft.Orleans.Persistence.Memory and Microsoft.Orleans.Runtime managedcode/Communication#151
Closed
chore: Bump Microsoft.Orleans.Runtime from 10.2.2 to 10.3.1 managedcode/Communication#152
Closed
chore: Bump Microsoft.Orleans.Sdk from 10.2.2 to 10.3.1 managedcode/Communication#153
Closed
chore: Bump Microsoft.Orleans.Serialization.Abstractions from 10.2.2 to 10.3.1 managedcode/Communication#154
Merged
chore: Bump Microsoft.Orleans.Persistence.Memory and 3 others managedcode/Communication#155
Closed
chore: Bump Microsoft.Orleans.TestingHost from 10.2.2 to 10.3.1 managedcode/Communication#156
Merged
Bump the orleans group with 1 update vgmello/momentum#341
Closed
Bump Microsoft.Orleans.BroadcastChannel and 5 others intochat/intochat#77
Closed
Bump the orleans group with 10 updates bartul/agave#86
Closed
This was referenced Sep 4, 2026
Bump the orleans group with 3 updates microsoft/aspire-samples#1930
Closed
Bump the nuget-minor-patch group with 21 updates Systemorph/MeshWeaver#3519
Closed
chore(deps): Bump the nuget-patch-and-minor group with 13 updates petesramek/microservices-vs-virtual-actors#8
Closed
Bump the orleans group with 3 updates microsoft/aspire-samples#1931
Merged
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@ReubenBond
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.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.