-
Notifications
You must be signed in to change notification settings - Fork 11
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
Don't disable SDK until the next cold start #1187
base: main
Are you sure you want to change the base?
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @bidetofevil and the rest of your teammates on Graphite |
fcb4895
to
9b9dee6
Compare
*/ | ||
@Config(sdk = [TIRAMISU]) | ||
@RunWith(AndroidJUnit4::class) | ||
internal class ConfigServiceTest { |
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.
Ideally we should also have a test case that checks the SDK can start again after it's been stopped (i.e. that it's capable of fetching remote config even when disabled).
c4cd964
to
a71ef58
Compare
9b9dee6
to
5d39a5d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1187 +/- ##
==========================================
- Coverage 83.07% 83.03% -0.05%
==========================================
Files 451 451
Lines 11246 11242 -4
Branches 1745 1744 -1
==========================================
- Hits 9343 9335 -8
- Misses 1134 1137 +3
- Partials 769 770 +1
|
5d39a5d
to
f1ff1bd
Compare
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
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.
FYI, this will likely not be merged until we figure out the full scope of the Config Service changes to make changes applied pre-service startup and immutable after. If we decide to full do that, we may merge this as it gets us a step closer, but I won't touch this until then.
This PR is stale because it has been open 20 days with no activity. Remove stale label or comment or this PR will be closed in 10 days. |
78ffd46
to
0f5c669
Compare
This PR is stale because it has been open 20 days with no activity. Remove stale label or comment or this PR will be closed in 10 days. |
0f5c669
to
b28030b
Compare
Goal
Don't stop the SDK when it is fully active even if the config service says to do so. Instead, just don't start it up next time.
This is to avoid any weird race conditions that can cause unpredictable behavior like partially recorded sessions or even crashes.