feat: initial magic_sentry plugin - #1
Conversation
Sentry for Magic apps: MagicSentry.run opens one zone for the binding, the .env load, SentryFlutter.init and the app (web needs the outer zone, flutter#100277); an ErrorWidget breadcrumb installer; and SentryServiceProvider, inert without a DSN, which wires sentry_dio (captureFailedRequests off) plus a network interceptor that reports server failures fingerprinted by the normalised endpoint, a user context that follows Auth.stateNotifier (id, email and app-supplied tags), and SentryNavigatorObserver. The install stub publishes the app's own configureSentry; the barrel does not export one.
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
|
Note Kodizm (AI-generated). May contain mistakes; verify before acting. The plugin looks sound and follows its own Major
Minor
TestsThe interceptor (disposition, normalisation, dedupe, event shape), the user context (login, logout, extras, double install), the provider wiring and CI
|
|
@kodizm review. Minor fixed: |
|
Note Kodizm (AI-generated). May contain mistakes; verify before acting. The fix commit looks correct and I have no new findings. CI is still running on it, so this isn't green yet. Changes since my last review: one commit ( You were right about the earlier Major: magic's TestsThe new test CI
|
feat: initial magic_sentry plugin
Sentry for Magic apps: MagicSentry.run opens one zone for the binding, the
.env load, SentryFlutter.init and the app (web needs the outer zone,
flutter#100277); an ErrorWidget breadcrumb installer; and SentryServiceProvider,
inert without a DSN, which wires sentry_dio (captureFailedRequests off) plus a
network interceptor that reports server failures fingerprinted by the
normalised endpoint, a user context that follows Auth.stateNotifier (id, email
and app-supplied tags), and SentryNavigatorObserver. The install stub publishes
the app's own configureSentry; the barrel does not export one.
Part of the "framework-level support" round (plan 2 of 3): code that uptizm carried because a plugin lacked a seam moves into the owning package. Companion PRs: fluttersdk/magic, fluttersdk/magic_starter, fluttersdk/magic_notifications, fluttersdk/magic_deeplink, fluttersdk/wind, fluttersdk/magic_sentry, and the uptizm adoption.
This PR compiles and tests against its siblings' current default branches; nothing here depends on another PR in the round being merged first. No version bump and no publish.