-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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(typing): type bitbucket issues file #83644
Conversation
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.
I thought so too, i see where the function is called with
|
maybe the test should get fixed and then this can be non-nullable? |
None ? it seems like this was intentional, but i don't see it being None anywhere in the code?
|
@JoshFerge To be honest, it's probably treated in some code as non-optional, and I can't really find anywhere that would make sense for it to None. When it's surfaced in the app, it is used to create issue links so we definitely have the context of a group. Maybe theres something about removing the link from Sentry but still preserving something on the provider's side, but I'm kinda making that up. I don't recall anything about typing it the first time, maybe the ecosystem team knows more |
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #83644 +/- ##
==========================================
- Coverage 87.63% 87.60% -0.03%
==========================================
Files 9498 9495 -3
Lines 541781 539242 -2539
Branches 21241 21170 -71
==========================================
- Hits 474771 472410 -2361
+ Misses 66662 66487 -175
+ Partials 348 345 -3 |
@leeandher @asottile-sentry after looking at other integrations, it appears they can expect group to be
just seems like with bitbucket's integration it does not. I think this is okay to merge as is. |
given IntegrationConfigSerializer I think this is going to hit the AssertionError -- something probably needs to be fixed there and we're getting lucky that nobody uses this thing with that api endpoint |
PR reverted: 614cddc |
This reverts commit b286ba0. Co-authored-by: JoshFerge <[email protected]>
gone ahead and reverted the PR. i'll put in a fix when i get a sec |
<!-- Describe your PR here. -->
This reverts commit b286ba0. Co-authored-by: JoshFerge <[email protected]>
No description provided.