Teknium
52a853f5c3
fix(test): pin monotonic clock in spinner-elapsed test to fix CI flake ( #54203 )
...
test_spinner_elapsed_format_is_fixed_width_to_reduce_wrap_jitter derived
_tool_start_time from the live time.monotonic() clock (now - 65.2 / now - 9.2).
monotonic()'s epoch is arbitrary — on a host where monotonic() < 65.2 (fresh
subprocess on a freshly-booted CI runner) the start time went negative, the
(t0 > 0) guard in _render_spinner_text() dropped the '(elapsed)' suffix, and
short.split('(',1)[1] raised IndexError: list index out of range. Deterministic
given a small clock, so it would keep flaking, not clear on rerun.
Pin time.monotonic to a fixed 1000.0 and offset _tool_start_time from it so both
the <60s and >=60s paths always render the elapsed suffix regardless of the
runner's monotonic epoch.
Pre-existing main flake (surfaced in CI test slice 1/8).
2026-06-28 04:16:25 -07:00
..
2026-04-07 17:19:07 -07:00
2026-05-25 05:07:11 -07:00
2026-05-28 22:26:25 -07:00
2026-04-26 18:21:29 -07:00
2026-06-19 16:59:43 -07:00
2026-06-12 01:14:35 -07:00
2026-06-23 11:09:08 -07:00
2026-05-28 22:26:25 -07:00
2026-04-26 21:47:40 -07:00
2026-06-08 02:13:07 -07:00
2026-05-24 23:23:12 -07:00
2026-04-09 17:19:36 -05:00
2026-06-25 19:57:58 -05:00
2026-04-07 17:19:07 -07:00
2026-04-20 02:53:40 -07:00
2026-05-28 22:26:25 -07:00
2026-06-19 08:43:42 -07:00
2026-06-22 06:27:29 -07:00
2026-04-09 16:24:53 -07:00
2026-06-28 02:05:13 -07:00
2026-05-12 14:56:47 -07:00
2026-05-28 22:26:25 -07:00
2026-05-30 11:55:12 -05:00
2026-04-29 23:53:17 -07:00
2026-05-18 20:08:36 -07:00
2026-04-07 17:19:07 -07:00
2026-05-23 17:46:55 -07:00
2026-06-20 14:18:33 -05:00
2026-04-07 17:19:07 -07:00
2026-04-07 17:19:07 -07:00
2026-06-26 19:15:18 -07:00
2026-04-29 21:07:47 -07:00
2026-06-05 10:00:21 +08:00
2026-04-07 17:19:07 -07:00
2026-05-09 17:55:12 -07:00
2026-05-25 01:20:33 -07:00
2026-05-08 16:26:51 -07:00
2026-06-21 07:25:56 -07:00
2026-04-28 18:47:14 -05:00
2026-06-28 04:16:25 -07:00
2026-04-15 17:52:03 -07:00
2026-04-20 23:05:38 -07:00
2026-04-29 22:10:18 -05:00
2026-05-29 00:31:44 -07:00
2026-05-28 22:26:25 -07:00
2026-04-20 02:53:40 -07:00
2026-05-28 12:10:21 -07:00
2026-04-11 19:23:29 -07:00
2026-05-29 17:49:15 -07:00
2026-05-14 15:14:29 -07:00
2026-05-28 23:30:39 -07:00
2026-05-28 22:26:25 -07:00
2026-05-24 16:13:03 -07:00
2026-05-24 16:13:03 -07:00
2026-05-16 12:51:08 -07:00
2026-05-25 01:41:54 -07:00
2026-06-02 19:09:41 -05:00
2026-05-05 04:42:48 -07:00
2026-06-27 03:09:09 -07:00
2026-05-29 17:49:15 -07:00
2026-05-28 22:26:25 -07:00
2026-06-03 23:51:44 -06:00
2026-06-01 20:30:08 -07:00
2026-06-19 01:53:32 +05:30
2026-06-26 19:15:18 -07:00
2026-05-17 02:29:41 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-06-03 06:36:46 -07:00
2026-06-09 22:41:04 -07:00
2026-05-28 22:26:25 -07:00
2026-06-08 15:53:28 -07:00
2026-05-29 19:04:40 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-06-28 01:08:09 -07:00
2026-06-27 12:45:23 -07:00
2026-06-01 23:27:44 +08:00
2026-05-18 20:10:46 -04:00
2026-06-05 18:05:05 -07:00
2026-04-07 17:19:07 -07:00
2026-06-21 12:42:11 -07:00
2026-05-28 22:26:25 -07:00