플레이 감사 국가 생멸과 장기 tick 저장을 보완하고 중간 전달 준비

This commit is contained in:
2026-09-16 07:26:05 +00:00
parent ae0dfd503f
commit 52cea882ab
24 changed files with 428 additions and 46 deletions
@@ -45,7 +45,7 @@ integration('immutable policy persistence', () => {
source: 'BASELINE',
year: 190,
month: 1,
tick: 1,
tick: 4_320_000_000,
requestId: null,
ordinal: 1,
actor: null,
@@ -91,7 +91,7 @@ integration('immutable policy persistence', () => {
await db.$transaction((tx) => persistAuditPolicies(tx, [baseline, change], context));
const rows = await db.playAuditPolicy.findMany({ where: { serverId }, orderBy: { revision: 'asc' } });
expect(rows).toHaveLength(2);
expect(rows[0]).toMatchObject({ inputSequence: null, actor: null });
expect(rows[0]).toMatchObject({ inputSequence: null, actor: null, tick: 4_320_000_000n });
expect(rows[1]).toMatchObject({
inputSequence: input.sequence,
requestId,