Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/ee-repo-ref.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a86e292dc3627d695e5dfc986a32fe01a263a83f
ea468d0b673257c694203517b0c5df52d9cb70dd
18 changes: 14 additions & 4 deletions backend/windmill-queue/src/jobs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2708,13 +2708,23 @@ impl PulledJobResult {
"Accumulated arguments from debounced jobs in batch"
);

let new_value = to_raw_value(&accumulated_arg);

append_logs(
&j_id,
&j.workspace_id,
format!(
"Substituting `{arg_name_to_accumulate}` with: {}\n\n",
&new_value
),
&(db.into()),
)
.await;

j.args
.get_or_insert(Json(Default::default()))
.as_mut()
.insert(
arg_name_to_accumulate.to_owned(),
to_raw_value(&accumulated_arg),
);
.insert(arg_name_to_accumulate.to_owned(), new_value);
}

// Handle dependency job debouncing cleanup when a job is pulled for execution
Expand Down
Loading