fix: keep the perpetual-run opt-in across relocks and check the new version's tag

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
hugocasa
2026-09-17 13:26:46 +02:00
co-authored by Claude Opus 5
parent 722ff7820a
commit 8bbccb3300
15 changed files with 115 additions and 52 deletions
+2 -2
View File
@@ -648,8 +648,8 @@ struct CreateScriptQuery {
#[serde(default)]
skip_if_noop: bool,
/// Perpetual runs of an older version at this path start their next run on the deployed
/// version once their current one finishes. A deploy skipped as a no-op creates no version,
/// so it moves nothing.
/// version once their current one finishes, or stop when it is not perpetual. A deploy skipped
/// as a no-op creates no version, so it moves nothing.
#[serde(default)]
apply_to_perpetual_runs: bool,
}