Skip to content

Filter Safari's dynamic import error variant from Sentry#8415

Merged
iHiD merged 1 commit intomainfrom
fix/8383
Feb 8, 2026
Merged

Filter Safari's dynamic import error variant from Sentry#8415
iHiD merged 1 commit intomainfrom
fix/8383

Conversation

@iHiD
Copy link
Copy Markdown
Member

@iHiD iHiD commented Feb 8, 2026

Closes #8383

Summary

  • Extends the Sentry beforeSend filter to also catch Safari/WebKit's "Importing a module script failed" error message
  • PR Filter dynamic import errors from Sentry #8349 already filters Chrome/Firefox's "Failed to fetch dynamically imported module" but Safari uses different wording for the same transient error
  • Both are non-actionable (flaky connections, ad blockers, deploys invalidating cached chunk names)

Test plan

  • yarn test passes (160 suites, 1550 tests)

🤖 Generated with Claude Code

The existing filter only catches Chrome/Firefox's "Failed to fetch
dynamically imported module" message. Safari uses "Importing a module
script failed" for the same transient error. Both are non-actionable.

Closes #8383

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@iHiD iHiD requested a review from dem4ron as a code owner February 8, 2026 20:19
@iHiD iHiD merged commit a0c52f1 into main Feb 8, 2026
41 checks passed
@iHiD iHiD deleted the fix/8383 branch February 8, 2026 20:42
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.

TypeError: Importing a module script failed.

1 participant