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

[sentry_lumberdash] Support latest sentry version and add tests #75

Merged
merged 3 commits into from Apr 7, 2021

Conversation

ueman
Copy link
Contributor

@ueman ueman commented Apr 4, 2021

This PR updates sentry_lumberdash to the latest Sentry version.
I also added tests and it should now have complete coverage.
I've also improved the documentation and various links.

@codecov
Copy link

codecov bot commented Apr 4, 2021

Codecov Report

Merging #75 (2736e58) into master (3596efa) will increase coverage by 11.99%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #75       +/-   ##
===========================================
+ Coverage   36.45%   48.45%   +11.99%     
===========================================
  Files           6        6               
  Lines          96       97        +1     
===========================================
+ Hits           35       47       +12     
+ Misses         61       50       -11     
Flag Coverage Δ
colorize_lumberdash 0.00% <ø> (ø)
file_lumberdash 9.52% <ø> (ø)
firebase_lumberdash 100.00% <ø> (ø)
lumberdash 100.00% <ø> (ø)
print_lumberdash 0.00% <ø> (ø)
sentry_lumberdash 100.00% <100.00%> (+100.00%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
sentry_lumberdash/lib/src/sentry_lumberdash.dart 100.00% <100.00%> (+100.00%) ⬆️

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 3596efa...2736e58. Read the comment docs.

@ueman ueman changed the title [sentry_lumberdash] Support latest sentry version [sentry_lumberdash] Support latest sentry version and add tests Apr 4, 2021
HubAdapter forwards to Sentrys static API. This makes it more resilient.
This way you could init lumberdash before Sentry or after Sentry.
This doesn't work with Sentry.currentHub. CurrentHub is a NoOp Hub until Sentry is initialized.
This means you couldn't even init lumberdash inside Sentrys initApp callback.
@ueman
Copy link
Contributor Author

ueman commented Apr 5, 2021

Docker pull failed but the build should be green if you restart it. Instead of docker you could also use the GitHub Dart Action: https://github.com/dart-lang/setup-dart

@ueman
Copy link
Contributor Author

ueman commented Apr 6, 2021

@fabiomcarneiro or @fwagner do you mind taking a look at this?

Copy link
Member

@fabiomcarneiro fabiomcarneiro left a comment

Choose a reason for hiding this comment

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

LGTM . Thank you.

@fwagner fwagner merged commit 09499a1 into bmw-tech:master Apr 7, 2021
@fwagner
Copy link
Contributor

fwagner commented Apr 7, 2021

Thanks @ueman. New version is available on pub.dev: https://pub.dev/packages/sentry_lumberdash/versions/3.1.0.

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

Successfully merging this pull request may close these issues.

None yet

3 participants