feat: Loam engine logging each commit to stable memory

Rows live in the heap, as in Volatile; each committed transaction is
also appended to a log that opening replays, so a store survives a
canister upgrade.

Generated-by: Claude Code (claude-opus-5-5)
This commit is contained in:
dckc committed 2026-11-18 06:03:05 -06:00
1 parent 7091a4653f
commit eb15a05668
2 files changed
+309 -1

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ pub fn build(b: *std.Build) void {
const glowcap = b.dependency("glowcap", .{ .target = target, .optimize = optimize });
const test_step = b.step("test", "Run the unit tests and the in-memory client/canister round trip");
for ([_][]const u8{ "src/pair_test.zig", "src/candid.zig", "src/principal.zig" }) |root| {
for ([_][]const u8{ "src/pair_test.zig", "src/candid.zig", "src/principal.zig", "src/stable_log.zig" }) |root| {
const t = b.addTest(.{ .root_module = b.createModule(.{
.root_source_file = b.path(root),
.target = target,