@@ -164,7 +164,7 @@ def process(self) -> None:
164164 self ._rollout_block_until = {} # release -> epoch (float)
165165
166166 PERIOD = PROCESS_TICK_SECONDS
167- guard_seconds = globals ().get ("ROLLOUT_GUARD_SECONDS" , 15 .0 )
167+ guard_seconds = globals ().get ("ROLLOUT_GUARD_SECONDS" , 30 .0 )
168168
169169 next_tick = time .monotonic ()
170170 while not self .stop_event .is_set ():
@@ -199,6 +199,10 @@ def process(self) -> None:
199199 block_until = self ._rollout_block_until .get (release )
200200 if block_until and now < block_until :
201201 # inside guard: defer; optionally probe to see if it flipped back to Running
202+ logger .debug (
203+ "Release %s guarded by rollout block, rejecting preliminary status deleted" ,
204+ release ,
205+ )
202206 if (
203207 self .prober
204208 and self ._probe_enabled_for (rec )
@@ -231,11 +235,11 @@ def process(self) -> None:
231235 # (no-op here, because we're still inside guard)
232236 continue
233237 else :
234- # guard expired → clean out any stale entry
238+ # guard expired, clean out any stale entry
235239 if block_until and now >= block_until :
236240 self ._rollout_block_until .pop (release , None )
237241
238- # probing path (gated)
242+ # ---- Probing path ----
239243 if status_lc in {"running" , "deleted" } and self ._probe_enabled_for (rec ):
240244
241245 logger .info (
@@ -245,7 +249,7 @@ def process(self) -> None:
245249 )
246250
247251 deadline_epoch = self ._ensure_deadline (rec , status_lc )
248- if deadline_epoch is not None and time . time () < deadline_epoch :
252+ if deadline_epoch is not None and now < deadline_epoch :
249253 # still inside the probe window
250254 if self ._allow_probe_now (rec ):
251255 # try a probe attempt
0 commit comments