Skip to content

Commit 4eff808

Browse files
authored
test(core): stabilize release gate timeouts (#167)
Release highlights: - Deliver reliable release validation for Ragmir 4.2.0 retrieval quality improvements. Release details: - Align three integration test budgets with measured CI workloads. - Preserve retrieval, catalog, lock, and child-process assertions. Verification: - Pass pnpm validate with 633 tests, API checks, smokes, packaging, and release checks. - Pass Linux/macOS portability and all TypeScript/Python CodeQL analyses.
2 parents 12fe858 + 558b011 commit 4eff808

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/ragmir-core/src/context-resources.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,5 @@ describe("context resources", () => {
104104
expect(secondPage.indexedFiles).toHaveLength(5)
105105
expect(secondPage.indexedFiles[0]?.source).toBe(".ragmir/raw/source-50.md")
106106
expect(secondPage.page).toEqual({ offset: 50, limit: 10, nextOffset: null })
107-
})
107+
}, 15_000)
108108
})

packages/ragmir-core/src/index-write-lock.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ describe("withIndexWriteLock", () => {
216216
staleInIndex: [],
217217
totalChunks: rows.length,
218218
})
219-
})
219+
}, 30_000)
220220
})
221221

222222
interface ChildEvent {

packages/ragmir-core/src/query.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ describe("search", () => {
515515
lexicalExactPathMatch: true,
516516
})
517517
expect(vectorCandidateLimit(1)).toBeLessThan(90)
518-
}, 10_000)
518+
}, 20_000)
519519

520520
it("should explain complete lexical fallback activation and coverage", async () => {
521521
const root = await mkdtemp(path.join(os.tmpdir(), "ragmir-query-fallback-explain-"))

0 commit comments

Comments
 (0)