-
Notifications
You must be signed in to change notification settings - Fork 1.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
Core: Stop making multiple checks stop on first failing one #1501
Comments
Multiple checks are useful for debugging as they lessen the steps of validation you need to do to ... check your checks. But, what if you want your checks to fail as soon as possible. You could also want to be able to recover from certain fails if they occur and not others. What about a mode to choose between fast and "slow" fail ? |
Having a configurable behavior is an option, but then, we have to properly define what the default one would be, so that it suites the needs of most users. From the discussions on the ML, I'd tend to say that "evaluate all checks" should be the default. |
I agree on that. |
Evaluating all checks could help in 2 ways:
On the latter, the reports are not ready for that (display concatenated list in error block?, separated errors? but then, we'd have more errors than failing requests?). This matter is important, and IMHO, the 2 points have to come together to make sense, so let's move this to M5 and come up with a proper solution. |
I share Floris' point of view, but, having this on 2.0 only is fine with me. |
WDYM? Not having this in RC1 as long as it's in final? |
I'm an easy-going going man, as long as it will done, one day. |
As discussed before, I think we should make it configurable, with "evaluate all checks", which is the way it works currently, being the default. |
Actually, things are more complex. Current behavior is:
IMHO, we should:
It looks to me very difficult to support both current and this new behavior, as it impacts several places in the code. |
@slandelle Would you like to see only change in behavior or some change in the API, say:
|
I was in favor of only a behavior change. End users don't like having many ways to do the same thing. |
I guess, I could do it then. |
If you have no objections :) |
First, I'd like some consensus on this :) If you interested, please first dig into the code and list what needs to be changed before proceeding. |
So... from my search, one need to do the following:
WDYT? |
@pdalpra Are you in consensus with @slandelle? :) @slandelle Did I get what should be changed right? |
although this is a useful feature, given the amount of change needed and it's not a bug, Is this needed for 2.0 or can it wait for 2.1 ? |
IMHO, this would be great for 2.0 as it's a behavior change. |
@slandelle Would you like me to do it? What about my changes list? |
I'll try to review today (so much to do...). |
Stop making multiple checks stop on first failing one, close #1501
Beware: breaking behavior change |
When multiple checks are configured, if one fails, should the next ones be evaluated and get a chance to save data?
The text was updated successfully, but these errors were encountered: