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 41 commits into
base: main
Choose a base branch
from
Draft

wip: v9 #2659

wants to merge 41 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 56.98925% with 80 lines in your changes missing coverage. Please review.

Project coverage is 88.45%. Comparing base (08aff50) to head (b06e562).

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.45%   -0.54%     
==========================================
  Files         263      262       -1     
  Lines        8924     8750     -174     
==========================================
- Hits         7942     7740     -202     
- Misses        982     1010      +28     

☔ 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 426.14 ms 463.07 ms 36.93 ms
Size 6.46 MiB 7.61 MiB 1.15 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
3ba8d7e 329.65 ms 388.44 ms 58.79 ms
1e781fc 315.51 ms 383.76 ms 68.24 ms
8a111a9 496.27 ms 520.57 ms 24.31 ms
0a23f98 377.19 ms 416.18 ms 39.00 ms
25e9b59 307.00 ms 348.83 ms 41.83 ms
2f8f173 323.31 ms 373.29 ms 49.97 ms
fdac48a 329.50 ms 396.46 ms 66.96 ms
746a779 347.94 ms 385.71 ms 37.78 ms
d0476e1 412.20 ms 492.62 ms 80.42 ms
ba9c106 383.10 ms 454.22 ms 71.12 ms

App size

Revision Plain With Sentry Diff
3ba8d7e 6.15 MiB 7.11 MiB 982.32 KiB
1e781fc 6.06 MiB 7.03 MiB 995.72 KiB
8a111a9 6.49 MiB 7.56 MiB 1.07 MiB
0a23f98 6.06 MiB 7.03 MiB 996.97 KiB
25e9b59 5.94 MiB 6.95 MiB 1.01 MiB
2f8f173 5.94 MiB 6.95 MiB 1.01 MiB
fdac48a 6.06 MiB 7.09 MiB 1.03 MiB
746a779 6.27 MiB 7.20 MiB 956.05 KiB
d0476e1 6.35 MiB 7.40 MiB 1.05 MiB
ba9c106 6.33 MiB 7.27 MiB 954.12 KiB

Previous results on branch: v9

Startup times

Revision Plain With Sentry Diff
8043355 452.44 ms 563.44 ms 111.00 ms
a24a1db 372.60 ms 402.16 ms 29.56 ms
1fa8baa 451.78 ms 533.84 ms 82.06 ms
bb29ef9 433.86 ms 506.36 ms 72.50 ms
ce53819 430.39 ms 540.88 ms 110.49 ms
5ce593b 495.00 ms 612.07 ms 117.07 ms
98d6f2d 500.02 ms 504.48 ms 4.46 ms
7c468df 427.53 ms 518.43 ms 90.90 ms
9e7630d 426.10 ms 454.96 ms 28.86 ms
3ab3095 727.12 ms 842.33 ms 115.21 ms

App size

Revision Plain With Sentry Diff
8043355 6.46 MiB 7.48 MiB 1.03 MiB
a24a1db 6.46 MiB 7.48 MiB 1.02 MiB
1fa8baa 6.46 MiB 7.61 MiB 1.15 MiB
bb29ef9 6.46 MiB 7.61 MiB 1.15 MiB
ce53819 6.46 MiB 7.48 MiB 1.03 MiB
5ce593b 6.46 MiB 7.61 MiB 1.15 MiB
98d6f2d 6.46 MiB 7.48 MiB 1.03 MiB
7c468df 6.46 MiB 7.61 MiB 1.15 MiB
9e7630d 6.49 MiB 7.56 MiB 1.07 MiB
3ab3095 6.46 MiB 7.48 MiB 1.03 MiB

Copy link
Contributor

github-actions bot commented Feb 5, 2025

iOS Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1252.94 ms 1276.90 ms 23.96 ms
Size 8.42 MiB 9.97 MiB 1.55 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
3ab3095 1248.76 ms 1273.89 ms 25.14 ms
bb29ef9 1247.35 ms 1264.12 ms 16.78 ms
0f8bd48 1252.27 ms 1273.90 ms 21.63 ms
ce53819 1257.65 ms 1270.98 ms 13.33 ms
7c468df 1256.13 ms 1273.92 ms 17.79 ms
9fa06c0 1245.50 ms 1273.55 ms 28.05 ms
5ce593b 1240.04 ms 1262.24 ms 22.20 ms
8043355 1229.21 ms 1245.43 ms 16.22 ms
1fa8baa 1246.75 ms 1266.64 ms 19.89 ms
c42f951 1244.28 ms 1261.11 ms 16.83 ms

App size

Revision Plain With Sentry Diff
3ab3095 8.42 MiB 9.91 MiB 1.48 MiB
bb29ef9 8.42 MiB 9.97 MiB 1.54 MiB
0f8bd48 8.42 MiB 9.97 MiB 1.55 MiB
ce53819 8.42 MiB 9.91 MiB 1.48 MiB
7c468df 8.42 MiB 9.91 MiB 1.49 MiB
9fa06c0 8.42 MiB 9.91 MiB 1.49 MiB
5ce593b 8.42 MiB 9.91 MiB 1.48 MiB
8043355 8.42 MiB 9.91 MiB 1.48 MiB
1fa8baa 8.42 MiB 9.97 MiB 1.54 MiB
c42f951 8.42 MiB 9.91 MiB 1.49 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 17 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
* fix tests

* re-enable test
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.

4 participants