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: remove obsolete historical resume client wrapper
Adam Eivy6235421bcbfb
diff --git a/client/src/components/apps/AppQualityRunner.test.jsx b/client/src/components/apps/AppQualityRunner.test.jsxindex e57fcbbf5b..0f483aafb8 100644--- a/client/src/components/apps/AppQualityRunner.test.jsx+++ b/client/src/components/apps/AppQualityRunner.test.jsx@@ -21,9 +21,9 @@ import AppQualityRunner from './AppQualityRunner';import AppQuality from './AppQuality';import { awaitEnabled, findEnabledByLabelText, findEnabledByRole } from '../../test/enabledBarrier.js';vi.mock('./AppQualityHistory', () => ({ default: () => null }));-import { getMaintenanceRuns, startMaintenanceRun, stopMaintenanceRun, resumeMaintenanceRun } from '../../services/apiAgents';+import { getMaintenanceRuns, startMaintenanceRun, stopMaintenanceRun } from '../../services/apiAgents';import useProviderModels from '../../hooks/useProviderModels';-vi.mock('../../services/apiAgents', () => ({ getMaintenanceRuns: vi.fn(), startMaintenanceRun: vi.fn(), stopMaintenanceRun: vi.fn(), resumeMaintenanceRun: vi.fn() }));+vi.mock('../../services/apiAgents', () => ({ getMaintenanceRuns: vi.fn(), startMaintenanceRun: vi.fn(), stopMaintenanceRun: vi.fn() }));vi.mock('../../hooks/useProviderModels', () => ({ default: vi.fn(() => ({ providers: [], selectedProviderId: 'codex', selectedModel: 'gpt-5', availableModels: [], loading: false })) }));vi.mock('../ProviderModelSelector', () => ({ default: ({ onEffortChange }) => <button onClick={() => onEffortChange('high')}>Use high effort</button> }));const app = { id: 'app-1', quality: { categories: [@@ -271,7 +271,6 @@ it('explains extended Deep and preserves old evidence without offering legacy reconst run = { id: 'deep-run', appId: app.id, status: 'stopped', auditDepth: 'deep', steps: [], reason: 'Budget exhausted',deepAudits: { step: { discoveryComplete: false, reviewedUnits: 0, totalUnits: 8, satisfiedPasses: 8, requiredPasses: 32, blockedUnits: 1, pendingCandidates: 2, deliveryComplete: false } } };getMaintenanceRuns.mockResolvedValue({ runs: [run] });- resumeMaintenanceRun.mockResolvedValue({ run: { ...run, status: 'running' } });render(<MemoryRouter><AppQualityRunner app={app} /></MemoryRouter>);fireEvent.change(screen.getByLabelText('Audit depth'), { target: { value: 'deep' } });expect(await screen.findByText(/8\/32 pass requirements/)).toBeInTheDocument();@@ -279,5 +278,4 @@ it('explains extended Deep and preserves old evidence without offering legacy reexpect(screen.getByText(/Historical exhaustive audit/)).toBeInTheDocument();expect(screen.getByText(/multiple worthwhile issues in one run/)).toBeInTheDocument();expect(screen.getByRole('option', { name: 'Deep — extended investigation and multiple fixes' })).toBeInTheDocument();- expect(resumeMaintenanceRun).not.toHaveBeenCalled();});diff --git a/client/src/services/apiAgents.js b/client/src/services/apiAgents.jsindex 0ae2a930e6..f54e479aa0 100644--- a/client/src/services/apiAgents.js+++ b/client/src/services/apiAgents.js@@ -387,7 +387,6 @@ export const startMaintenanceRun = ({ appId, providerId, model, effort = null, mbody: JSON.stringify({ appId, providerId, model, effort, mode, prCompletion, claimBetweenAudits, claimHandler, taskTypes, explicitCheck, auditDepth }),...options});-export const resumeMaintenanceRun = (id, options = {}) => request(`/cos/schedule/maintenance-runs/${id}/resume`, { method: 'POST', ...options });export const stopMaintenanceRun = (id, options = {}) => request(`/cos/schedule/maintenance-runs/${id}/stop`, { method: 'POST', ...options });export const triggerCosOnDemandTask = (taskType, appId = null, options = {}) => request('/cos/schedule/trigger', {