-
Notifications
You must be signed in to change notification settings - Fork 504
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
ref(profiling): Deprecate hub
in Profile
#3270
Conversation
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.
I guess this is fine!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3270 +/- ##
==========================================
- Coverage 79.41% 79.39% -0.03%
==========================================
Files 132 132
Lines 14263 14275 +12
Branches 2992 2995 +3
==========================================
+ Hits 11327 11333 +6
- Misses 2091 2094 +3
- Partials 845 848 +3
|
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 working of the profiler is internal to the SDK so you are emitting a deprecation warning for our own code which makes no sense.
There is no way for the user to do something to not get this deprecation warning. Deprecation warnings are for changes the user can make.
What you want to do is to make the profiler implementation hub free.
@sl0thentr0py none of our code accesses the
Where do we defined that this If it is truly internal only, I would be fine with simply removing the |
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.
right ok, I don't think we wanted anyone to use the Profile
but that's fine then
Related to #3265
9fe64ac
to
d64eb24
Compare
@sl0thentr0py, I think generally something we could do better in the SDK would be to limit our public API surface and maybe more clearly define what we actually consider to be public API. For instance, perhaps we could decide that everything that we don't explicitly re-export via |
Related to #3265