mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-28 08:06:16 +00:00
fix: reload an open run history group while it holds a running run
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
6c03213fdf
commit
e9be04ac55
@@ -156,7 +156,9 @@
|
||||
const inputsWithPayload = await Promise.all(inputs.map(withPayload))
|
||||
for (const entry of inputs) {
|
||||
const open = openGroups[entry.id]
|
||||
if (open && !open.loading && open.summary !== summary(entry)) {
|
||||
// A run in progress may still have its args replaced, without the summary changing.
|
||||
const stale = open?.summary !== summary(entry) || open?.runs.some((run) => run.running)
|
||||
if (open && !open.loading && stale) {
|
||||
loadGroup(entry)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user