Skip to content
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

wip: v9 #2659

Draft
wants to merge 37 commits into
base: main
Choose a base branch
from
Draft

wip: v9 #2659

wants to merge 37 commits into from

Conversation

vaind
Copy link
Collaborator

@vaind vaind commented Feb 5, 2025

This will be merged (without squashing) back to main when ready and we want to do a release.

#skip-changelog

@vaind vaind added the Blocked label Feb 5, 2025
@vaind vaind added this to the 9.0.0 milestone Feb 5, 2025
Copy link
Contributor

github-actions bot commented Feb 5, 2025

🚨 Detected changes in high risk code 🚨

High-risk code has higher potential to break the SDK and may be hard to test. To prevent severe bugs, apply the rollout process for releasing such changes and be extra careful when changing and reviewing these files:

  • flutter/lib/src/screenshot/recorder.dart

Copy link

codecov bot commented Feb 5, 2025

Codecov Report

Attention: Patch coverage is 55.30726% with 80 lines in your changes missing coverage. Please review.

Project coverage is 88.49%. Comparing base (08aff50) to head (1fa8baa).

Files with missing lines Patch % Lines
...r/lib/src/native/java/android_replay_recorder.dart 1.38% 71 Missing ⚠️
dart/lib/src/constants.dart 0.00% 4 Missing ⚠️
dart/lib/src/hint.dart 0.00% 3 Missing ⚠️
...nt_processor/flutter_enricher_event_processor.dart 0.00% 1 Missing ⚠️
flutter/lib/src/sentry_flutter.dart 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2659      +/-   ##
==========================================
- Coverage   88.99%   88.49%   -0.51%     
==========================================
  Files         263      262       -1     
  Lines        8924     8750     -174     
==========================================
- Hits         7942     7743     -199     
- Misses        982     1007      +25     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Feb 5, 2025

Android Performance metrics 🚀

  Plain With Sentry Diff
Startup time 451.78 ms 533.84 ms 82.06 ms
Size 6.46 MiB 7.61 MiB 1.15 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
43abc4f 406.54 ms 475.53 ms 68.99 ms
a7acb24 301.00 ms 357.38 ms 56.38 ms
0118295 365.71 ms 438.56 ms 72.85 ms
d0476e1 412.20 ms 492.62 ms 80.42 ms
2e8b1e1 367.00 ms 450.12 ms 83.12 ms
8d64376 302.88 ms 356.84 ms 53.96 ms
2f8f173 323.31 ms 373.29 ms 49.97 ms
d53c6fa 282.83 ms 344.00 ms 61.17 ms
7e7f0b1 387.44 ms 459.14 ms 71.70 ms
178baee 421.59 ms 522.28 ms 100.69 ms

App size

Revision Plain With Sentry Diff
43abc4f 6.35 MiB 7.34 MiB 1007.72 KiB
a7acb24 5.94 MiB 6.95 MiB 1.01 MiB
0118295 6.33 MiB 7.26 MiB 947.07 KiB
d0476e1 6.35 MiB 7.40 MiB 1.05 MiB
2e8b1e1 6.35 MiB 7.40 MiB 1.05 MiB
8d64376 5.94 MiB 6.96 MiB 1.02 MiB
2f8f173 5.94 MiB 6.95 MiB 1.01 MiB
d53c6fa 6.16 MiB 7.14 MiB 1011.18 KiB
7e7f0b1 6.35 MiB 7.34 MiB 1008.33 KiB
178baee 6.35 MiB 7.42 MiB 1.07 MiB

Previous results on branch: v9

Startup times

Revision Plain With Sentry Diff
9fa06c0 450.91 ms 582.10 ms 131.19 ms
a685eaf 420.25 ms 502.04 ms 81.79 ms
0f8bd48 435.88 ms 531.14 ms 95.27 ms
a24a1db 372.60 ms 402.16 ms 29.56 ms
7c468df 427.53 ms 518.43 ms 90.90 ms
3ab3095 727.12 ms 842.33 ms 115.21 ms
c42f951 456.10 ms 578.76 ms 122.66 ms
98d6f2d 500.02 ms 504.48 ms 4.46 ms
8043355 452.44 ms 563.44 ms 111.00 ms
5ce593b 495.00 ms 612.07 ms 117.07 ms

App size

Revision Plain With Sentry Diff
9fa06c0 6.46 MiB 7.61 MiB 1.15 MiB
a685eaf 6.46 MiB 7.61 MiB 1.15 MiB
0f8bd48 6.46 MiB 7.61 MiB 1.15 MiB
a24a1db 6.46 MiB 7.48 MiB 1.02 MiB
7c468df 6.46 MiB 7.61 MiB 1.15 MiB
3ab3095 6.46 MiB 7.48 MiB 1.03 MiB
c42f951 6.46 MiB 7.48 MiB 1.02 MiB
98d6f2d 6.46 MiB 7.48 MiB 1.03 MiB
8043355 6.46 MiB 7.48 MiB 1.03 MiB
5ce593b 6.46 MiB 7.61 MiB 1.15 MiB

Copy link
Contributor

github-actions bot commented Feb 5, 2025

iOS Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1246.75 ms 1266.64 ms 19.89 ms
Size 8.42 MiB 9.97 MiB 1.54 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
cdf7172 1264.43 ms 1291.39 ms 26.96 ms
a40bb7c 1222.75 ms 1240.88 ms 18.13 ms
5d2b46d 1244.31 ms 1245.16 ms 0.86 ms
03e4c9b 1241.96 ms 1247.00 ms 5.04 ms
33d0587 1262.16 ms 1270.50 ms 8.34 ms
df16b96 1255.24 ms 1259.40 ms 4.16 ms
9fe67d5 1242.33 ms 1268.77 ms 26.44 ms
7fd33d3 1241.92 ms 1265.47 ms 23.55 ms
a61674e 1275.51 ms 1290.81 ms 15.30 ms
25e9b59 1289.76 ms 1295.27 ms 5.51 ms

