diff --git a/backend/windmill-worker/src/worker.rs b/backend/windmill-worker/src/worker.rs index f9759323ae..cd31dc8e5a 100644 --- a/backend/windmill-worker/src/worker.rs +++ b/backend/windmill-worker/src/worker.rs @@ -93,7 +93,7 @@ use crate::{ bun_executor::{gen_lockfile, get_trusted_deps, handle_bun_job}, common::{ build_args_map, get_cached_resource_value_if_valid, hash_args, read_result, save_in_cache, - write_file, NO_LOGS, SLOW_LOGS, + write_file, NO_LOGS, NO_LOGS_AT_ALL, SLOW_LOGS, }, deno_executor::{generate_deno_lock, handle_deno_job}, go_executor::{handle_go_job, install_go_dependencies}, @@ -1415,9 +1415,25 @@ pub async fn run_worker( &job.id, &worker_name, &job.tag )); + if *NO_LOGS_AT_ALL { + logs.push_str("Logs are fully disabled for this worker\n"); + } + if *NO_LOGS { logs.push_str("Logs are disabled for this worker\n"); } diff --git a/backend/windmill-worker/src/worker_flow.rs b/backend/windmill-worker/src/worker_flow.rs index 11934c09ce..c4c9fad0fa 100644 --- a/backend/windmill-worker/src/worker_flow.rs +++ b/backend/windmill-worker/src/worker_flow.rs @@ -1080,6 +1080,7 @@ pub async fn handle_flow( .with_context(|| "Unable to parse flow status")?; if !flow_job.is_flow_step + && status.retry.fail_count == 0 && flow_job.schedule_path.is_some() && flow_job.script_path.is_some() && status.step == 0 @@ -2920,7 +2921,6 @@ async fn script_to_payload( module: &FlowModule, tag_override: &Option, ) -> Result { - tracing::warn!("Script tag override: {:?}", tag_override); let (payload, tag, delete_after_use, script_timeout) = if script_hash.is_none() { script_path_to_payload(script_path, &db, &flow_job.workspace_id).await? } else {