milestone 8: web server, rest api, sse, auth, metrics and static assets

This commit is contained in:
2026-08-02 00:54:13 +02:00
parent a8092bb1b9
commit 5253c47303
59 changed files with 19640 additions and 150 deletions
+4 -4
View File
@@ -362,10 +362,10 @@ test "S8 case 5: a retention pass prunes the old rows and truncates the write-ah
var pass: retention.Retention = .init(.{ .retention_days = 30 });
pass.runOnce(io, log_db.database());
try testing.expectEqual(@as(u64, 1), pass.stats.passes);
try testing.expectEqual(@as(u64, 2), pass.stats.rows_pruned);
try testing.expectEqual(@as(u64, 1), pass.stats.checkpoints);
try testing.expectEqual(@as(u64, 0), pass.stats.vacuums);
try testing.expectEqual(@as(u64, 1), pass.snapshotStats().passes);
try testing.expectEqual(@as(u64, 2), pass.snapshotStats().rows_pruned);
try testing.expectEqual(@as(u64, 1), pass.snapshotStats().checkpoints);
try testing.expectEqual(@as(u64, 0), pass.snapshotStats().vacuums);
try testing.expectEqual(@as(i64, 2), try queries_repo.countRows(log_db.database()));
// Both names stay: the dimension table is not collected.
try testing.expectEqual(@as(i64, 2), try queries_repo.countDomains(log_db.database()));