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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: reject hanging promise in httpClient when signal pre-aborted; surface toast on task add failure
Adam Eivye12475806cca
diff --git a/client/src/components/cos/TaskAddForm.jsx b/client/src/components/cos/TaskAddForm.jsxindex e7fb408ca5..d8a38c5b3f 100644--- a/client/src/components/cos/TaskAddForm.jsx+++ b/client/src/components/cos/TaskAddForm.jsx@@ -202,7 +202,7 @@ export default function TaskAddForm({ providers, apps, onTaskAdded, compact = fa})) : undefined,position: addToTop ? 'top' : 'bottom'}).catch(err => {- console.warn('Failed to add COS task:', err);+ toast.error(err.message || 'Failed to add task');setIsSubmitting(false);return null;});diff --git a/server/lib/httpClient.js b/server/lib/httpClient.jsindex 1209866c8c..f2df2702ac 100644--- a/server/lib/httpClient.js+++ b/server/lib/httpClient.js@@ -34,7 +34,7 @@ function insecureFetch(agent) {});req.on('error', reject);if (signal) {- if (signal.aborted) { req.destroy(); return; }+ if (signal.aborted) { req.destroy(); reject(new Error('Request aborted')); return; }signal.addEventListener('abort', () => req.destroy(new Error('Request aborted')), { once: true });}if (body) req.write(body);