Spaces:
Paused
Paused
Commit History
-
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 -
perf: reduce Redis EXISTS/UNWATCH storm from token blocklist and SLA monitor
dushyantsingh0 +1: Claude Sonnet 4.6- token_blocklist: cache non-blocked JTIs for 300s (up from 60s) to cut per-process EXISTS calls by ~80%; blocked tokens still evict at 60s - monitor_sla_thresholds: replace N individual redis.get(latch) calls inside the 500-ticket loop with a single MGET before the loop (1 round trip vs 500) - monitor_sla_thresholds: add missing latch for Tier 1 BREACHED notifications; the missing latch caused re-enqueue on every 2-min cron run, producing the WATCH→EXISTS→UNWATCH burst (428 UNWATCH/snapshot) visible in monitoring Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>d559c49 -
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
-
fix: resolve typescript build errors in internal portal navigation
dushyantsingh00509823 -
fix: resolve typescript build errors in internal portal navigation
dushyantsingh01049d57
-
perf: reduce redis EXISTS pressure with L1 token blocklist cache
dushyantsingh00b7baba
-
backend stabilization
dushyantsingh0b7980f7