mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-24 16:01:42 +00:00
ee2a50022a
Round 4 gated the setup step's own Back button when the completed run was no longer in memory, but that is the least used of three ways back into step 3, and both reviewers landed on the same gap. The stepper renders every earlier step as reachable, and `importIsRunning()` is false after a reload, so its "Import" tab walked straight there. And `onFinish` pushed step 4 over step 3, leaving the browser's own Back pointing at the same place. After a reload there is nothing to hand back: the executor was in memory, and a clean finish clears the parking, so step 3 mounted with `resume` undefined and offered a fresh run — re-importing a bundle already in (a wall of path conflicts), or on a new workspace re-running a create that now fails as already existing, with no Delete offered because that execution never made it. `ImportWizardSteps` takes a `lowestStep`, which the page raises to 4 exactly when the run is gone, and the step-3 → 4 transition replaces rather than pushes. Verified against a real reload: the stepper stays on step 4 and says why, and browser Back lands on step 2 with no runnable import. Also adds the migration-phase abandonment assertion the review asked for — that no task is left on `running` when a run stops. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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