From db3b68c5151cb9ba38fa69d502d63e63eb374fb5 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 15 Jun 2026 14:00:08 +0000 Subject: [PATCH] test(cli): mirror exact server-emitted retry/stop_after_if YAML MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the real-world YAML shape from the report — a constant retry that also emits the default exponential block, plus stop_after_if with skip_if_stopped: true and error_message: null. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../test-samples/valid-default-retry-stop-after-if.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/windmill-yaml-validator/src/validation/__tests__/test-samples/valid-default-retry-stop-after-if.yaml b/windmill-yaml-validator/src/validation/__tests__/test-samples/valid-default-retry-stop-after-if.yaml index 8f47707ded..2cf3e7128e 100644 --- a/windmill-yaml-validator/src/validation/__tests__/test-samples/valid-default-retry-stop-after-if.yaml +++ b/windmill-yaml-validator/src/validation/__tests__/test-samples/valid-default-retry-stop-after-if.yaml @@ -15,13 +15,14 @@ value: language: deno retry: constant: - attempts: 2 - seconds: 5 + attempts: 1 + seconds: 60 exponential: attempts: 0 multiplier: 1 - seconds: 0 random_factor: null + seconds: 0 stop_after_if: - expr: "false" error_message: null + expr: result == 404 + skip_if_stopped: true