Files
windmill/backend/windmill-queue/src/lib.rs
T
hugocasaandClaude Opus 5.5 6a0283a950 feat: rerun only the failed iterations of a parallel for-loop or branch-all (#12590)
* feat: rerun only the failed iterations of a parallel for-loop or branch-all

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: fail a failed-only restart cleanly and keep the popup's iteration per step

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: refuse a failed-only restart until every worker can run it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: name the parallel step whose iterations a restart reruns

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: rerun the failed iterations of a parallel step nested in a branch-one or loop

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: gate any restart chain carrying failed_only on the worker version

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: add --failed-only to wmill job restart

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: rerun failed iterations on the items they originally ran on

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: resume each failed iteration of a failed-only restart at its failed step

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: resume a failed iteration only at a step that failed, in an unchanged body

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: resume a failed iteration only at a step that ran, in an identical body

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: move failed-only restart into its own modules; say failed iterations rerun from their failed step

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: show the info icon on the failed-only restart toggle

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: name the failed-step restart in the failed-only toggle label

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: let a failed-only restart rerun failed iterations from their first step

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: rerun failed iterations from their first step unless from_failed_step is set

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: keep failed-only slot merging out of the parallel push path

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:49:48 +01:00

50 lines
1.4 KiB
Rust

/*
* Author: Ruben Fiszel
* Copyright: Windmill Labs, Inc 2022
* This file and its contents are licensed under the AGPLv3 License.
* Please see the included NOTICE for copyright information and
* LICENSE-AGPL for a copy of the license.
*/
pub mod asset_dispatch;
pub mod binary_prebuild;
#[cfg(feature = "private")]
pub mod cascade_ee;
pub mod cascade_oss;
#[cfg(feature = "private")]
pub use cascade_ee as cascade;
#[cfg(not(feature = "private"))]
pub use cascade_oss as cascade;
#[cfg(feature = "private")]
pub mod ducklake_maintenance_ee;
pub mod ducklake_maintenance_oss;
#[cfg(feature = "private")]
pub use ducklake_maintenance_ee as ducklake_maintenance;
#[cfg(not(feature = "private"))]
pub use ducklake_maintenance_oss as ducklake_maintenance;
#[cfg(feature = "private")]
pub mod freshness_watchdog_ee;
pub mod freshness_watchdog_oss;
#[cfg(feature = "private")]
pub use freshness_watchdog_ee as freshness_watchdog;
#[cfg(not(feature = "private"))]
pub use freshness_watchdog_oss as freshness_watchdog;
mod failed_only_restart;
pub mod jobs;
#[cfg(feature = "private")]
pub mod jobs_ee;
pub mod jobs_oss;
pub mod schedule;
pub mod variable_expiration;
pub use jobs::*;
pub mod flow_status;
pub mod tags;
pub mod workspace_fairness;
#[cfg(feature = "private")]
pub mod workspace_fairness_ee;
#[cfg(feature = "cloud")]
pub mod cloud_usage;
#[cfg(feature = "cloud")]
pub use cloud_usage::init_usage_buffer;