feat: add nightly branch workflow

This commit is contained in:
GitHub Actions
2026-01-13 22:11:28 +00:00
parent d27c925ba5
commit 4adcd9eda1
187 changed files with 8897 additions and 1614 deletions
+16
View File
@@ -11,6 +11,7 @@
**Overall Status:****PASS**
All critical verification steps passed successfully:
- ✅ Frontend coverage: **87.7%** (exceeds 85% threshold)
- ✅ All tests passing: **1174 tests passed**
- ✅ TypeScript type check: **Zero errors**
@@ -21,6 +22,7 @@ All critical verification steps passed successfully:
## Step 1: Frontend Coverage Tests
### Execution Details
- **Command:** `npm run test:coverage`
- **Execution Date:** December 23, 2025 16:20:13
- **Duration:** 77.53 seconds
@@ -28,6 +30,7 @@ All critical verification steps passed successfully:
### Results
#### Overall Coverage Metrics
| Metric | Coverage | Status |
|--------|----------|--------|
| **Statements** | **87.7%** | ✅ PASS (Target: 85%) |
@@ -36,6 +39,7 @@ All critical verification steps passed successfully:
| **Lines** | **88.53%** | ✅ |
#### Test Execution Summary
- **Total Test Files:** 107 passed
- **Total Tests:** 1174 passed
- **Skipped Tests:** 2
@@ -45,6 +49,7 @@ All critical verification steps passed successfully:
#### Coverage by Module
##### API Layer (92.19% coverage)
- `accessLists.ts`: 100%
- `backups.ts`: 100%
- `certificates.ts`: 100%
@@ -69,6 +74,7 @@ All critical verification steps passed successfully:
- `websocket.ts`: 100%
##### Components (80.64% coverage)
- Core components well-covered (80%+ on most)
- Notable: `CSPBuilder.tsx` at 93.9%
- Notable: `Layout.tsx` at 84.31%
@@ -78,16 +84,20 @@ All critical verification steps passed successfully:
- `SecurityProfileForm.tsx`: 57.89%
##### Pages (79.2% coverage)
- `SystemSettings.tsx`: 82.35%
- `UsersPage.tsx`: 78.37%
##### Utilities and Context (87.5%+)
- Hooks: 87.5%
- Context: 69.23%
- Utils: 37.5% (toast notification utilities)
#### Known Test Warnings
Multiple React `act()` warnings were observed during test execution. These are related to asynchronous state updates in:
- `InviteModal` component
- `SystemSettings` component
- `Tooltip` and `Select` components
@@ -101,11 +111,13 @@ Multiple React `act()` warnings were observed during test execution. These are r
## Step 2: TypeScript Type Check
### Execution Details
- **Command:** `npm run type-check`
- **Result:** ✅ **PASS**
- **Errors Found:** **0**
### Output
```
> charon-frontend@0.3.0 type-check
> tsc --noEmit
@@ -118,6 +130,7 @@ Multiple React `act()` warnings were observed during test execution. These are r
## Step 3: Pre-commit Hooks Validation
### Execution Details
- **Command:** `pre-commit run --all-files`
- **Overall Result:** ⚠️ **PASS with Known Issue**
@@ -143,6 +156,7 @@ Multiple React `act()` warnings were observed during test execution. These are r
**Issue:** `.version` file contains `0.14.1` while latest Git tag is `v1.0.0`
**Analysis:**
- This is a **pre-existing configuration issue**
- Not related to test coverage work
- Does not impact code quality or test results
@@ -157,6 +171,7 @@ Multiple React `act()` warnings were observed during test execution. These are r
## Remaining Issues
### Critical Issues
**None**
### Non-Critical Items for Future Enhancement
@@ -206,6 +221,7 @@ The test coverage work successfully meets the Definition of Done:
### Sign-Off
The frontend test suite provides comprehensive coverage across all critical paths:
- API layer: 92.19% coverage with full coverage on most modules
- Components: 80.64% coverage with good coverage of complex components
- Pages: 79.2% coverage on user-facing pages