Files
windmill/frontend
Diego ImbertandClaude Opus 4.8 3dc32dd8fe fix(frontend): use direct parent for nested-loop test-step args
evalArg() and updateStepArgs() in stepsInputArgs.svelte.ts selected the
parent module via modules[modules.length - 1] from dfs(id, flow, true).
dfs returns [module, direct_parent, grandparent, ...] (innermost to
outermost), so that index resolved to the outermost ancestor instead of
the direct parent. For a step inside a nested for-loop, getFlowInput then
computed flow_input using only the outer loop's context, so the "Test
this step" tab showed flow_input.iter.value as the outer loop's iteration
value instead of the inner loop's. Runtime behavior was already correct.

Use modules[1] (the direct parent). For non-nested cases (length == 2)
this is identical to the previous index, so behavior is unchanged there.

Fixes WIN-2096

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 12:02:46 +02:00
..
2026-01-22 16:20:01 +00:00
2025-12-23 18:19:30 +00:00
…
2026-02-19 09:33:33 +00:00
2026-03-05 18:11:40 +01:00
…
…
2026-01-22 16:20:01 +00:00
…
2026-03-18 11:38:22 +00:00

Windmill frontend

The Windmill frontend written in Svelte 5 + Tailwind CSS

The frontend is under AGPL, see the LICENSE file at the root of this repo