SqlServer-backed deterministic state store for Hugo workflows.
License
—
Deps
4
Install Size
—
Vulns
✓ 0
Published
Nov 21, 2025
Get Started
$ dotnet add package Hugo.Deterministic.SqlServerReadme
Hugo.Deterministic.SqlServer
Deterministic state store for Hugo workflows backed by SQL Server. Persists version gates and deterministic effects to guarantee replay-safe outcomes.
Install
dotnet add package Hugo.Deterministic.SqlServer
Configure
builder.Services.AddSingleton<IDeterministicStateStore>(sp =>
new SqlServerDeterministicStateStore(
connectionString: builder.Configuration.GetConnectionString("hugo-sql")));
Notes
- Uses a
DeterministicRecordstable by default; override viaSqlServerDeterministicStateStoreOptions.TableName. - Expects primary key
(changeId, recordKind)and unique constraint on(changeId, recordKind)to enforce optimistic inserts.