-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
refactor: cleanup platform mocking #2730
base: v9
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v9 #2730 +/- ##
==========================================
+ Coverage 88.49% 88.61% +0.12%
==========================================
Files 262 263 +1
Lines 8750 8765 +15
==========================================
+ Hits 7743 7767 +24
+ Misses 1007 998 -9 ☔ View full report in Codecov by Sentry. |
Isn't the platform checker used to decide which native integration is called? So actually returning true for 'isMacOs' on web would cause the macos integrations to be called on web? |
I believe that was the case in the past but looking at how the code which calls
|
doesn't seem related to the changes in this PR |
we recently added hints to transactions, looks like flutter tests weren't updated cc @denrase |
@vaind picking this up now if its al right with you |
…try/sentry-dart into refactor/cleanup-platform-mocking
🚨 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:
|
@@ -23,7 +23,10 @@ | |||
- Responses are attached to the `Hint` object, which can be read in `beforeSend`/`beforeSendTransaction` callbacks via `hint.response`. | |||
- For now, only the `dio` integration is supported. | |||
- Enable privacy masking for screenshots by default ([#2728](https://github.com/getsentry/sentry-dart/pull/2728)) | |||
|
|||
- Cleanup platform mocking ([#2730](https://github.com/getsentry/sentry-dart/pull/2730)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 🚫 The changelog entry seems to be part of an already released section
## 9.0.0
.
Consider moving the entry to the## Unreleased
section, please.
@vaind Still have left |
Yeah I didn't intend to remove this in the same PR, it's already big as it is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@denrase the PlatformChecker->RuntimeChecker
as well as removing Platform
from RuntimeChecker
look good to me 👍
@vaind Thank you! @krystofwoldrich @stefanosiano Would be great if you could also do a review. 🙇♂️ |
📜 Description
part of #2646
💡 Motivation and Context
💚 How did you test it?
📝 Checklist
sendDefaultPii
is enabled🔮 Next steps