./nugetz
pkg

Subtext3-Quizzical2/Hugo.Deterministic.Cosmosv2.0.0

docs d<> code .compare c
.NET 10.0

Azure Cosmos DB deterministic state store for Hugo workflows.

License

Deps

3

Install Size

Vulns

✓ 0

Published

Nov 21, 2025

Get Started

$ dotnet add package Hugo.Deterministic.Cosmos

Readme

Hugo.Deterministic.Cosmos

Deterministic state store implementation for Hugo workflows backed by Azure Cosmos DB. It persists version gates and deterministic effects so replayed workflows return the same outcomes.

Install

dotnet add package Hugo.Deterministic.Cosmos

Configure

builder.Services.AddSingleton<IDeterministicStateStore>(sp => { CosmosClient client = new("https://your-account.documents.azure.com", "key"); return new CosmosDeterministicStateStore(client, databaseId: "hugo", containerId: "deterministic"); });

Notes

  • Requires an existing Cosmos DB container with partition key /changeId.
  • Supports optimistic writes for gates and effect records; conflicting writes return error.version.conflict.