App size

Revision Plain With Sentry Diff
cdf7172 8.16 MiB 9.16 MiB 1.01 MiB
a40bb7c 8.38 MiB 9.73 MiB 1.35 MiB
5d2b46d 8.29 MiB 9.36 MiB 1.07 MiB
03e4c9b 8.34 MiB 9.67 MiB 1.33 MiB
33d0587 8.29 MiB 9.38 MiB 1.09 MiB
df16b96 8.10 MiB 9.16 MiB 1.06 MiB
9fe67d5 8.32 MiB 9.50 MiB 1.18 MiB
7fd33d3 8.38 MiB 9.78 MiB 1.40 MiB
a61674e 8.10 MiB 9.16 MiB 1.07 MiB
25e9b59 8.16 MiB 9.15 MiB 1021.15 KiB

Previous results on branch: v9

Startup times

Revision Plain With Sentry Diff
c42f951 1244.28 ms 1261.11 ms 16.83 ms
3ab3095 1248.76 ms 1273.89 ms 25.14 ms
8043355 1229.21 ms 1245.43 ms 16.22 ms
5ce593b 1240.04 ms 1262.24 ms 22.20 ms
0f8bd48 1252.27 ms 1273.90 ms 21.63 ms
9fa06c0 1245.50 ms 1273.55 ms 28.05 ms
7c468df 1256.13 ms 1273.92 ms 17.79 ms
3e1c2c9 1250.55 ms 1267.20 ms 16.65 ms
a685eaf 1246.61 ms 1275.92 ms 29.30 ms
ce53819 1257.65 ms 1270.98 ms 13.33 ms

App size

Revision Plain With Sentry Diff
c42f951 8.42 MiB 9.91 MiB 1.49 MiB
3ab3095 8.42 MiB 9.91 MiB 1.48 MiB
8043355 8.42 MiB 9.91 MiB 1.48 MiB
5ce593b 8.42 MiB 9.91 MiB 1.48 MiB
0f8bd48 8.42 MiB 9.97 MiB 1.55 MiB
9fa06c0 8.42 MiB 9.91 MiB 1.49 MiB
7c468df 8.42 MiB 9.91 MiB 1.49 MiB
3e1c2c9 8.42 MiB 9.91 MiB 1.48 MiB
a685eaf 8.42 MiB 9.91 MiB 1.49 MiB
ce53819 8.42 MiB 9.91 MiB 1.48 MiB

github-actions bot and others added 22 commits February 5, 2025 11:25
* chore: update flutter/scripts/update-android.sh to 8.1.0

* Update CHANGELOG.md

---------

Co-authored-by: GitHub <[email protected]>
Co-authored-by: Ivan Dlugos <[email protected]>
* remove manual TTID

* update CHANGELOG

* remove assertion

* use SentryTraceOrigins.autoUiTimeToDisplay as origin
* remove

* remove rest of user segment

* update CHANGELOG

* fix analyze
* remove

* remove unused code

* update CHANGELOG
* remove dartLogger and make noOpLogger internal

* update comment

* update CHANGELOG

* remove ignores
* add JNI and use in replay.onScreenshotRecorded

* exlude bindings from coverage

* use jni bitmap

* move all native to android_replay_recorder

* android screenshot isolate

* cleanup

* use persistent isolate

* update replay native tests

* update high-risk-code list

* remove print()

* remove package:file dependency

* JNI benchmark

* ktlint format

* fixup ci

* fixup

* fix web tests

* dart format

* try to fix ci

* try to fix ci

* chore: exclude binding from coverage

* comments

* chore: changelog

* move uint8list creation to separate isolate

* Update CHANGELOG.md

Co-authored-by: Giancarlo Buenaflor <[email protected]>

---------

Co-authored-by: Giancarlo Buenaflor <[email protected]>
* remove dart:html usage and used package:web instead

* update CHANGELOG and remove publish validation

* remove publish validation from ci

* update web_example dep

* update

* remove more conditionals
* remove enableTracing

* remove ignore

* update CHANGELOG

* add test

* format

* update test
github-actions bot and others added 13 commits February 13, 2025 16:49
* chore: update flutter/scripts/update-android.sh to 8.2.0

* update min version in ci

* raise min android api to 21

---------

Co-authored-by: GitHub <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>
* load js by default

* fix test

* update CHANGELOG

* maybe fix integration test

* remove enableSentryJs

* fix test
* remove old user feedback api

* update

* update changelog

* fix mock

* update

* update
…ueryExecutor` (#2679)

* temp

* update

* update

* update docs

* update

* Update sentry.dart

* update CHANGELOG

* update

* fist tests

* formatting

* fix analyze

* fix analyze

* formatting and change integration name from  to

* improve ensureOpen instrumentation

* fix hub not using hubadapter as fallback

* update parent span

* use stack to handle parent span

* formatting

* formatting

* fix analyze

* add disabled tracing test

* unused code

* temp

* update

* add test

* remove spotlight

* cleanup test file

* add select query test:

* removing stack in finally block
# Conflicts:
#	drift/lib/src/sentry_query_executor.dart
#	drift/lib/src/sentry_span_helper.dart
#	drift/test/sentry_database_test.dart
#	flutter/example/lib/main.dart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants