Commit 99c8fbb
committed
feat: crash reporter v2 — richer diagnostics, bot detection, resource snapshots
- Add collectResourceSnapshot() — Node+browser RSS, heap, FDs, handles, session/tab counts
- Add detectBotProtection() — Cloudflare, DataDome, PerimeterX, Distil, Sucuri, Akamai
- Add classifyProxyError() — proxy error codes without leaking IPs/creds
- Add getReadyState() — document.readyState with 1s timeout for hang diagnosis
- Add trackRoute() — Express middleware for stall route attribution
- Add redirect status code chains, in-flight request counting
- Add sleep/suspend false-positive suppression (120s cap + 5-tick post-wake)
- Restructure issue body: Environment → Resources → Error → Hang Details → Anti-Bot → Proxy → Stall → Context
- Cut noise: consoleErrors, dialogCount, frameCount (kept dialog auto-dismiss)
- fileReport accepts labels array (bot-detection label now reaches GitHub Issues)
- browserPid guard: Number.isInteger() && > 0
- activeRoute uses route patterns not raw paths ([unmatched] fallback)
- Bump to 1.7.21 parent d9b95af commit 99c8fbb
5 files changed
Lines changed: 700 additions & 66 deletions
0 commit comments