fix(telemetry): patch memory leak and enforce logPrompts privacy (#23281)

This commit is contained in:
Spencer
2026-03-23 19:58:06 -04:00
committed by GitHub
parent f784e192fa
commit fcd190b8b1
15 changed files with 184 additions and 74 deletions

View File

@@ -97,6 +97,7 @@ export function createMockConfig(
getMcpClientManager: vi.fn().mockReturnValue({
getMcpServers: vi.fn().mockReturnValue({}),
}),
getTelemetryLogPromptsEnabled: vi.fn().mockReturnValue(false),
getGitService: vi.fn(),
validatePathAccess: vi.fn().mockReturnValue(undefined),
getShellExecutionConfig: vi.fn().mockReturnValue({