bulltrackers-module 1.0.640 → 1.0.641
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.
|
@@ -399,35 +399,35 @@ async function generateBuildReport(config, dependencies, manifest) {
|
|
|
399
399
|
trueReRuns.forEach(item => processItem(dateSummary.rerun, item, "Logic Changed"));
|
|
400
400
|
stableUpdates.forEach(item => processItem(dateSummary.stable, item, "Logic Stable"));
|
|
401
401
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
402
|
+
// Auto-Heal Status if Stable
|
|
403
|
+
if (stableUpdates.length > 0) {
|
|
404
|
+
const updatesPayload = {};
|
|
405
|
+
for (const stable of stableUpdates) {
|
|
406
|
+
const m = manifestMap.get(stable.name);
|
|
407
|
+
const stored = dailyStatus[stable.name];
|
|
408
|
+
|
|
409
|
+
// [FIX] Only auto-heal if we have valid result data
|
|
410
|
+
// Otherwise, force re-run to regenerate everything properly
|
|
411
|
+
const hasValidResults = stored?.resultHash &&
|
|
412
|
+
stored.resultHash !== 'empty' &&
|
|
413
|
+
stored.dependencyResultHashes &&
|
|
414
|
+
Object.keys(stored.dependencyResultHashes).length > 0;
|
|
415
|
+
|
|
416
|
+
if (m && stored && hasValidResults) {
|
|
417
|
+
updatesPayload[stable.name] = {
|
|
418
|
+
hash: m.hash, simHash: stable.simHash, resultHash: stored.resultHash,
|
|
419
|
+
dependencyResultHashes: stored.dependencyResultHashes,
|
|
420
|
+
category: m.category, composition: m.composition, lastUpdated: new Date()
|
|
421
|
+
};
|
|
422
|
+
} else {
|
|
423
|
+
// No valid results - treat as true re-run
|
|
424
|
+
processItem(dateSummary.rerun, stable, "Epoch Change - Rebuilding");
|
|
425
|
+
}
|
|
425
426
|
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
}
|
|
430
|
-
}
|
|
427
|
+
if (Object.keys(updatesPayload).length > 0) {
|
|
428
|
+
await updateComputationStatus(dateStr, updatesPayload, config, dependencies);
|
|
429
|
+
}
|
|
430
|
+
}}
|
|
431
431
|
|
|
432
432
|
// Add skipped items to Stable count for metrics
|
|
433
433
|
analysis.skipped.forEach(item => processItem(dateSummary.stable, item, "Up To Date"));
|