mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-08 00:03:07 +00:00
Add the ability to record a flow test execution and replay it offline without any API calls. This is useful for debugging, sharing, and reviewing flow executions outside of a running Windmill instance. Recording: - "Test flow & record" option in the flow editor three-dots menu opens the test drawer in recording mode - While in recording mode, running a test captures all job events (SSE streams, sub-job completions, flow status transitions) along with the flow definition into a downloadable JSON file - Recording state module (flowRecording.svelte.ts) manages active recording/replay instances at the module level Replay: - Standalone /replay page where users upload a recording JSON file and watch the flow execute with real-time status transitions - FlowRecordingReplay component handles timestamp rebasing, event ordering fixes, and drives FlowStatusViewer with recorded data - JobLoader intercepts replay mode to feed recorded events via timed callbacks instead of real SSE/polling - FlowStatusViewerInner and FlowLogViewer guard all API call sites to prevent network requests during replay - Job links, log downloads, and resource lookups are suppressed in replay mode Co-authored-by: Claude Opus 4.6 <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