From 0b368dfe78c33218033b4d0ac1db54fe3f5b6d06 Mon Sep 17 00:00:00 2001 From: turtle1999 <301751225+turtle1999@users.noreply.github.com> Date: Sat, 12 Sep 2026 14:35:03 +0800 Subject: [PATCH] test(persistence): budget heavy integration cases for CI --- scripts/persistence-changes.spec.ts | 3 ++- scripts/persistence-schema.spec.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/persistence-changes.spec.ts b/scripts/persistence-changes.spec.ts index 4425587bd7..c2da0bcce1 100644 --- a/scripts/persistence-changes.spec.ts +++ b/scripts/persistence-changes.spec.ts @@ -472,7 +472,8 @@ describe('persistence changes current-tree commands', () => { } }) - it('executes the real CLI against a source-only temporary checkout without Git history', () => { + // Six real CLI processes and TypeScript extraction share the Windows coverage test budget. + it('executes the real CLI against a source-only temporary checkout without Git history', { timeout: 90_000 }, () => { const root = fixture() const physical = join(root, 'packages/session/session-persistence-jsonl/src') mkdirSync(physical, { recursive: true }) diff --git a/scripts/persistence-schema.spec.ts b/scripts/persistence-schema.spec.ts index 6b0f403ed8..1ebdced397 100644 --- a/scripts/persistence-schema.spec.ts +++ b/scripts/persistence-schema.spec.ts @@ -305,7 +305,8 @@ interface SessionEventMap { expect(() => extractPersistenceSchema(fixture(source))).toThrow(error) }) - it('includes every real repository event and fingerprints every reachable node', () => { + // Repository-wide TypeScript extraction and reachable-node hashing use the Windows coverage test budget. + it('includes every real repository event and fingerprints every reachable node', { timeout: 90_000 }, () => { const root = resolve(import.meta.dirname, '..') const model = extractPersistenceSchema(root) expect(model.roots.filter(root => root.kind === 'event').map(root => root.event).sort())