FEAT-750: Clean et fix toutes les erreurs Sentry récurrentes

📃 TICKET NOTION 📃

Summary

  • Sentry signal-vs-noise: tag events with release (api + both fronts) so source maps resolve, filter known React DOM / ServiceWorker / Firefox / Headway noise, and stop capturing expected errors (ECONNRESET?499, Mongoose VersionError?409) so Sentry only surfaces real bugs.
  • PATCH no longer crashes with circular JSON (API-86/API-88): additionalActions now returns {res, finalEntity} instead of the Express res, fixing the 500 "Converting circular structure to JSON" on permission-denied registration/team/activity/user updates.
  • HelloAsso ticketing hardened: skip donation items (not handled by NOE) and handle missing order.formSlug so check returns a clean 4xx instead of 500.
  • fetchWithMessages rejects with a real Error (not the raw Response): error UIs and Sentry now get a usable message on non-2xx responses.
  • Login page resilience: wrapped in a Sentry ErrorBoundary with a reload fallback, ending the blank-screen lockout when /login crashes.
  • Google Translate blocked from interfering with rendering (translate="no" + meta directive), with interface language now driving index.html.

Commits

  • 0c0fd30f fix: prevent Google Translate from interfering in NOE's rendering
  • 761f5914 fix(front,api): silence unhandled rejections and restore login fallback
  • 18e9615e fix(front): wrap login page in Sentry ErrorBoundary
  • 177abb32 fix(sentry): pass release to Sentry.init in api, orga-front, inscription-front
  • 7c40f311 fix(front): add Sentry noise filters for React DOM, ServiceWorker, Firefox reader, Headway
  • ce9d1210 fix(orga-front): reject non-2xx responses with Error, not raw Response
  • c7d7f1b6 fix(api): swallow ECONNRESET with 499 instead of capturing in Sentry
  • d3ed15fe fix(api): return clean 409 for Mongoose VersionError instead of capturing in Sentry
  • 52a1f293 fix(api): handle missing order.formSlug in HelloAsso ticket check
  • bd830c3d fix(api): change additionalActions contract to {res, finalEntity} (API-86/API-88)
Edited by JulesLecuir

Merge request reports

Loading
Loading