-
Notifications
You must be signed in to change notification settings - Fork 209
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
Avoid logging user-input related errors in YAML to server log #4520
Conversation
The CI problems in the fullstack / unstable tests are likely caused by https://progress.opensuse.org/issues/107002 , I commented there |
Typo in commit message s/unnecassary/unnecessary/ |
@perlpunk Indeed. At least now we have the video, see https://progress.opensuse.org/issues/106912. |
a5f069a
to
533c641
Compare
So this is failing in unstable:
And subsequent runs fail due to issues with retries, see https://progress.opensuse.org/issues/107002 but I think this PR doesn't have to block on 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.
I think I don't see a test case where an unexpected error happens and is logged, (but we also didn't have that before). Do you think it makes sense to add one?
Other than that all good.
@Mergifyio rebase |
You could rebase now as the unrelated problems with the unstable tests should be fixed. |
✅ Branch has been successfully rebased |
@perlpunk I just asked mergify to do that. It's just weird that it looks like "kraih" would have rebased. |
Codecov Report
@@ Coverage Diff @@
## master #4520 +/- ##
=======================================
Coverage 97.97% 97.97%
=======================================
Files 374 374
Lines 34109 34144 +35
=======================================
+ Hits 33417 33453 +36
+ Misses 692 691 -1
Continue to review full report at Codecov.
|
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.
codecov/patch failed. As this PR is non-critical I recommend to increase patch coverage as part of this work here.
Ok, so I need to cover:
and
|
* Distinguish between errors caused by user-input (1) and unhandled errors (2) * Report only (1) to the user and log only (2) to the server log * Treat constraint violations as user-input related as they are most likely caused by the input as well * See https://progress.opensuse.org/issues/106880
This is also consistent with table deletion errors.
67ca4f5
to
b788044
Compare
The test passes now as coverage has been added.
errors (2)
caused by the input as well