From 630a2e4e425d6882e53bc80abeb5010d0cd4a868 Mon Sep 17 00:00:00 2001 From: Nam Rodriguez Date: Fri, 4 Dec 2026 14:42:59 -0500 Subject: [PATCH] The beta gap case reads the release script as #967 wrote it #967 split the beta gap check in auto_release.py into two lines: the published releases are read once, kept for the skip record, then passed to too_soon. Incident case wo still looked for the old one-line call, so "Rust (tests)" has failed on main, and on every pull request, since. The case now asserts both lines. The behaviour it guards is unchanged. --- .../src/passes/incidents/wo_release_chain_runs_itself.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/worker/src/passes/incidents/wo_release_chain_runs_itself.rs b/services/worker/src/passes/incidents/wo_release_chain_runs_itself.rs index 3dd8d404..11f04fc3 100644 --- a/services/worker/src/passes/incidents/wo_release_chain_runs_itself.rs +++ b/services/worker/src/passes/incidents/wo_release_chain_runs_itself.rs @@ -130,7 +130,8 @@ fn a_deploy_starts_a_beta_at_most_once_per_gap() { assert!(AUTO.contains(" BETA_GAP_HOURS: \"4\"\n")); assert!(AUTO.contains("[ \"$MODE\" = beta-after-deploy ] && gap=\"$BETA_GAP_HOURS\"")); assert!(AUTO.contains("--min-gap-hours \"$gap\"")); - assert!(PLAN.contains("wait = too_soon(_published(a.repo), now, a.min_gap_hours)")); + assert!(PLAN.contains("published = _published(a.repo)\n")); + assert!(PLAN.contains("wait = too_soon(published, now, a.min_gap_hours)")); // The nightly stays, and promotion is untouched. assert!(AUTO.contains(" - cron: \"17 6 * * *\"\n")); assert!(AUTO.contains(" - cron: \"17 10 * * *\"\n"));