Skip to content

fix(sentry): tighten noise filters for deck.gl/maplibre and WebView errors#429

Merged
koala73 merged 1 commit intomainfrom
fix/sentry-noise-filters
Feb 26, 2026
Merged

fix(sentry): tighten noise filters for deck.gl/maplibre and WebView errors#429
koala73 merged 1 commit intomainfrom
fix/sentry-noise-filters

Conversation

@koala73
Copy link
Owner

@koala73 koala73 commented Feb 26, 2026

Summary

  • Widen beforeSend regex to catch deck.gl internal null is not an object (evaluating 'u.id') during variant switch (270 events, 96 users)
  • Remove in_app requirement from TypeError suppression — Sentry SDK marks deck.gl/maplibre frames inconsistently
  • Fix Firefox can't access lexical declaration wording (was only matching Chrome's Cannot access)
  • Add noise filters: isReCreate (Android WebView injection), HTMLImageElement style, WebGL context loss write

Issues resolved in Sentry

  • WORLDMONITOR-4A (270 events) — deck.gl internal render race during variant switch
  • WORLDMONITOR-5A (5 events) — WebGL context loss in heatmap
  • WORLDMONITOR-5N (1 event) — maplibre lexical declaration (Firefox)
  • WORLDMONITOR-5M (1 event) — img onerror on removed element
  • WORLDMONITOR-5K (1 event) — Android WebView script injection

Test plan

  • Deploy and monitor Sentry for 24h — all 5 issues should stay resolved
  • Verify no real errors are suppressed by checking beforeSend logic

…rrors

- Widen beforeSend regex to catch `null is not an object (evaluating 'u.id')`
  pattern from deck.gl internals during variant switch (WORLDMONITOR-4A, 270 events)
- Remove `in_app` requirement from TypeError suppression — Sentry SDK marks
  deck.gl/maplibre frames inconsistently, causing the filter to miss
- Fix Firefox lexical declaration wording: `can't access` vs Chrome's `Cannot access`
- Add noise filters: isReCreate (Android WebView injection), HTMLImageElement
  style access, WebGL context loss write access
@vercel
Copy link

vercel bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldmonitor Building Building Preview, Comment Feb 26, 2026 5:23pm
worldmonitor-finance Building Building Preview, Comment Feb 26, 2026 5:23pm
worldmonitor-happy Building Building Preview, Comment Feb 26, 2026 5:23pm
worldmonitor-startup Building Building Preview, Comment Feb 26, 2026 5:23pm

Request Review

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant