-
Notifications
You must be signed in to change notification settings - Fork 938
fix: #4057, merged incidents #4561
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Signed-off-by: Matvey Kukuy <Matvey-Kuk@users.noreply.github.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4561 +/- ##
===========================================
+ Coverage 30.95% 46.65% +15.69%
===========================================
Files 93 164 +71
Lines 10534 16763 +6229
===========================================
+ Hits 3261 7821 +4560
- Misses 7273 8942 +1669 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Can you add a few tests to cover what was not working here? Seems like we think this is first-grade info and should make sure that it works at all times. It's pretty hard for me to understand what was not working in the first place. |
merged_incidents = db_incident.merged_incidents or [] | ||
if isinstance(merged_incidents, list): | ||
merged_incidents = [incident.id for incident in merged_incidents] | ||
except DetachedInstanceError: |
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.
when could this happen?
Pull request was converted to draft
Converting to draft to bring tests |
@Matvey-Kuk any updates on this one? |
close #4057