release: BUG fixes batch 1-6, full bug scan docs, Ubuntu/Linux dev

- Backend: auth refresh reuse, schedule/retry/sync/agent/files fixes
- Frontend: push WS, files ETag browse, vite build assets
- Docs: audit/changelog, production deploy gate, bug scan registry B7-77
- Deploy: deploy-production.sh, prune assets, gate logs
This commit is contained in:
Nexus Deploy
2026-06-04 14:01:14 +08:00
parent 9ac6a2d27f
commit a2ae74d582
367 changed files with 77336 additions and 751 deletions
+4 -2
View File
@@ -29,9 +29,11 @@ logger = logging.getLogger("nexus.agent")
router = APIRouter(prefix="/api/agent", tags=["agent"])
# Redis key patterns
# Redis key patterns (TTL must exceed flush interval so keys survive until MySQL flush)
from server.background.heartbeat_flush import FLUSH_INTERVAL
REDIS_KEY_PREFIX = "heartbeat:"
REDIS_KEY_EXPIRE = 600 # 10 min TTL — matches flush interval
REDIS_KEY_EXPIRE = int(FLUSH_INTERVAL * 1.5) # 900s when flush is 600s
REDIS_ALERT_KEY_PREFIX = "alerts:"