modcomms/frontend/services
Vadym Samoilenko 5c338c31fb Fix WebSocket connection dropped during long proof analysis
- Add 25s heartbeat ping from backend to prevent Apache/proxy idle-timeout
  killing the connection during 1-3 min analysis runs
- Handle heartbeat silently in both analyzeProof and analyzeWIPProof frontend handlers
- Run PDF rasterization via asyncio.to_thread so heartbeats aren't blocked
- Wrap analyze_proof with asyncio.wait_for(timeout=300) for a hard 5-min cap
- Log dropped send_message calls in ConnectionManager instead of swallowing silently
- cloudrun.yaml: add sessionAffinity, startup probe, raise containerConcurrency 4→10,
  document DISABLE_AUTH option

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 11:23:59 +00:00
..
apiService.ts Add per-agency analytics breakdown table for admin users 2026-02-22 14:33:48 -06:00
authConfig.ts Prepare production deployment for baic.oliver.solutions/modcomms 2026-03-06 11:54:00 +00:00
authService.ts Add MSAL debug logging to frontend and backend 2025-12-18 13:11:30 -06:00
geminiService.ts Fix WebSocket connection dropped during long proof analysis 2026-03-18 11:23:59 +00:00