modcomms/backend/app
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
..
agents Add toast notification when primary Gemini model falls back to backup 2026-03-02 13:00:12 +00:00
api Grant oversight_admin write access to campaigns and proofs 2026-03-03 13:08:54 +00:00
dependencies Fix email resolution from Azure AD token claims 2026-03-03 15:55:00 +00:00
models Fix KB distillation fallback and SpecVersion type annotation 2026-03-16 14:03:25 +00:00
repositories Populate email on login for users with empty email field 2026-03-03 15:45:48 +00:00
services Fix WebSocket connection dropped during long proof analysis 2026-03-18 11:23:59 +00:00
websocket Fix WebSocket connection dropped during long proof analysis 2026-03-18 11:23:59 +00:00
__init__.py permissions changes 2025-12-18 16:51:27 +00:00
config.py Fix LlamaParse 401 + update logo to v5 2026-03-16 12:22:31 +00:00
main.py Fix WebSocket connection dropped during long proof analysis 2026-03-18 11:23:59 +00:00