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

Avoid dependency conflict with package_info_plus v4 #1440

Merged
merged 17 commits into from
May 15, 2023

Conversation

marandaneto
Copy link
Contributor

@marandaneto marandaneto commented May 12, 2023

📜 Description

Avoid dependency conflict with package_info_plus v4

💡 Motivation and Context

Closes #1436

https://docs.flutter.dev/reference/supported-platforms#deploying-flutter

💚 How did you test it?

CI should be green

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
  • I updated the docs if needed
  • All tests passing
  • No breaking changes

🔮 Next steps

Document breaking change under sentry docs.

@marandaneto marandaneto marked this pull request as ready for review May 12, 2023 07:33
@codecov
Copy link

codecov bot commented May 12, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.59 ⚠️

Comparison is base (bf4aed7) 90.79% compared to head (cc803a1) 90.20%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1440      +/-   ##
==========================================
- Coverage   90.79%   90.20%   -0.59%     
==========================================
  Files          61      181     +120     
  Lines        2042     5789    +3747     
==========================================
+ Hits         1854     5222    +3368     
- Misses        188      567     +379     
Impacted Files Coverage Δ
...nt_processor/flutter_enricher_event_processor.dart 94.18% <ø> (ø)
...rc/event_processor/screenshot_event_processor.dart 79.48% <ø> (ø)
...ter/lib/src/view_hierarchy/sentry_tree_walker.dart 100.00% <ø> (ø)
flutter/lib/src/widgets_binding_observer.dart 98.21% <ø> (ø)
dart/lib/src/run_zoned_guarded_integration.dart 69.69% <100.00%> (ø)
dart/lib/src/sentry_isolate.dart 100.00% <100.00%> (ø)
...ib/src/integrations/flutter_error_integration.dart 100.00% <100.00%> (ø)
...ter/lib/src/integrations/on_error_integration.dart 94.28% <100.00%> (ø)

... and 118 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@marandaneto marandaneto reopened this May 12, 2023
@marandaneto marandaneto reopened this May 12, 2023
@ThexXTURBOXx ThexXTURBOXx mentioned this pull request May 12, 2023
6 tasks
@github-actions
Copy link
Contributor

github-actions bot commented May 12, 2023

iOS Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1261.14 ms 1281.04 ms 19.90 ms
Size 8.10 MiB 9.18 MiB 1.08 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
6957bfd 1283.80 ms 1289.00 ms 5.20 ms
c1bb00f 1265.14 ms 1290.85 ms 25.71 ms
a49594a 1284.83 ms 1313.29 ms 28.45 ms
211a7aa 1258.02 ms 1275.65 ms 17.63 ms
457a85b 1275.17 ms 1285.51 ms 10.34 ms
aed5947 1268.67 ms 1281.10 ms 12.43 ms
8e133ad 1268.19 ms 1277.37 ms 9.18 ms
873fb42 1261.00 ms 1285.92 ms 24.92 ms
90db9ff 1277.18 ms 1283.69 ms 6.51 ms
2f8f173 1280.61 ms 1292.20 ms 11.59 ms

App size

Revision Plain With Sentry Diff
6957bfd 8.15 MiB 9.15 MiB 1020.71 KiB
c1bb00f 8.09 MiB 9.07 MiB 1001.06 KiB
a49594a 8.16 MiB 9.16 MiB 1.00 MiB
211a7aa 8.10 MiB 9.18 MiB 1.08 MiB
457a85b 8.09 MiB 9.07 MiB 1000.88 KiB
aed5947 8.16 MiB 9.17 MiB 1.01 MiB
8e133ad 8.10 MiB 9.16 MiB 1.07 MiB
873fb42 8.16 MiB 9.17 MiB 1.01 MiB
90db9ff 8.10 MiB 9.08 MiB 1004.27 KiB
2f8f173 8.15 MiB 9.13 MiB 1000.39 KiB

Previous results on branch: chore/package_info_v4

Startup times

Revision Plain With Sentry Diff
b89812e 1279.98 ms 1290.24 ms 10.27 ms

App size

Revision Plain With Sentry Diff
b89812e 8.10 MiB 9.18 MiB 1.08 MiB

@marandaneto
Copy link
Contributor Author

@krystofwoldrich @stefanosiano mind reviewing this one quickly? it's blocking some other PRs.

krystofwoldrich

This comment was marked as outdated.

Copy link
Member

@krystofwoldrich krystofwoldrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marandaneto The metrics app still needs a bum to A SDK v19.

Do I get it right, that our SDK will actually work on A SDK v16 with older Flutter? But we can test it anymore since we build in CI with the latest Flutter version.

@marandaneto
Copy link
Contributor Author

@marandaneto The metrics app still needs a bum to A SDK v19.

Do I get it right, that our SDK will actually work on A SDK v16 with older Flutter? But we can test it anymore since we build in CI with the latest Flutter version.

Good catch, b89812e

@github-actions
Copy link
Contributor

github-actions bot commented May 13, 2023

Android Performance metrics 🚀

  Plain With Sentry Diff
Startup time 312.10 ms 385.14 ms 73.04 ms
Size 6.06 MiB 7.04 MiB 998.28 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
e5b744f 302.70 ms 342.17 ms 39.47 ms
ecb4003 332.58 ms 385.15 ms 52.57 ms
e2d89fc 323.84 ms 376.23 ms 52.39 ms
895becc 326.94 ms 376.02 ms 49.08 ms
7ade5af 341.04 ms 386.84 ms 45.80 ms
0a23f98 377.19 ms 416.18 ms 39.00 ms
3a69405 334.34 ms 369.19 ms 34.85 ms
ad69abc 297.35 ms 385.89 ms 88.54 ms
9f9f94f 331.04 ms 368.92 ms 37.88 ms
deaeece 347.42 ms 381.10 ms 33.68 ms

App size

Revision Plain With Sentry Diff
e5b744f 6.06 MiB 7.09 MiB 1.03 MiB
ecb4003 6.06 MiB 7.09 MiB 1.03 MiB
e2d89fc 6.06 MiB 7.03 MiB 989.37 KiB
895becc 6.06 MiB 7.03 MiB 997.23 KiB
7ade5af 5.94 MiB 6.95 MiB 1.01 MiB
0a23f98 6.06 MiB 7.03 MiB 996.97 KiB
3a69405 5.94 MiB 6.95 MiB 1.01 MiB
ad69abc 6.06 MiB 7.09 MiB 1.03 MiB
9f9f94f 5.94 MiB 6.95 MiB 1.01 MiB
deaeece 5.94 MiB 6.96 MiB 1.02 MiB

Previous results on branch: chore/package_info_v4

Startup times

Revision Plain With Sentry Diff
b89812e 357.56 ms 431.33 ms 73.77 ms

App size

Revision Plain With Sentry Diff
b89812e 6.06 MiB 7.04 MiB 998.28 KiB

@marandaneto
Copy link
Contributor Author

@marandaneto The metrics app still needs a bum to A SDK v19.

Do I get it right, that our SDK will actually work on A SDK v16 with older Flutter? But we can test it anymore since we build in CI with the latest Flutter version.

Android SDK is min 14, but Flutter was 16 and now is 19.

Copy link
Member

@krystofwoldrich krystofwoldrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Copy link
Member

@krystofwoldrich krystofwoldrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants