:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(llma): guard mcp sessions detail loader against stale responses (#60010)
Thomas Obermüllera943bffffc19
diff --git a/products/mcp_analytics/frontend/sessions/mcpSessionsLogic.ts b/products/mcp_analytics/frontend/sessions/mcpSessionsLogic.tsindex 27f83693017b..f7d80307d9dd 100644--- a/products/mcp_analytics/frontend/sessions/mcpSessionsLogic.ts+++ b/products/mcp_analytics/frontend/sessions/mcpSessionsLogic.ts@@ -108,11 +108,12 @@ export const mcpSessionsLogic = kea<mcpSessionsLogicType>([toolCalls: [[] as MCPToolCallApi[],{- loadToolCalls: async (sessionId: string) => {+ loadToolCalls: async (sessionId: string, breakpoint) => {if (!values.currentProjectId || !sessionId) {return []}const response = await mcpAnalyticsSessionsToolCalls(String(values.currentProjectId), sessionId)+ breakpoint()return [...(response.results ?? [])]},},