Skip to content

Remove Utilities record and Register subsystem#135

Merged
stidsborg merged 1 commit into
mainfrom
delete-utilities-record
Apr 26, 2026
Merged

Remove Utilities record and Register subsystem#135
stidsborg merged 1 commit into
mainfrom
delete-utilities-record

Conversation

@stidsborg
Copy link
Copy Markdown
Owner

Summary

  • Deletes the Utilities record (IRegister Register wrapper) and the surrounding dead code: IRegister, Register, IUnderlyingRegister, RegisterType, UnderlyingInMemoryRegister, and the per-store underlying registers (Postgres / MariaDB / SqlServer) plus their RegisterTests.
  • Removes IFunctionStore.Utilities, Workflow.Utilities, and the Utilities parameter threaded through Invoker and FunctionsRegistry. Neither the framework runtime nor the samples/tests consumed it.
  • Drops the per-store _register table init/truncate calls, since the only consumer is gone. Existing _register tables in deployed databases will simply be unused; no migration is performed at runtime.

Test plan

  • dotnet build Cleipnir.ResilientFunctions.sln — 0 warnings, 0 errors
  • Core tests: 533/533 passed (~20s)
  • PostgreSQL tests: 389/389 passed (~31s)
  • MariaDB tests: 389/389 passed (~50s)
  • SqlServer tests: 389/389 passed (~40s)

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.
@stidsborg stidsborg merged commit 717fe65 into main Apr 26, 2026
8 checks passed
@stidsborg stidsborg deleted the delete-utilities-record branch April 26, 2026 09:20
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