-
-
Notifications
You must be signed in to change notification settings - Fork 200
feat: offline caching (inproc & breakpad) #1490
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
Open
jpnurmi
wants to merge
34
commits into
master
Choose a base branch
from
jpnurmi/feat/offline-caching
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
536c4a1
Import offline caching POC (#1461)
JoshuaMoelans 5742eda
breakpad: delete .dmp
jpnurmi 6c75ccf
Flatten cache/
jpnurmi 8f3ffd5
Add tests
jpnurmi 3410b6c
Respect has_breakpad
jpnurmi 799d219
SENTRY_TRANSPORT=none
jpnurmi 3c40494
Fix set_file_mtime on Windows
jpnurmi a37ac86
Present cache_max_age in seconds
jpnurmi 20815bd
Present max_cache_size in bytes
jpnurmi ef96547
Tweak docs & signatures
jpnurmi e96d9d4
Fix warning
jpnurmi 93aefb2
Fix test_unit::cache_max_age
jpnurmi f4936d5
Fix sign conversion warning on Windows
jpnurmi 7eddee4
Add changelog entry for offline caching feature
jpnurmi 8d40ec1
Fix sign conversion warning in CleanDatabase call
jpnurmi b28663f
Clarify test_integration_cache
jpnurmi ab62f90
Change cache_max_age type from uint64_t to time_t
jpnurmi 7bc7856
Merge remote-tracking branch 'upstream/master' into jpnurmi/feat/offl…
jpnurmi 9e09bd0
Update CHANGELOG.md
jpnurmi 747edb1
Log warning when envelope caching fails
jpnurmi b1a4671
Revise crashpad_backend_prune_database
jpnurmi b101fce
Fix cache size calculation to exclude pruned files
jpnurmi 2e1c63b
Add NULL checks after path allocations in cache handling
jpnurmi e0cb46e
Add NULL check after path clone in sentry__cleanup_cache
jpnurmi 317968c
Fix cache size pruning to remove all older entries once limit hit
jpnurmi e30846f
Add INVALID_HANDLE_VALUE check and use TEST_ASSERT for set_file_mtime
jpnurmi 1d565d6
Remove redundant conditional around sentry__path_free
jpnurmi 76a5f81
Replace crashpad prune conditions with custom implementations
jpnurmi f0e5075
Fix size_t conversion warning on 32-bit Windows
jpnurmi 25da5e1
Add cache_max_items option for Android & Cocoa compat
jpnurmi fc0f6cc
Merge branch 'master' into jpnurmi/feat/offline-caching
jpnurmi 57cb740
Merge remote-tracking branch 'upstream/master' into jpnurmi/feat/offl…
jpnurmi fd3c257
Update CHANGELOG.md
jpnurmi 8a17813
Default cache max size/age to 0 (disabled)
jpnurmi 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
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.