Found in smoke #15
Camofox's browser process accumulates stale tabs across concurrent test waves. After ~30 tests at concurrency=4, `POST /tabs → 500: tab create timed out after 30000ms`. Subsequent waves all fail. Run summary: 23/860 tests ran on smoke #15's re-run before camofox died.
Fix options
- Per-page reset policy in BugHunter: BugHunter's `resetPolicy` should already enforce close-tab-after-test. Verify it's actually closing tabs — if so, the leak is in camofox.
- Camofox-mcp health check + restart: camofox-mcp could expose a `/healthz` that returns 503 when its tab pool is exhausted. BugHunter's pre-test check sees 503 → triggers a `pm2 restart camofox-browser` (or sends a SIGUSR1 to reset).
- PM2 max-restarts limit: tune the camofox pm2 config to max 50 tabs/process and auto-restart on exceed.
Recommend 1 first — confirm BugHunter is actually closing tabs. If yes, file follow-ups in camofox-mcp/camofox-browser repos.
Priority
High — gates large-scale runs on any real-world target.
Found in smoke #15
Camofox's browser process accumulates stale tabs across concurrent test waves. After ~30 tests at concurrency=4, `POST /tabs → 500: tab create timed out after 30000ms`. Subsequent waves all fail. Run summary: 23/860 tests ran on smoke #15's re-run before camofox died.
Fix options
Recommend 1 first — confirm BugHunter is actually closing tabs. If yes, file follow-ups in camofox-mcp/camofox-browser repos.
Priority
High — gates large-scale runs on any real-world target.