-
Notifications
You must be signed in to change notification settings - Fork 429
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
fix: Avoid errors when missing subscription information cache id #3380
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Uffizzi Preview |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #3380 +/- ##
===========================================
- Coverage 95.93% 36.42% -59.52%
===========================================
Files 1077 1003 -74
Lines 32944 29008 -3936
===========================================
- Hits 31606 10565 -21041
- Misses 1338 18443 +17105 ☔ View full report in Codecov by Sentry. |
Thanks for submitting a PR! Please check the boxes below:
pre-commit
to check lintingI have added information todocs/
if required so people know about the feature!Changes
A Sentry issue alerted the ability of an unset subscription information cache id during an organisational delete. This code simply checks the presence of the model in question and does not delete it if the id is not present.
Though only three occurrences at the time of this writing have happened, it's not clear as to how the application got into the state where an model is set without an id.
How did you test this code?
I am going to rely on CI since the change is very simple.