test: add turn command state differential harness

This commit is contained in:
2026-07-25 11:38:42 +00:00
parent 0151055f94
commit 111d3c7074
16 changed files with 1200 additions and 31 deletions
@@ -35,8 +35,7 @@ type LeaseRow = {
fencing_epoch: bigint;
};
const normalizeLeaseDuration = (value?: number): number =>
Math.max(1_000, Math.floor(value ?? 30_000));
const normalizeLeaseDuration = (value?: number): number => Math.max(1_000, Math.floor(value ?? 30_000));
export class DatabaseTurnDaemonLease {
private readonly db: GamePrismaClient;