Fixes #344 * Add bot probe filter middleware and Sentry noise suppression Block common bot scanning paths (wp-admin, .env, .php, etc.) in Express before React Router handles them, preventing spurious Sentry errors. Also filter Sentry events for React Flight protocol probes ($1:aa:aa multipart body pattern) and any remaining bot-path 404 noise. https://claude.ai/code/session_01Y5Ca6oxd5zyyM89acmogf7 * Tighten bot probe regex and React Flight Sentry filter - Remove .xml, .log, .git from bot probe blocklist to avoid false positives on legitimate routes (e.g. /sitemap.xml) - Tighten React Flight error filter from broad string match to precise wire-format pattern (/\$\d+:[a-z]/) to avoid swallowing real errors - Remove redundant URL check from beforeSend (ignoreErrors already covers it) - Fix missing newline at end of instrument.server.mjs https://claude.ai/code/session_01Y5Ca6oxd5zyyM89acmogf7 --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| app.ts | ||
| db.ts | ||
| logger.ts | ||
| snapshots.ts | ||
| socket.d.ts | ||
| socket.ts | ||
| timer.ts | ||
| types.d.ts | ||
| virtual-modules.d.ts | ||