Miguel Ángel
2a9912ec99
fix(cli): stop the cancellable-process test reading a pid file mid-write ( #4080 )
...
Same defect shape as the earlier preflight cancel test fix: the wait
condition only checked that the ready file existed, which goes true
as soon as the write opens (and truncates) it, before its content
lands. A read landing in that window parsed an empty string to 0.
The wait condition now also validates the parsed value is a real
positive pid before accepting it, retrying otherwise. Reproduced
with a busy-wait harness that hit the empty-file race in roughly
two of five attempts and confirmed clean after the fix.
2026-09-18 10:37:31 -04:00
..
2026-06-27 08:34:43 +08:00
2026-07-07 18:40:43 -04:00
2026-07-07 18:40:43 -04:00
2026-07-14 18:02:51 -04:00
2026-07-14 18:02:51 -04:00
2026-09-18 10:37:31 -04:00
2026-09-16 06:33:29 +00:00
2026-08-24 19:56:06 -04:00
2026-08-24 19:56:06 -04:00
2026-08-25 04:39:51 +00:00
2026-09-08 18:09:35 +00:00
2026-07-24 17:38:58 -07:00
2026-07-26 21:43:42 -07:00
2026-09-16 06:13:24 +00:00
2026-09-16 06:13:24 +00:00
2026-04-19 20:05:24 +02:00
2026-07-20 09:04:03 -07:00
2026-07-20 09:04:03 -07:00
2026-07-20 09:04:03 -07:00
2026-07-20 09:04:03 -07:00
2026-07-20 09:04:03 -07:00
2026-07-20 09:04:03 -07:00
2026-07-17 06:22:00 +00:00
2026-07-17 06:22:00 +00:00
2026-07-07 17:10:10 -04:00
2026-07-07 17:10:10 -04:00
2026-08-08 13:07:10 -07:00
2026-05-02 00:00:08 +02:00
2026-05-22 16:41:56 -04:00
2026-09-16 21:09:14 -04:00
2026-09-16 21:09:14 -04:00
2026-03-21 22:43:56 -07:00
2026-08-09 21:49:43 -07:00
2026-08-09 21:49:43 -07:00
2026-03-25 23:15:34 +00:00
2026-06-30 10:47:54 -07:00
2026-05-27 20:19:53 -04:00
2026-07-14 15:46:47 -04:00
2026-07-14 15:46:47 -04:00
2026-07-17 06:22:00 +00:00
2026-07-17 06:22:00 +00:00
2026-07-14 15:46:47 -04:00
2026-07-14 15:46:47 -04:00
2026-09-16 06:13:24 +00:00
2026-09-16 06:13:24 +00:00
2026-07-07 18:40:43 -04:00
2026-07-07 18:40:43 -04:00
2026-09-08 01:22:48 +00:00
2026-09-08 01:22:48 +00:00
2026-09-18 04:34:53 -04:00
2026-09-18 04:34:53 -04:00
2026-08-21 11:00:43 -04:00
2026-08-21 15:11:24 -04:00
2026-06-15 16:29:11 -04:00
2026-09-06 18:02:21 -07:00
2026-06-15 16:29:11 -04:00
2026-06-15 16:29:11 -04:00
2026-06-26 22:52:42 +08:00
2026-06-21 17:50:22 -04:00
2026-07-11 14:14:08 -07:00
2026-07-11 14:14:08 -07:00
2026-09-16 06:33:29 +00:00
2026-09-16 06:33:29 +00:00
2026-09-16 06:33:29 +00:00
2026-07-16 08:01:56 +00:00
2026-07-16 08:01:56 +00:00
2026-07-08 22:20:16 -04:00
2026-09-16 06:33:29 +00:00
2026-09-16 06:33:29 +00:00
2026-09-16 06:33:29 +00:00
2026-03-21 22:43:56 -07:00
2026-07-12 23:01:27 -04:00
2026-07-20 09:04:03 -07:00
2026-09-05 19:35:41 -04:00
2026-08-24 19:56:06 -04:00
2026-09-05 19:35:41 -04:00
2026-08-24 19:56:06 -04:00
2026-07-13 22:47:28 -04:00
2026-07-13 22:47:28 -04:00
2026-07-14 15:28:51 -07:00
2026-09-04 18:06:51 +00:00
2026-08-10 21:41:21 -04:00
2026-09-10 23:20:33 -04:00
2026-09-10 23:20:33 -04:00
2026-07-17 21:56:27 -04:00
2026-08-03 21:13:35 -07:00
2026-07-07 19:19:28 -04:00
2026-07-07 19:19:28 -04:00
2026-07-20 09:04:03 -07:00
2026-07-20 09:04:03 -07:00
2026-09-16 21:09:14 -04:00
2026-09-16 21:09:14 -04:00
2026-09-16 06:33:29 +00:00
2026-09-16 06:33:29 +00:00
2026-09-16 06:33:29 +00:00
2026-09-16 06:33:29 +00:00
2026-07-14 15:28:52 -07:00
2026-08-08 12:43:53 -07:00
2026-08-13 02:16:36 -07:00
2026-09-08 18:10:44 +00:00
2026-09-08 18:10:44 +00:00
2026-07-15 22:22:16 +08:00
2026-07-15 22:22:16 +08:00
2026-09-12 12:56:00 -04:00
2026-09-12 12:56:00 -04:00
2026-08-19 17:02:44 -04:00
2026-08-19 17:02:44 -04:00
2026-06-29 11:23:46 -07:00
2026-06-29 11:23:46 -07:00
2026-09-04 18:06:36 +00:00
2026-09-04 18:06:36 +00:00
2026-07-14 15:28:52 -07:00
2026-07-28 20:35:54 +02:00
2026-07-28 20:35:54 +02:00
2026-05-19 19:54:30 -04:00
2026-07-20 09:04:03 -07:00
2026-08-31 18:11:20 -04:00
2026-08-31 18:11:20 -04:00
2026-09-18 09:27:39 -04:00
2026-09-18 09:27:39 -04:00
2026-09-05 19:35:41 -04:00