-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
fix(issue-summary): Catch automation errors #93674
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
Conversation
raise ValueError("Issue summary scores is None or empty.") | ||
if issue_summary.scores.fixability_score is None: | ||
return | ||
raise ValueError("Issue summary fixability score is None.") |
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.
changing to ValueError
b/c there isn't a good reason for these to not be populated
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #93674 +/- ##
==========================================
+ Coverage 88.02% 88.04% +0.02%
==========================================
Files 10328 10326 -2
Lines 596011 595870 -141
Branches 23155 23127 -28
==========================================
- Hits 524640 524639 -1
+ Misses 70878 70738 -140
Partials 493 493 |
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
rn issue summary hard-fails and the generated summary isn't returned if `_run_automation` fails for whatever reason, e.g., `get_autofix_state` fails b/c of seer DB flake. this PR changes behavior to log the exception instead. also including a few style changes—can follow along in each commit
rn issue summary hard-fails and the generated summary isn't returned if
_run_automation
fails for whatever reason, e.g.,get_autofix_state
fails b/c of seer DB flake. this PR changes behavior to log the exception instead. also including a few style changes—can follow along in each commit