Commit e2b7f44
Do not report cached events as lost (#4575)
* Do not report cached events as lost
* E2E tests for OpenTelemetry based console sample (#4563)
* e2e tests for console app
* fix test failures by waiting for 10s after first try to find envelopes
* add system-test-runner.py script to replace bash scripts for running e2e / system tests
* use py script for ci, cleanup, makefile
* Format code
* remove bash scripts
* install requests module
* api
* fix gh script
* Implement E2E tests for OTel based console sample
* fixes after merge
* Format code
* e2e tests for console app
* Implement E2E tests for OTel based console sample
* fixes after merge
* Format code
* api
* Reduce scope forking when using OpenTelemetry (#4565)
* Reduce scope forking in OpenTelemetry
* Format code
* api
* changelog
---------
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
* SDKs send queue is no longer shutdown immediately on re-init (#4564)
* Let queue drain on a restart
* Format code
* Format code
* Update sentry-samples/sentry-samples-console-opentelemetry-noagent/src/test/kotlin/sentry/systemtest/ConsoleApplicationSystemTest.kt
* Let queue drain on a restart
* Format code
* Format code
* Update sentry-samples/sentry-samples-console-opentelemetry-noagent/src/test/kotlin/sentry/systemtest/ConsoleApplicationSystemTest.kt
* adapt tests
* changelog
---------
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
---------
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
* release: 8.18.0
* ref(replay): Use main thread to schedule capture (#4542)
* perf(connectivity): Cache network capabilities and status to reduce IPC calls (#4560)
* fix(breadcrumbs): Deduplicate battery breadcrumbs (#4561)
* fix(ci): remove obsolete NDK debug symbols (#4581)
As they don't exist anymore and this is done within sentry-native directly: https://github.com/getsentry/sentry-native/pull/1327/files
* fix(android): Remove unused method (#4585)
* fix(android): Remove unused method
* Update Changelog
* Add rules file for documenting SDK offline behaviour (#4572)
#skip-changelog
## 📜 Description
<!--- Describe your changes in detail -->
Add rules file for documenting SDK offline behaviour
## 💡 Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
Should help speed up AI reasoning about the SDK offline/retry behaviour.
## 💚 How did you test it?
## 📝 Checklist
<!--- Put an `x` in the boxes that apply -->
- [ ] I added tests to verify the changes.
- [ ] No new PII added or SDK only sends newly added PII if `sendDefaultPII` is enabled.
- [ ] I updated the docs if needed.
- [ ] I updated the wizard if needed.
- [ ] Review from the native team if needed.
- [ ] No breaking change or entry added to the changelog.
- [ ] No breaking change for hybrid SDKs or communicated to hybrid SDKs.
## 🔮 Next steps
* perf(connectivity): Have only one NetworkCallback active at a time (#4562)
* fix(scripts): update-gradle script set-version (#4591)
* fix: sentry-android-ndk proguard rule keeps all native class (#4427)
* fix: sentry-androi-ndk proguard rule keeps all native class
* docs: update CHANGELOG
* fix: update CHANGELOG
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: Markus Hintersteiner <m.hintersteiner@gmail.com>
Co-authored-by: Markus Hintersteiner <markus.hintersteiner@sentry.io>
* refactor(lifecycle): Use single lifecycle observer (#4567)
* perf(connectivity): Cache network capabilities and status to reduce IPC calls
* changelog
* Changelog
* revert
* fix(breadcrumbs): Deduplicate battery breadcrumbs
* ref
* Changelog
* Fix test
* perf(connectivity): Have only one NetworkCallback active at a time
* Changelog
* perf(integrations): Use single lifecycle observer
* Add tests
* Changelog
* Fix tests
* Improve callback handling and test visibility (#4593)
* Null-check lifecycleObserver
---------
Co-authored-by: Markus Hintersteiner <markus.hintersteiner@sentry.io>
* fix(sqlite): Fix abstract method error (#4597)
* fix(sqlite): Fix abstract method error
* Update CHANGELOG.md
* Suppress metadata version checks
* perf(integrations): Do not register for SystemEvents and NetworkCallbacks when launched with background importance (#4579)
* fix(android): Ensure frame metrics listeners are registered/unregistered on the main thread (#4582)
* fix(android): Ensure frame metrics listeners are registered/unregistered on the main thread
* Fix race conditions
* Update Changelog
* Update CHANGELOG.md
* Address PR feedback
* perf(executor): Prewarm SentryExecutorService (#4606)
* review feedback
* changelog
* pass through whether cache stored in AndroidEnvelopeCache + test
* Format code
---------
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
Co-authored-by: getsentry-bot <bot@sentry.io>
Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
Co-authored-by: Markus Hintersteiner <markus.hintersteiner@sentry.io>
Co-authored-by: Ghasem Shirdel <shirdelghasem79@gmail.com>
Co-authored-by: Markus Hintersteiner <m.hintersteiner@gmail.com>1 parent f2b0ffb commit e2b7f44
File tree
11 files changed
+139
-44
lines changed- sentry-android-core
- api
- src
- main/java/io/sentry/android/core/cache
- test/java/io/sentry/android/core/cache
- sentry
- api
- src
- main/java/io/sentry
- cache
- transport
- test/java/io/sentry
- cache
- transport
11 files changed
+139
-44
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| 486 | + | |
486 | 487 | | |
487 | 488 | | |
488 | 489 | | |
| |||
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
53 | 63 | | |
54 | 64 | | |
55 | 65 | | |
| |||
83 | 93 | | |
84 | 94 | | |
85 | 95 | | |
| 96 | + | |
86 | 97 | | |
87 | 98 | | |
88 | 99 | | |
| |||
Lines changed: 24 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| 23 | + | |
21 | 24 | | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| |||
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
85 | | - | |
| 91 | + | |
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
| |||
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
95 | | - | |
| 101 | + | |
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
| |||
104 | 110 | | |
105 | 111 | | |
106 | 112 | | |
107 | | - | |
| 113 | + | |
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
| |||
114 | 120 | | |
115 | 121 | | |
116 | 122 | | |
117 | | - | |
| 123 | + | |
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
| |||
138 | 144 | | |
139 | 145 | | |
140 | 146 | | |
141 | | - | |
| 147 | + | |
142 | 148 | | |
143 | 149 | | |
144 | 150 | | |
| |||
151 | 157 | | |
152 | 158 | | |
153 | 159 | | |
154 | | - | |
| 160 | + | |
155 | 161 | | |
156 | 162 | | |
157 | 163 | | |
| |||
189 | 195 | | |
190 | 196 | | |
191 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
192 | 210 | | |
193 | 211 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4354 | 4354 | | |
4355 | 4355 | | |
4356 | 4356 | | |
| 4357 | + | |
4357 | 4358 | | |
4358 | 4359 | | |
4359 | 4360 | | |
4360 | 4361 | | |
4361 | 4362 | | |
4362 | 4363 | | |
4363 | 4364 | | |
| 4365 | + | |
4364 | 4366 | | |
4365 | 4367 | | |
4366 | 4368 | | |
| |||
6663 | 6665 | | |
6664 | 6666 | | |
6665 | 6667 | | |
| 6668 | + | |
6666 | 6669 | | |
6667 | 6670 | | |
6668 | 6671 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
98 | 108 | | |
99 | 109 | | |
100 | 110 | | |
| |||
171 | 181 | | |
172 | 182 | | |
173 | 183 | | |
174 | | - | |
| 184 | + | |
175 | 185 | | |
176 | 186 | | |
177 | 187 | | |
178 | 188 | | |
179 | 189 | | |
180 | 190 | | |
181 | | - | |
| 191 | + | |
182 | 192 | | |
183 | 193 | | |
184 | 194 | | |
185 | 195 | | |
186 | 196 | | |
| 197 | + | |
187 | 198 | | |
188 | 199 | | |
189 | 200 | | |
| |||
295 | 306 | | |
296 | 307 | | |
297 | 308 | | |
298 | | - | |
| 309 | + | |
299 | 310 | | |
300 | 311 | | |
301 | 312 | | |
| |||
312 | 323 | | |
313 | 324 | | |
314 | 325 | | |
| 326 | + | |
315 | 327 | | |
| 328 | + | |
316 | 329 | | |
317 | 330 | | |
318 | 331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | | - | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
Lines changed: 25 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
322 | 325 | | |
323 | 326 | | |
324 | 327 | | |
| |||
332 | 335 | | |
333 | 336 | | |
334 | 337 | | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
339 | 344 | | |
340 | 345 | | |
341 | 346 | | |
| |||
348 | 353 | | |
349 | 354 | | |
350 | 355 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
355 | 362 | | |
356 | 363 | | |
357 | 364 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| |||
0 commit comments