Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: sentry web api #2489

Draft
wants to merge 27 commits into
base: feat/js-sdk-integration
Choose a base branch
from
Draft

Conversation

buenaflor
Copy link
Contributor

@buenaflor buenaflor commented Dec 12, 2024

Description

Allows type safe API access to underlying JS SDK

In this PR only init is implemented

💡 Motivation and Context

PR #2 of JS SDK Integration

💚 How did you test it?

Unit test, Integration Test, Manual Test

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
  • I updated the docs if needed
  • All tests passing
  • No breaking changes

🔮 Next steps

Sending envelope

#skip-changelog

Copy link
Contributor

github-actions bot commented Dec 12, 2024

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against fe035aa

Copy link

codecov bot commented Dec 12, 2024

Codecov Report

Attention: Patch coverage is 40.54054% with 22 lines in your changes missing coverage. Please review.

Project coverage is 86.57%. Comparing base (be08651) to head (fe035aa).
Report is 47 commits behind head on feat/js-sdk-integration.

Files with missing lines Patch % Lines
...ib/src/web/script_loader/sentry_script_loader.dart 0.00% 8 Missing ⚠️
dart/lib/src/platform_checker.dart 0.00% 7 Missing ⚠️
...tter/lib/src/integrations/web_sdk_integration.dart 0.00% 4 Missing ⚠️
flutter/lib/src/sentry_flutter.dart 86.66% 2 Missing ⚠️
...lib/src/web/script_loader/noop_script_dom_api.dart 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                     Coverage Diff                      @@
##           feat/js-sdk-integration    #2489       +/-   ##
============================================================
+ Coverage                    70.98%   86.57%   +15.59%     
============================================================
  Files                           17      267      +250     
  Lines                          579     9426     +8847     
============================================================
+ Hits                           411     8161     +7750     
- Misses                         168     1265     +1097     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@buenaflor buenaflor changed the title update feat: sentry web api Dec 12, 2024
Copy link
Contributor

github-actions bot commented Dec 12, 2024

🚨 Detected changes in high risk code 🚨

High-risk code has higher potential to break the SDK and may be hard to test. To prevent severe bugs, apply the rollout process for releasing such changes and be extra careful when changing and reviewing these files:

  • flutter/lib/src/screenshot/recorder.dart
  • flutter/lib/src/screenshot/widget_filter.dart

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