Report all experiment validation errors at once
See original GitHub issueCurrently, when a chaos validate
command is run, it shows the first error and exits. This is a process to repeat when fixing each error, when using an experiment that contains multiple syntax issues.
It could be nice to do a full validation of the file and outputs all errors at once. It can either be default behavior or behavior to be activated with a CLI flag (--full-validation
, --global
, …)
The following experiment contains multiple errors:
{
"version": "1.0.0",
"title": "Invalid syntax experiment",
"description": "This experiment contains multiple synatx errors to be raised at validation step",
"tags": [
"invalid"
],
"steady-state-hypothesis": {
},
"method": [
{"type": "invalid"}
],
"rollbacks": [{"type":"invalid"}]
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:14 (7 by maintainers)
Top Results From Across the Web
FEC | Reporting | Validation errors explained
Explanations for error messages returned when using the validator for electronic filings with the Federal Election Commission.
Read more >Validation-Errors-Warnings - Research and Development
NOTE: When Data Validation is ON, the system is constantly validating, which makes response time slow. Keep Data Validation OFF while entering your...
Read more >EDGAR XBRL Validation Errors
Message ID Message Subsection
cp‑0501‑File‑Name‑Length Document file name must not exceed 32 characters. 5.1.1
cp‑0501‑File‑Character Disallowed character '' in file at line col 5.2.1.1
cp‑0502‑File‑Entity‑Code Disallowed...
Read more >How to Report Errors in Forms: 10 Design Guidelines
Help users recover from errors by clearly identifying the problems and allowing users to access and correct erroneous fields easily.
Read more >Guidance for the Validation of Analytical Methodology and ...
The UNODC Laboratory and Scientific Section provides support to laboratories in introducing and implementing a quality management system through a number of.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi all,
Good feature request. I don’t think we need a new flag, this should become the default behavior and not impact compatibility.
However, there is a lot of workto change the code internally I’m afraid. This will take some work.
@dmartin35 i think i would suggest going through option 1. The only risk/issue/ problem i see is that the original function was written with the flow being interrupted by the exception being raised so it would require us to write code in amore defensive manner.