gitnexus 1.6.4-rc.56 → 1.6.4-rc.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -235,12 +235,22 @@ export const createWorkerPool = (workerUrl, poolSize, options) => {
|
|
|
235
235
|
if (!settled) {
|
|
236
236
|
settled = true;
|
|
237
237
|
cleanup();
|
|
238
|
-
activeWorkers--;
|
|
239
238
|
inFlightProgress[workerIndex] = 0;
|
|
240
239
|
const shouldContinue = requeueAfterTimeout(workerIndex, job, lastProgress);
|
|
241
|
-
if (!shouldContinue)
|
|
240
|
+
if (!shouldContinue) {
|
|
241
|
+
activeWorkers--;
|
|
242
242
|
return;
|
|
243
|
-
|
|
243
|
+
}
|
|
244
|
+
try {
|
|
245
|
+
await replaceWorker(workerIndex);
|
|
246
|
+
}
|
|
247
|
+
catch (err) {
|
|
248
|
+
void fail(err instanceof Error ? err : new Error(`Worker replacement failed: ${err}`));
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
finally {
|
|
252
|
+
activeWorkers--;
|
|
253
|
+
}
|
|
244
254
|
reportProgress();
|
|
245
255
|
runWorker(workerIndex);
|
|
246
256
|
maybeDone();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gitnexus",
|
|
3
|
-
"version": "1.6.4-rc.
|
|
3
|
+
"version": "1.6.4-rc.58",
|
|
4
4
|
"description": "Graph-powered code intelligence for AI agents. Index any codebase, query via MCP or CLI.",
|
|
5
5
|
"author": "Abhigyan Patwari",
|
|
6
6
|
"license": "PolyForm-Noncommercial-1.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@huggingface/transformers": "^4.1.0",
|
|
56
|
-
"@ladybugdb/core": "^0.16.
|
|
56
|
+
"@ladybugdb/core": "^0.16.1",
|
|
57
57
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
58
58
|
"@scarf/scarf": "^1.4.0",
|
|
59
59
|
"cli-progress": "^3.12.0",
|