Add monitoring service and database schema

- Implement monitoring service with heartbeat, lease tasks, resume tasks, and task result handling.
- Create monitoring time utilities for business date calculations.
- Add unit tests for date window resolution and business day handling.
- Define database schema for monitoring-related tables including quotas, daily reports, and task management.
- Establish migration scripts for creating and dropping monitoring tables.
This commit is contained in:
2026-04-12 09:56:18 +08:00
parent 9b4dd09780
commit 6066f43a7d
67 changed files with 16312 additions and 125 deletions
+1 -1
View File
@@ -818,7 +818,7 @@ async function submitCompetitor(): Promise<void> {
width: 4px;
height: 18px;
border-radius: 2px;
background: #111827;
background: #1f5cff;
margin-right: 12px;
}