Filter dynamic import errors from Sentry#8349
Merged
iHiD merged 1 commit intoFeb 8, 2026
Merged
Conversation
These "Failed to fetch dynamically imported module" TypeErrors are caused by transient network issues, ad blockers, or deploys invalidating cached chunk names. They are not actionable and just create noise. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
iHiD
added a commit
that referenced
this pull request
Feb 8, 2026
* Replace Bugsnag with Sentry for error monitoring Migrate error monitoring from Bugsnag to Sentry across both the Ruby backend and JavaScript frontend. Uses Exercism.config.sentry_dsn for backend config and env.json for frontend config, both production-only. - Swap bugsnag gem for sentry-ruby + sentry-rails - Swap @bugsnag/js + @bugsnag/plugin-react for @sentry/react - Replace all Bugsnag.notify() calls with Sentry.capture_exception() - Preserve Active Storage RecordNotFound filter via before_send - Replace skip_bugsnag job pattern with retry_on + excluded_exceptions - Update CSP connect policy for Sentry ingest domain - Update GitHub labels from bot/bugsnag to bot/sentry Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update Gemfile.lock and fix sentry test stubs Run bundle install to remove bugsnag from lockfile and add sentry gems. Fix Mocha stubbing errors in sentry_test.rb for cases where url is never accessed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Add x86_64-linux platform to Gemfile.lock CI runs on Linux and the lockfile only had the darwin platform after the gem swap. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Use separate Sentry DSN config keys for Rails and JS - Backend: Exercism.config.sentry_rails_dsn - Frontend: Exercism.config.sentry_js_dsn (piped through env.json) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Sample JS errors: 100% logged-in, 1% logged-out Use beforeSend to always capture errors from logged-in users (with user ID attached) and sample only 1% of errors from logged-out users to avoid excessive noise. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Filter dynamic import errors from Sentry (#8349) These "Failed to fetch dynamically imported module" TypeErrors are caused by transient network issues, ad blockers, or deploys invalidating cached chunk names. They are not actionable and just create noise. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
iHiD
added a commit
that referenced
this pull request
Feb 8, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
iHiD
added a commit
that referenced
this pull request
Feb 8, 2026
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Failed to fetch dynamically imported moduleerrors in the SentrybeforeSendhookTest plan
yarn testpasses🤖 Generated with Claude Code