8faba05b5b
Deploy Claude Dev (Dev) / deploy-claude-dev-dev (push) Failing after 2m3s
Deploy Dashboard (Main) / Backend Tests (push) Successful in 3m7s
Deploy Dashboard (Main) / Frontend Tests (push) Successful in 6s
Deploy Dashboard (Main) / Deploy to Production (push) Has been cancelled
Deploy Dashboard (Main) / Build Main Image (push) Has been cancelled
Deploy Dashboard (Dev) / Backend Tests (push) Successful in 1m18s
Deploy Dashboard (Dev) / Frontend Tests (push) Successful in 51s
Deploy Dashboard (Dev) / Build Dev Image (push) Successful in 1m42s
Deploy Dashboard (Dev) / Deploy to Dev (push) Successful in 58s
1.6 KiB
1.6 KiB
Sprint 07 — Operations Hardening
Status: Completed ✅ Goal: Fix critical gaps in system backups, log rotation, container resource management, and health monitoring.
S07.1 — Implement audit log rotation [Completed ✅]
- Files:
dashboard/backend/main.py - Action: Replaced
logging.FileHandlerwithlogging.handlers.RotatingFileHandler(10MB limit, 5 backup files). - Verification: Standard requests function properly; Python syntax checked and tests passed.
S07.2 — Fix database backups (Add OPC & remove dead paths) [Completed ✅]
- Files:
backup.sh - Action:
- Added
OPC DBdump using pg_dump. - Added
/volume1/docker/nas-dashboard/rbac.jsonandaudit.logconfig paths to the configs backup block. - Removed the deprecated
/volume1/docker/openclaw/datapath.
- Added
- Verification: Shell script verified for syntax.
S07.3 — Enhance health check endpoint [Completed ✅]
- Files:
dashboard/backend/main.py - Action: Enhanced
/api/healthto dynamically query database pool availability, docker ping status, and disk space usage. Returns HTTP 503 if any critical service is down. - Verification: Integration test suite verified that endpoint changes compile and execute cleanly.
S07.4 — Set Docker container resource limits [Completed ✅]
- Files:
dashboard/docker-compose.yml,claude-dev/docker-compose.yml - Action: Added container memory limits and CPU limits (
mem_limitandcpusservice-level directives). - Verification: Compose YAML structures verified via linter and schema checker.