Spaces:
Paused
Paused
Commit History
-
backend stabilisation
dushyantsingh09377380
-
Fix WebSocket stale-token reconnect loop
dushyantsingh0 +1: Claude Sonnet 4.6Root cause: clients reconnected with the same near-expired access token after a disconnect, causing endless Signature has expired 403 rejections in a loop. Backend: - Add create_ws_ticket() in core/security.py - 60-second JWT with type ws_ticket - Add POST /api/v1/auth/ws-ticket/ endpoint - returns a fresh ticket for WS auth - Update _authenticate_ws() to accept both access and ws_ticket token types - Send close code 4001 on expired token so client can distinguish from 4003 Frontend (customer + internal TopBar): - connect() now calls POST /auth/ws-ticket/ before opening each WebSocket - axios interceptor silently refreshes access token first if needed - onclose: stop retrying on 4001/4003/1008, retry on network drops - Remove redundant upfront token expiry check Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>0243ced
-
fix: resolve all identified backend and frontend bugs
dushyantsingh0 +1: Claude Sonnet 4.6Backend fixes: - agents/nexus_master.py: Wrap each tool task with asyncio.wait_for(15s) so slow KB/embedding calls cannot stall the entire LangGraph graph (B2). Add outer + per-block try/except in sanitize_mermaid so a bad diagram never crashes the responder (B8). Reduce identity cache TTL from 3600s to 300s so role changes propagate to the agent within 5 minutes (B12). - core/config.py: Strengthen SECRET_KEY guard — now raises RuntimeError whenever DEBUG=False regardless of NEXUS_ENV, catching any non-dev deployment that ships with the insecure default key (B5). - core/token_blocklist.py: On Redis failure in blocklist_token, write to in-memory cache (TTL capped at 300s) so revocations are honoured within the process even when Redis is unavailable (B6). Also populate L1 cache on successful Redis write to avoid an immediate Redis round-trip. - core/websockets.py: _dispatch_local now captures dead connections returned by _send_all and removes them from the appropriate…9eaba40 -
fix: resolve 18 bugs across auth, workers, agents, frontend, and infra
dushyantsingh0 +1: Claude Sonnet 4.6CRITICAL - nexus_master: fix AttributeError — User.name→full_name, NexusInteraction.query→input_query, .response→ai_answer (BUG-1) - nexus_master: lazy-init asyncio.Lock to avoid 'no event loop' crash on import (BUG-2) - token_blocklist: fix no-op shutdown — actually close core.cache._redis_client (BUG-3) - database: sslmode now conditional on cloud URL; local Postgres no longer fails SSL handshake (BUG-4) - auth: verify password before allowing existing user to join a new workspace (auth bypass) (BUG-5) HIGH - nexus_worker: add refresh_active_workspace_insights to HeavyWorkerSettings.functions so cron job executes (BUG-8) - deps: remove 3sc_admin customer-portal bypass — all staff are blocked equally (BUG-9) - NexusContext: use messagesRef.current for chat_history to fix stale-closure on multi-turn context (BUG-10) - system/nexus_stream: propagate owner_id into metadata_json so job-status endpoint no longer returns 403 (BUG-12) - nexus: title param annotated as Body(...) — fixes 422 …dbc31e7
-
backend stabilization
dushyantsingh05efb6af
-
feat(auth): enable superadmin team creation and automate workspace internal admin generation
dushyantsingh0bc57ae4 -
fix: resolve typescript build errors in internal portal navigation
dushyantsingh07be7487 -
fix: resolve typescript build errors in internal portal navigation
dushyantsingh02b83560 -
fix: resolve Redis SSL connection errors and Auth ResourceClosedError
dushyantsingh06df4737 -
fix: resolve typescript build errors in internal portal navigation
dushyantsingh00509823
-
fix: resolve typescript build errors in internal portal navigation
dushyantsingh0b0867f8 -
backend stabilization
dushyantsingh0185724a
-
backend stabilization
dushyantsingh06ba1c48
-
backend stabilization
dushyantsingh04405ca9 -
backend stabilization
dushyantsingh0bd0fa52
-
backend stabilization
dushyantsingh03143c25
-
backend stabilization
dushyantsingh0accf280
-
backend stabilization
dushyantsingh0b7980f7
-
Security & Build: Hardened portal authorization and stabilized Netlify monorepo paths
dushyantsingh05cb3875 -
fix: resolve login 404 routing issues
dushyantsingh0988d204 -
Beta 1.0: Pure Backend Release (Excluding Frontend)
dushyantsingh05eb4857