From 4c742c5e0fc2ef35134648fd2fa9ced2e9c501bc Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 13 Feb 2024 11:04:15 +0100 Subject: [PATCH] fix: init scripts are tagged with 'init_script' --- backend/windmill-worker/src/worker.rs | 2 +- frontend/src/lib/components/runs/JobPreview.svelte | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/backend/windmill-worker/src/worker.rs b/backend/windmill-worker/src/worker.rs index 819bea9514..0c14d41fe0 100644 --- a/backend/windmill-worker/src/worker.rs +++ b/backend/windmill-worker/src/worker.rs @@ -2029,7 +2029,7 @@ async fn queue_init_bash_maybe<'c, R: rsmq_async::RsmqConnection + Send + 'c>( true, None, true, - None, + Some("init_script".to_string()), None, None, None, diff --git a/frontend/src/lib/components/runs/JobPreview.svelte b/frontend/src/lib/components/runs/JobPreview.svelte index ebf3f72142..221841e75e 100644 --- a/frontend/src/lib/components/runs/JobPreview.svelte +++ b/frontend/src/lib/components/runs/JobPreview.svelte @@ -55,7 +55,12 @@ {/if} {#if workspace && $workspaceStore != workspace} - {workspace} + Workspace: {workspace} + + {/if} + {#if job.tag} + + Tag: {job.tag} {/if}