Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: tolerate a null review record when collecting findings (#4108)

[._.]/ Adam Eivyf9665e1bb2f4
diff --git a/server/services/pipeline/seriesReview.js b/server/services/pipeline/seriesReview.js
index 625f4c9707..3b17b73da1 100644
--- a/server/services/pipeline/seriesReview.js
+++ b/server/services/pipeline/seriesReview.js
@@ -337,7 +337,7 @@ export async function runSeriesReview(seriesId, {
getReview(seriesId).catch(() => ({ comments: [] })),
]);
onProgress({ type: 'step:complete', kind: 'health', ready: health?.ready === true, score: health?.score ?? null });
- const findings = collectReviewFindings(review.comments);
+ const findings = collectReviewFindings(review?.comments);
// 4. Join the background passes. Both resolve (never reject) with their own
// failure flag, so the failed-stage list is assembled here in ONE place and