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([issue-1346]): gate editorial-check runs on in-flight custom-check save (codex review r2)

Adam Eivy696b8e1636e8
diff --git a/client/src/pages/PipelineEditorialChecks.jsx b/client/src/pages/PipelineEditorialChecks.jsx
index 47c99a24d3..5b328f199e 100644
--- a/client/src/pages/PipelineEditorialChecks.jsx
+++ b/client/src/pages/PipelineEditorialChecks.jsx
@@ -255,7 +255,10 @@ export default function PipelineEditorialChecks() {
setSearchParams(next, { replace: true });
};
- const runDisabled = !seriesId || runActive || runStarting || anySaving;
+ // Gate runs on formSaving too: a run reads server-side settings, so starting
+ // one while a custom-check create/edit PATCH is in flight would run the stale
+ // (pre-save) definition. Mirrors the savingIds gate for per-check config saves.
+ const runDisabled = !seriesId || runActive || runStarting || anySaving || formSaving;
return (
<div className="mx-auto max-w-6xl space-y-4">