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

address review (codex): warn on errored checks in the standalone editorial-checks UI (#1573)

[._.]/ Adam Eivy39b6a1fce0cd
diff --git a/client/src/pages/PipelineEditorialChecks.jsx b/client/src/pages/PipelineEditorialChecks.jsx
index 381ea9b4d5..9f083fbc4f 100644
--- a/client/src/pages/PipelineEditorialChecks.jsx
+++ b/client/src/pages/PipelineEditorialChecks.jsx
@@ -147,7 +147,14 @@ export default function PipelineEditorialChecks() {
const type = runLatest.type;
if (type !== 'complete' && type !== 'canceled' && type !== 'error') return;
setRunActive(false);
- if (type === 'complete') { loadFindings(seriesId); toast.success('Editorial checks complete'); }
+ if (type === 'complete') {
+ loadFindings(seriesId);
+ // #1573 — a check whose run() threw produced no findings; warn instead of a
+ // silent "complete" so an always-erroring check isn't mistaken for clean.
+ if (runLatest.errored > 0) {
+ toast.warning(`Editorial checks complete — ${runLatest.errored} check${runLatest.errored === 1 ? '' : 's'} errored: ${(runLatest.erroredCheckIds || []).join(', ')}`);
+ } else toast.success('Editorial checks complete');
+ }
else if (type === 'canceled') toast.success('Editorial checks canceled');
else toast.error(runLatest.error || 'Editorial checks failed');
}, [runActive, runClosed, runLatest, seriesId]);