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: stabilize activity cancellation test

[._.]/ Adam Eivy72fa63b3e5ec
diff --git a/client/src/components/dashboard/ActiveProcessingWidget.jsx b/client/src/components/dashboard/ActiveProcessingWidget.jsx
index aaa0a65ef7..fcb72e2686 100644
--- a/client/src/components/dashboard/ActiveProcessingWidget.jsx
+++ b/client/src/components/dashboard/ActiveProcessingWidget.jsx
@@ -19,7 +19,7 @@ const sameProcessingSnapshot = (a, b) => a?.agents?.active === b?.agents?.active
&& a?.gpu?.gpus?.[0]?.utilizationPercent === b?.gpu?.gpus?.[0]?.utilizationPercent
&& a?.jobs?.length === b?.jobs?.length
&& (a?.extras?.imageTo3d || []).length === (b?.extras?.imageTo3d || []).length
- && a?.jobs?.every((job, index) => job.id === b.jobs[index]?.id
+ && (a?.jobs || []).every((job, index) => job.id === b.jobs[index]?.id
&& job.status === b.jobs[index]?.status
&& job.progress === b.jobs[index]?.progress
&& job.statusMsg === b.jobs[index]?.statusMsg)
diff --git a/client/src/components/dashboard/ActiveProcessingWidget.test.jsx b/client/src/components/dashboard/ActiveProcessingWidget.test.jsx
index 205c688bfe..f55cdd69ab 100644
--- a/client/src/components/dashboard/ActiveProcessingWidget.test.jsx
+++ b/client/src/components/dashboard/ActiveProcessingWidget.test.jsx
@@ -6,7 +6,7 @@ import ActiveProcessingWidget from './ActiveProcessingWidget';
const { mockGetActiveProcessing, mockCancelMediaJob } = vi.hoisted(() => ({
mockGetActiveProcessing: vi.fn(),
- mockCancelMediaJob: vi.fn(),
+ mockCancelMediaJob: vi.fn().mockResolvedValue({}),
}));
vi.mock('../../services/api', () => ({