fix(backend): correctly apply preprocessor step tag (#7412)

This commit is contained in:
hugocasa
2025-12-18 20:21:59 +00:00
committed by GitHub
parent 1effaf4c7a
commit 65ff6779ab
+2 -2
View File
@@ -3269,8 +3269,8 @@ async fn push_next_flow_job(
.map(|x| x.into());
tracing::debug!(id = %flow_job.id, root_id = %job_root, "computed perms for job {i} of {len}");
let tag = if !step.is_preprocessor_step()
&& (flow_job.tag == "flow" || flow_job.tag == format!("flow-{}", flow_job.workspace_id))
let tag = if step.is_preprocessor_step()
|| (flow_job.tag == "flow" || flow_job.tag == format!("flow-{}", flow_job.workspace_id))
{
payload_tag.tag.clone()
} else {