-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Onesettings local storage toggle #48379
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
0beab87
Extract local storage creation into _enable_local_storage helper
lzchen 8e0fb05
Add local storage OneSettings toggle callback to BaseExporter
lzchen a3e5932
Decouple statsbeat storage from user setting; honor user opt-out for …
lzchen 74b7cf9
Register OneSettings local-storage toggle callback in BaseExporter
lzchen 24a8ab4
Harden storage toggle against check-then-use race in _base.py
lzchen c444b51
Register OneSettings local-storage callback for customer-sdkstats exp…
lzchen a6dcd4e
Add CHANGELOG entry for OneSettings local-storage toggle
lzchen d32cd70
Clean up local-storage comments
lzchen 1021dde
Apply cached OneSettings state at callback registration
lzchen 8730509
Update OneSettings local-storage CHANGELOG entry PR link
lzchen 60fabcf
Toggle local storage via flag instead of teardown
lzchen 53c4f50
Remove redundant storage-toggle code left by flag switch
lzchen a5df300
Store bound-method config callbacks weakly to fix exporter leak
lzchen 70dd434
Document customer-sdkstats storage-thread leak and callback leak fix
lzchen 0df794c
Fix pylint too-many-returns in storage put and long TODO line
lzchen 98e7655
Merge branch 'main' into onesettings-local-storage-toggle
lzchen 8652bea
Centralize cached-config replay in register_callback and harden featu…
lzchen 758f7ec
Explain WeakMethod vs direct callback storage in _invoke_callback
lzchen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.