TRUEREF-0022 fix, more tests

This commit is contained in:
Giancarmine Salucci
2026-03-30 19:11:09 +02:00
parent 6297edf109
commit ec6140e3bb
12 changed files with 1473 additions and 7 deletions

View File

@@ -102,7 +102,7 @@ export function initializePipeline(
workerScript,
embedWorkerScript,
dbPath: options.dbPath,
onProgress: (jobId: string, msg: ParseWorkerResponse) => {
onProgress: (jobId, msg) => {
// Update DB with progress
db.prepare(
`UPDATE indexing_jobs
@@ -137,9 +137,6 @@ export function initializePipeline(
_broadcaster.broadcast(jobId, '', 'job-failed', { jobId, error });
}
},
onEmbedReady: () => {
console.log('[WorkerPool] Embedding worker ready');
},
onEmbedDone: (jobId: string) => {
console.log('[WorkerPool] Embedding complete for job:', jobId);
},