Skip to content

Conversation

@marandaneto
Copy link
Contributor

@marandaneto marandaneto commented May 12, 2022

📜 Description

#skip-changelog

Dart 2.17 and Flutter 3.0 have new linters that needed to be fixed.
Added the new linter libs instead of the old ones.
Vm only tests are not run on web anymore.
Excluded windows from running web tests, since it was flaky.

💡 Motivation and Context

Closes #507
Closes #860

💚 How did you test it?

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • I updated the docs if needed
  • All tests passing
  • No breaking changes

🔮 Next steps

enum DataCategory {
all,
data_category_default, // default
dataCategoryDefault, // default
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@denrase I hope this is fine, since camelCase is recommended by the new linter.

@marandaneto marandaneto requested a review from ueman May 12, 2022 13:20
@codecov-commenter
Copy link

codecov-commenter commented May 12, 2022

Codecov Report

Merging #861 (df25d8e) into main (188f470) will increase coverage by 2.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #861      +/-   ##
==========================================
+ Coverage   90.33%   92.43%   +2.10%     
==========================================
  Files         119       26      -93     
  Lines        3785      806    -2979     
==========================================
- Hits         3419      745    -2674     
+ Misses        366       61     -305     
Impacted Files Coverage Δ
flutter/lib/src/sentry_native_channel.dart 92.00% <ø> (ø)
...or/android_platform_exception_event_processor.dart 96.51% <100.00%> (ø)
dart/lib/src/protocol/sentry_span.dart
dart/lib/src/protocol/sentry_trace_header.dart
dart/lib/src/scope.dart
dart/lib/src/sentry.dart
dart/lib/src/sentry_tracer_finish_status.dart
dart/lib/src/transport/data_category.dart
dart/lib/src/protocol/sentry_runtime.dart
dart/lib/src/protocol/sentry_package.dart
... and 85 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 188f470...df25d8e. Read the comment docs.

@marandaneto
Copy link
Contributor Author

webdev has an issue dart-lang/webdev#1607 and that's why it fails.

- name: Test chrome
if: runner.os != 'macOS'
if: runner.os == 'Linux'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

#500
Right now it only happens on Windows, let's see if that helps.

@marandaneto marandaneto marked this pull request as ready for review May 13, 2022 08:48
@marandaneto marandaneto requested a review from brustolin as a code owner May 13, 2022 08:48
@marandaneto marandaneto changed the title Fix linters and ignore web tests for vm tests Fix linters and ignore web tests for vm only tests May 13, 2022
@marandaneto
Copy link
Contributor Author

webdev has an issue dart-lang/webdev#1607 and that's why it fails.

They fixed it.

Copy link
Contributor

@brustolin brustolin left a comment

Choose a reason for hiding this comment

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

LGTM!

@marandaneto marandaneto merged commit 85a1d2f into main May 13, 2022
@marandaneto marandaneto deleted the fix/lints-flutter-v3 branch May 13, 2022 09:19
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.

Support Flutter 3.x Removepedantic package

4 participants