Minor Changes
- Added the
composeJsonLogsfunction, which builds the JSON logs from the results ofrun. - Removed the
RESET_ESCAPE_CODEexport, and the top-levelglobalTimeoutErrorfield of theJsonLogstype, which the JSON logs never contained at that level.
Patch Changes
- Fixed an issue where
respectruns that overlap in one process reset each other's execution timeout. - Fixed an issue where
respectcounted and listed a request twice in the JSON output when the execution timeout ended the retries of a step. - Fixed an issue where
respectwaited for a retry or ran a sub-workflow step after the execution timeout, and reportedglobalTimeoutError: falsein the JSON output when the timeout ended a retry. - Fixed an issue where Respect counted a step that calls a workflow as a request in
totalRequestsof the JSON output when the step reported a failed check of its own. - Fixed an issue where Respect skipped the
successCriteriaof a step that calls a workflow withworkflowId.
Respect checks them against the outputs of the called workflow, read as$outputs.
A failed criterion fails the step and runs itsonFailureactions.
The criteria and the parameters of the step'sonSuccessandonFailureactions read$outputsthe same way. - Fixed an issue where Respect ran the
onSuccessactions and the next steps after a step that calls a workflow failed to resolve one of itsoutputs.
The step runs itsonFailureactions, and the workflow ends when it has none. - Updated @redocly/openapi-core to v2.79.0.