test(persistence): budget heavy integration cases for CI

This commit is contained in:
turtle1999 committed 2026-09-12 14:35:03 +08:00
1 parent 663a534d1f
commit 0b368dfe78
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -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 })
+2 -1
View File
@@ -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())