-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
ref: bump sentry-arroyo to 2.20.7 #88694
Conversation
Co-Authored-By: untitaker <[email protected]>
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #88694 +/- ##
===========================================
+ Coverage 32.97% 87.81% +54.83%
===========================================
Files 8493 10059 +1566
Lines 474755 569582 +94827
Branches 22303 22303
===========================================
+ Hits 156572 500181 +343609
+ Misses 317779 68997 -248782
Partials 404 404 |
produce_future.add_done_callback( | ||
# We know this type is futures.Future, but cannot assert so, | ||
# because it is also mock.Mock in tests. | ||
produce_future.add_done_callback( # type:ignore[attr-defined] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this points out that an annotation or mock is wrong somewhere. we should only use type ignore for bugs in the type checker not bugs in the code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
basically the type annotation in arroyo is wrong, and expressing the right thing is too complicated. this usage of producers is also not very common.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's fix the annotation then. or revert
we're going to follow up with a fix to the types.
Co-Authored-By: untitaker <[email protected]> Co-authored-by: getsentry-bot <[email protected]> Co-authored-by: untitaker <[email protected]>
Co-Authored-By: untitaker [email protected]