-
-
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(scm): search endpoint abstraction round 2 #77079
Conversation
try: | ||
response = installation.search_issues(query=full_query, project_id=repo, iids=iids) | ||
except ApiError as e: | ||
return Response({"detail": str(e)}, status=400) |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
try: | ||
response = installation.search_projects(query) | ||
except ApiError as e: | ||
return Response({"detail": str(e)}, status=400) |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #77079 +/- ##
===========================================
+ Coverage 57.37% 78.14% +20.76%
===========================================
Files 6927 6939 +12
Lines 307427 307970 +543
Branches 50326 50410 +84
===========================================
+ Hits 176400 240675 +64275
+ Misses 126188 60875 -65313
- Partials 4839 6420 +1581 |
if not query: | ||
return Response([]) | ||
|
||
resp = installation.search_issues(query=query) |
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.
vsts doesn't query issues with repository, needed to account for that. there isn't a test for VSTS, may need to add that?
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.
Yeah makes sense. Please at least add barebone tests.
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.
done!
58b6f5c
to
dc07360
Compare
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
Fixed version of #76627