fix(ui): stop dashboard chat history reload storm (#45541)

* UI: stop dashboard chat history reload storm

* Changelog: add PR number for chat reload fix

* fix: resolve branch typecheck regressions
This commit is contained in:
Val Alexander
2026-03-13 19:19:53 -05:00
committed by GitHub
parent 4f1195f5ab
commit 0e8672af87
14 changed files with 190 additions and 46 deletions

View File

@@ -1,7 +1,8 @@
import { vi } from "vitest";
import type { MockFn } from "../../test-utils/vitest-mock-fn.js";
export const preflightDiscordMessageMock = vi.fn();
export const processDiscordMessageMock = vi.fn();
export const preflightDiscordMessageMock: MockFn = vi.fn();
export const processDiscordMessageMock: MockFn = vi.fn();
vi.mock("./message-handler.preflight.js", () => ({
preflightDiscordMessage: preflightDiscordMessageMock,