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

Add format action #1405

Merged
merged 34 commits into from
May 9, 2023
Merged

Add format action #1405

merged 34 commits into from
May 9, 2023

Conversation

denrase
Copy link
Collaborator

@denrase denrase commented Apr 25, 2023

#skip-changelog

📜 Description

  • Add format actions which runs dart format & dart fix and commits the changes, if there are any.

💡 Motivation and Context

Closes #1357

Ran both format and fix in package flutter & dart in this package. See commits.

Bildschirm­foto 2023-04-25 um 14 21 06

📝 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

@github-actions
Copy link
Contributor

github-actions bot commented Apr 25, 2023

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 4a24859

@codecov
Copy link

codecov bot commented Apr 25, 2023

Codecov Report

Patch coverage has no change and project coverage change: -2.15 ⚠️

Comparison is base (0a23f98) 90.79% compared to head (4a24859) 88.64%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1405      +/-   ##
==========================================
- Coverage   90.79%   88.64%   -2.15%     
==========================================
  Files          61      141      +80     
  Lines        2042     4396    +2354     
==========================================
+ Hits         1854     3897    +2043     
- Misses        188      499     +311     

see 160 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.

@denrase denrase marked this pull request as ready for review April 25, 2023 12:23
@denrase denrase requested a review from stefanosiano as a code owner May 2, 2023 08:49
@github-actions
Copy link
Contributor

github-actions bot commented May 2, 2023

Android Performance metrics 🚀

  Plain With Sentry Diff
Startup time 342.88 ms 393.58 ms 50.71 ms
Size 6.06 MiB 7.03 MiB 996.98 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
a609134 350.12 ms 404.12 ms 54.00 ms
8e133ad 360.08 ms 402.82 ms 42.74 ms
b2cbbc8 347.80 ms 395.31 ms 47.51 ms
aa950e9 337.42 ms 400.72 ms 63.30 ms
5112c69 333.67 ms 363.74 ms 30.08 ms
6325c3b 339.33 ms 409.86 ms 70.53 ms
ef31c7f 311.39 ms 359.33 ms 47.94 ms
90db9ff 334.86 ms 388.14 ms 53.28 ms
b98109e 296.46 ms 362.68 ms 66.22 ms
211a7aa 324.19 ms 393.26 ms 69.07 ms

App size

Revision Plain With Sentry Diff
a609134 5.94 MiB 6.95 MiB 1.01 MiB
8e133ad 6.06 MiB 7.03 MiB 990.29 KiB
b2cbbc8 6.06 MiB 7.03 MiB 995.45 KiB
aa950e9 5.94 MiB 6.96 MiB 1.02 MiB
5112c69 5.94 MiB 6.96 MiB 1.02 MiB
6325c3b 5.94 MiB 6.96 MiB 1.02 MiB
ef31c7f 6.06 MiB 7.09 MiB 1.03 MiB
90db9ff 6.06 MiB 7.10 MiB 1.04 MiB
b98109e 6.06 MiB 7.03 MiB 993.53 KiB
211a7aa 6.06 MiB 7.03 MiB 997.24 KiB

Previous results on branch: feat/gh-format-action

Startup times

Revision Plain With Sentry Diff
23d98b1 386.00 ms 467.88 ms 81.88 ms
788426f 305.06 ms 369.12 ms 64.06 ms
3eaea3b 395.38 ms 464.82 ms 69.43 ms

App size

Revision Plain With Sentry Diff
23d98b1 6.06 MiB 7.03 MiB 995.56 KiB
788426f 6.06 MiB 7.03 MiB 997.23 KiB
3eaea3b 6.06 MiB 7.03 MiB 997.01 KiB

@github-actions
Copy link
Contributor

github-actions bot commented May 2, 2023

iOS Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1244.16 ms 1260.00 ms 15.84 ms
Size 8.10 MiB 9.18 MiB 1.08 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
49a149b 1296.47 ms 1320.20 ms 23.73 ms
633cf2e 1257.96 ms 1275.73 ms 17.77 ms
5603ab2 1268.47 ms 1280.73 ms 12.26 ms
8ced2dc 1258.35 ms 1272.98 ms 14.62 ms
f2db4ec 1244.14 ms 1259.79 ms 15.65 ms
3e5ee37 1248.25 ms 1265.38 ms 17.13 ms
333903e 1251.15 ms 1270.21 ms 19.06 ms
2331d89 1260.86 ms 1281.24 ms 20.39 ms
134c9f8 1284.48 ms 1306.18 ms 21.70 ms
379d7a8 1267.65 ms 1288.39 ms 20.74 ms

App size

Revision Plain With Sentry Diff
49a149b 8.15 MiB 9.12 MiB 986.26 KiB
633cf2e 8.15 MiB 9.12 MiB 986.26 KiB
5603ab2 8.15 MiB 9.12 MiB 990.57 KiB
8ced2dc 8.10 MiB 9.16 MiB 1.07 MiB
f2db4ec 8.10 MiB 9.16 MiB 1.07 MiB
3e5ee37 8.15 MiB 9.12 MiB 986.23 KiB
333903e 8.10 MiB 9.16 MiB 1.06 MiB
2331d89 8.16 MiB 9.17 MiB 1.01 MiB
134c9f8 8.16 MiB 9.16 MiB 1.01 MiB
379d7a8 8.16 MiB 9.16 MiB 1.00 MiB

Previous results on branch: feat/gh-format-action

Startup times

Revision Plain With Sentry Diff
23d98b1 1265.63 ms 1283.10 ms 17.47 ms
788426f 1257.41 ms 1291.71 ms 34.31 ms
3eaea3b 1259.69 ms 1266.96 ms 7.27 ms

App size

Revision Plain With Sentry Diff
23d98b1 8.10 MiB 9.18 MiB 1.08 MiB
788426f 8.10 MiB 9.18 MiB 1.08 MiB
3eaea3b 8.10 MiB 9.18 MiB 1.08 MiB

@denrase
Copy link
Collaborator Author

denrase commented May 2, 2023

@marandaneto Added the missing packages. We should probably still merge this with analyze.yml

@denrase denrase requested a review from marandaneto May 2, 2023 09:44
@marandaneto marandaneto removed the request for review from brustolin May 2, 2023 14:39
@marandaneto marandaneto closed this May 2, 2023
@marandaneto marandaneto reopened this May 2, 2023
@marandaneto
Copy link
Contributor

@marandaneto Added the missing packages. We should probably still merge this with analyze.yml

Yes, asked about this here.

@marandaneto
Copy link
Contributor

@denrase After finishing this, we could copy-reuse the very same implementation for https://github.com/getsentry/sentry-dart-plugin

Copy link
Contributor

@marandaneto marandaneto left a comment

Choose a reason for hiding this comment

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

Thanks @denrase
Lets do this after merging #1405 (comment)

@marandaneto marandaneto closed this May 9, 2023
@marandaneto marandaneto reopened this May 9, 2023
@marandaneto marandaneto merged commit 0006698 into main May 9, 2023
92 of 95 checks passed
@marandaneto marandaneto deleted the feat/gh-format-action branch May 9, 2023 14:24
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.

Run format and fix on CI and commit directly
3 participants