Skip to content

Delete dead Utilities and Correlations subsystems#137

Merged
stidsborg merged 3 commits intomainfrom
delete-utilities-record
Apr 26, 2026
Merged

Delete dead Utilities and Correlations subsystems#137
stidsborg merged 3 commits intomainfrom
delete-utilities-record

Conversation

@stidsborg
Copy link
Copy Markdown
Owner

Summary

  • Removed the unused Utilities / Register subsystem (IRegister, IUnderlyingRegister, in-memory + Postgres/MariaDB/SqlServer implementations, related tests).
  • Removed the unused Correlations / ICorrelationStore subsystem: Correlations domain class, ICorrelationStore + in-memory/Postgres/MariaDB/SqlServer implementations, Workflow.RegisterCorrelation, Postman.RouteMessage, BaseRegistration.RouteMessage, ControlPanel.Correlations, InvocationHelper.CreateCorrelations, related test files and overrides.
  • IFunctionStore no longer exposes CorrelationStore; Postman now takes only MessageWriters.

Test plan

  • dotnet build Cleipnir.ResilientFunctions.sln — clean (0 warnings, 0 errors)
  • dotnet test ./Core/Cleipnir.ResilientFunctions.Tests — 524 passed
  • CI runs Postgres/MariaDB/SqlServer test suites

The Utilities record was a thin wrapper around IRegister, exposed via
IFunctionStore.Utilities and Workflow.Utilities. Neither the framework
runtime nor any sample/test consumed it, so the record, IRegister,
Register, IUnderlyingRegister, the per-store underlying registers, and
their tests are dead. The store-level _register tables are no longer
created or truncated.
# Conflicts:
#	Core/Cleipnir.ResilientFunctions.Tests/TestTemplates/WatchDogsTests/CrashableFunctionStore.cs
#	Core/Cleipnir.ResilientFunctions/CoreRuntime/Invocation/Invoker.cs
#	Core/Cleipnir.ResilientFunctions/CoreRuntime/Invocation/Workflow.cs
#	Core/Cleipnir.ResilientFunctions/Storage/IFunctionStore.cs
#	Core/Cleipnir.ResilientFunctions/Storage/InMemoryFunctionStore.cs
#	Samples/Sample.ConsoleApp/Utils/CrashableFunctionStore.cs
#	Stores/MariaDB/Cleipnir.ResilientFunctions.MariaDB/MariaDbFunctionStore.cs
@stidsborg stidsborg merged commit ee98fba into main Apr 26, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant