-
Notifications
You must be signed in to change notification settings - Fork 12
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
API and integration tests for manually ending UI load traces #1790
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1790 +/- ##
==========================================
- Coverage 85.47% 85.46% -0.02%
==========================================
Files 466 467 +1
Lines 10948 10961 +13
Branches 1626 1628 +2
==========================================
+ Hits 9358 9368 +10
Misses 861 861
- Partials 729 732 +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.
This looks good but I'd like for swazzler instrumentation to be in place (or approved) before it gets merged
*/ | ||
@Target(AnnotationTarget.CLASS) | ||
@Retention(AnnotationRetention.RUNTIME) | ||
public annotation class CustomTracedActivity |
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'm not 100% on this name for a public API as it doesn't detail that this is about the Embrace SDK/UI load tracking, and there are potentially a lot of things that could be traced in an activity. Having said that, I don't have a better suggestion. Would you say the key components of this annotation would be that Embrace will automatically trace lifecycle events of any activity annotated with it?
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.
Yeah I honestly hate this name too, but I also couldn't come up with something better. I wanted to make it similar to TracedActivity
Perhaps CustomLoadTracedActivity
? And we can rename the other one LoadTracedActivity
?
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.
Sounds good 👍
Sounds good. I'll get that going first thing I can delve back into the code. |
7bbd8fe
to
5065414
Compare
78153d9
to
454b9af
Compare
cd6536e
to
42f2e2b
Compare
6ee610c
to
dd7f138
Compare
dd7f138
to
0600614
Compare
0600614
to
59d7670
Compare
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files |
Goal
Add in the ability to specify that a a UI Load trace should wait for a manual end as well as a public API to do that.