From be55214d533bb953eb8199f01ac397cd686f8189 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste THERY Date: Wed, 19 Aug 2026 22:25:33 +0700 Subject: [PATCH 1/2] test(core): align integration timeout budgets Release highlights: - Keep the protected release gate reliable on constrained CI runners. Release details: - Align source-catalog and concurrent-ingest test budgets with their real integration work. Verification: - Run both test files three times and the full Core coverage suite. --- packages/ragmir-core/src/context-resources.test.ts | 2 +- packages/ragmir-core/src/index-write-lock.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ragmir-core/src/context-resources.test.ts b/packages/ragmir-core/src/context-resources.test.ts index 1a716ad..661859b 100644 --- a/packages/ragmir-core/src/context-resources.test.ts +++ b/packages/ragmir-core/src/context-resources.test.ts @@ -104,5 +104,5 @@ describe("context resources", () => { expect(secondPage.indexedFiles).toHaveLength(5) expect(secondPage.indexedFiles[0]?.source).toBe(".ragmir/raw/source-50.md") expect(secondPage.page).toEqual({ offset: 50, limit: 10, nextOffset: null }) - }) + }, 15_000) }) diff --git a/packages/ragmir-core/src/index-write-lock.test.ts b/packages/ragmir-core/src/index-write-lock.test.ts index a5e28aa..f72ccec 100644 --- a/packages/ragmir-core/src/index-write-lock.test.ts +++ b/packages/ragmir-core/src/index-write-lock.test.ts @@ -216,7 +216,7 @@ describe("withIndexWriteLock", () => { staleInIndex: [], totalChunks: rows.length, }) - }) + }, 30_000) }) interface ChildEvent { From 558b011674239ac9a6305e29b524e1bb47d7fae3 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste THERY Date: Wed, 19 Aug 2026 22:33:02 +0700 Subject: [PATCH 2/2] test(core): stabilize path fallback coverage Release highlights: - Keep exact-path fallback coverage reliable under concurrent CI load. Release details: - Align the fallback integration timeout with the measured 91-file ingestion workload. Verification: - Run the focused test three times and the full Core coverage suite. --- packages/ragmir-core/src/query.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ragmir-core/src/query.test.ts b/packages/ragmir-core/src/query.test.ts index 96c41a3..9fc4da9 100644 --- a/packages/ragmir-core/src/query.test.ts +++ b/packages/ragmir-core/src/query.test.ts @@ -515,7 +515,7 @@ describe("search", () => { lexicalExactPathMatch: true, }) expect(vectorCandidateLimit(1)).toBeLessThan(90) - }, 10_000) + }, 20_000) it("should explain complete lexical fallback activation and coverage", async () => { const root = await mkdtemp(path.join(os.tmpdir(), "ragmir-query-fallback-explain-"))