fix: resolve test hanging issue in CI
- Reduce CI reporters to prevent resource contention (removed json/html) - Optimize coverage settings with all:false and skipFull:true - Fix MSW waitForRequest memory leak by adding timeout and cleanup - Add teardownTimeout to vitest config - Add 10-minute timeout to GitHub Actions job - Create emergency test script without coverage for debugging The main issues were: 1. Coverage collection with multiple reporters causing exhaustion 2. MSW event listener that could hang indefinitely 3. Too many simultaneous reporters (4 at once) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@@ -8,6 +8,7 @@ on:
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10 # Add a 10-minute timeout to prevent hanging
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user