diff --git a/backend/windmill-worker/src/worker_flow.rs b/backend/windmill-worker/src/worker_flow.rs index a042d41ce40c5..4dacc91d9081d 100644 --- a/backend/windmill-worker/src/worker_flow.rs +++ b/backend/windmill-worker/src/worker_flow.rs @@ -3761,7 +3761,6 @@ async fn script_to_payload( module: &FlowModule, tag_override: &Option, ) -> Result { - tracing::error!("{tag_override:?}"); let (payload, tag, delete_after_use, script_timeout) = if script_hash.is_none() { let (jp, tag, delete_after_use, script_timeout) = script_path_to_payload(script_path, db, &flow_job.workspace_id, Some(true)).await?; diff --git a/frontend/src/lib/components/ModulePreview.svelte b/frontend/src/lib/components/ModulePreview.svelte index d14cd5e5b0536..404caf4041e09 100644 --- a/frontend/src/lib/components/ModulePreview.svelte +++ b/frontend/src/lib/components/ModulePreview.svelte @@ -32,7 +32,7 @@ getContext('FlowEditorContext') // Test - let scriptProgress = undefined; + let scriptProgress = undefined let testJobLoader: TestJobLoader let testIsLoading = false let testJob: Job | undefined = undefined @@ -54,7 +54,7 @@ export async function runTest(args: any) { // Not defined if JobProgressBar not loaded - if (jobProgressReset) jobProgressReset(); + if (jobProgressReset) jobProgressReset() const val = mod.value // let jobId: string | undefined = undefined @@ -75,7 +75,7 @@ script.content, script.language, args, - $flowStore?.tag ?? script.tag + $flowStore?.tag ?? val.tag_override ?? script.tag ) } else if (val.type == 'flow') { await testJobLoader?.abstractRun(() => @@ -103,8 +103,6 @@ let forceJson = false - - jobDone()} @@ -158,9 +156,14 @@ /> - {#if scriptProgress} - - {/if} + {#if scriptProgress} + + {/if} {#if testJob != undefined && 'result' in testJob && testJob.result != undefined}
{#if testIsLoading} {#if !scriptProgress} - + {/if} {:else} Test to see the result here