The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(chat): pin the hydrated async row settling through the panel
M3gA-Mind03264b185758
diff --git a/app/src/providers/__tests__/liveHistoryParity.test.tsx b/app/src/providers/__tests__/liveHistoryParity.test.tsxindex 14a88f9529..3f814a09a7 100644--- a/app/src/providers/__tests__/liveHistoryParity.test.tsx+++ b/app/src/providers/__tests__/liveHistoryParity.test.tsx@@ -28,6 +28,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';import * as chatService from '../../services/chatService';import { mapDisplayItems } from '../../features/conversations/derived/mapDisplayItems';+import { selectBackgroundProcesses } from '../../features/conversations/selectors/backgroundProcesses';import { threadApi } from '../../services/api/threadApi';import { store } from '../../store';import { beginInferenceTurn, clearAllChatRuntime } from '../../store/chatRuntimeSlice';@@ -469,6 +470,13 @@ describe('async delegation settles after its turn', () => {// Minutes later the child finishes, then its result is delivered as a// host-authored turn: a bare `chat_done`, no `inference_start`.fire(listeners, doneStep);+ // The hydrated row (core id) settles too: the background-process panel+ // reads the live timeline, and a missed row read "running" there forever.+ expect(+ selectBackgroundProcesses(+ store.getState().chatRuntime.toolTimelineByThread[TURN_THREAD] ?? []+ ).map(process => [process.taskId, process.status])+ ).toEqual([['sub-1', 'success']]);vi.mocked(threadApi.getTurnState).mockResolvedValue(snapshot('success') as never);act(() =>listeners.onDone?.({