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

ref: bump sentry-arroyo to 2.20.7 #88694

Merged
merged 4 commits into from
Apr 7, 2025

Conversation

getsentry-bot
Copy link
Contributor

Co-Authored-By: untitaker [email protected]

@getsentry-bot getsentry-bot requested a review from a team as a code owner April 3, 2025 16:23
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 3, 2025
Copy link

codecov bot commented Apr 3, 2025

Codecov Report

Attention: Patch coverage is 61.53846% with 5 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/utils/arroyo_producer.py 50.00% 5 Missing ⚠️
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]
Copy link
Member

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

Copy link
Member

@untitaker untitaker Apr 4, 2025

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.

Copy link
Member

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

@untitaker untitaker dismissed asottile-sentry’s stale review April 7, 2025 10:53

we're going to follow up with a fix to the types.

@untitaker untitaker merged commit 4fed27f into master Apr 7, 2025
51 checks passed
@untitaker untitaker deleted the bot/bump-version/sentry-arroyo/2.20.7 branch April 7, 2025 10:53
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
Co-Authored-By: untitaker <[email protected]>

Co-authored-by: getsentry-bot <[email protected]>
Co-authored-by: untitaker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants