Debian Codegraph @

releasenotes/notes/add_skip_validation-9e8b906c45bdb89f.yaml

raw
1 ---
2 features:
3 - |
4 The new configuration option "validation_mode" was added. It can take one
5 of the values: "enabled", "mandatory", "disabled". If it is set to
6 "enabled" then Mistral will be validating the workflow language syntax
7 for all API operations that create or update workflows (either via
8 /v2/workflows or /v2/workbooks) unless it's explicitly disabled with the
9 API parameter "skip_validation" that has now been added to the
10 corresponding API endpoints. The "skip_validation" parameter doesn't have
11 to have any value since it's a boolean flag. If the configuration option
12 "validation_mode" is set to "mandatory" then Mistral will be always
13 validating the syntax of all workflows for the mentioned operations.
14 If set to "disabled" then validation will always be skipped. Note that
15 if validation is disabled (one way or another) then there's a risk of
16 breaking a workflow unexpectedly while it's running or getting another an
17 unexpected error when uploading it possible w/o a user-friendly description
18 of the error.