Myasnikov Daniil
76d397523b
docs(tests): record why an INT/TERM trap cannot cover a killed test
...
The comment added with the trace switch pointed at a signal trap as the
fix for the one case quiet mode does not cover: a test killed rather
than failed never reaches the fail handler, so its trace is gone rather
than already printed. That advice is wrong, and wrong in a way that
costs whoever follows it.
POSIX sh defers a trap until the current foreground command returns, so
installing an INT/TERM handler stops the runner dying on the signal at
all. Measured: a suite hung on `sleep 30` exits in 30s with the trap
installed against 2s under the default disposition. GitHub's
cancellation escalates INT, TERM, then KILL, so the deferred handler
gets SIGKILLed before it runs -- no dump, and the grace period spent
waiting for a hang. Built it, measured it, reverted it.
Making it work means running the test pipeline in the background and
waiting on it, because `wait` is the interruptible one. That is surgery
on the path every suite in this repo takes, unit and e2e, to recover a
partial trace in a rare case that already has a 48-second escape hatch.
Not taken; recorded so the next reader does not spend the afternoon
finding out the same way.
Assisted-By: Claude <noreply@anthropic.com >
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com >
2026-08-27 22:30:18 +05:00
..
2026-07-15 15:31:45 +03:00
2026-08-27 22:06:33 +05:00
2026-08-14 18:37:59 +05:00
2026-08-25 12:38:28 +03:00
2026-08-05 16:03:57 +03:00
2026-08-12 18:43:02 +03:00
2026-08-07 23:53:40 +03:00
2025-01-09 12:24:51 +01:00
2026-08-07 23:53:40 +03:00
2026-06-25 10:21:05 +05:00
2026-06-24 23:17:25 +03:00
2026-08-09 14:42:19 +03:00
2026-08-27 22:06:53 +05:00
2026-04-14 19:59:19 +05:00
2026-07-24 11:34:17 +05:00
2026-06-24 22:43:56 +03:00
2026-08-05 16:03:57 +03:00
2026-08-05 16:03:57 +03:00
2026-08-05 16:03:57 +03:00
2026-04-11 17:07:35 +03:00
2026-05-27 16:21:46 +03:00
2026-05-27 11:16:41 +03:00
2026-07-14 13:08:54 +03:00
2025-12-25 16:54:22 +01:00
2026-05-12 03:04:48 +03:00
2026-06-30 19:40:47 +03:00
2026-08-26 00:15:22 +03:00
2026-08-05 14:19:47 +03:00
2026-08-10 10:30:30 +02:00
2025-07-03 14:26:56 +03:00
2026-07-29 17:47:28 +05:00
2026-07-29 17:47:28 +05:00
2026-08-05 17:37:04 +03:00
2026-08-07 14:38:29 +03:00
2026-08-20 17:39:36 +03:00
2026-08-21 12:52:42 +03:00
2026-08-12 18:37:09 +03:00
2026-06-24 15:32:52 +03:00
2026-08-08 17:08:54 +03:00
2026-08-27 22:06:53 +05:00
2026-08-27 22:30:18 +05:00
2026-04-30 14:52:56 +03:00
2026-02-17 22:54:12 +01:00
2026-07-14 17:07:47 +03:00
2026-08-09 14:42:19 +03:00
2026-08-27 22:06:53 +05:00
2026-08-11 02:31:27 +03:00
2026-06-30 19:40:47 +03:00
2026-08-14 11:08:49 +03:00
2026-08-21 12:52:42 +03:00
2026-08-21 12:52:42 +03:00
2026-08-10 00:10:53 +03:00
2026-08-19 13:14:11 +03:00
2026-05-25 11:56:30 +05:00
2026-08-23 19:38:49 +05:00
2026-07-09 18:21:07 +05:00
2026-08-07 23:53:40 +03:00
2026-07-19 20:16:01 +03:00
2026-08-14 18:37:57 +05:00
2026-08-21 12:52:42 +03:00
2026-08-12 18:45:22 +03:00
2026-08-12 18:45:22 +03:00
2026-07-21 23:15:46 +05:00
2026-08-12 16:35:36 +03:00
2026-07-31 16:11:08 +03:00
2026-06-30 12:08:18 +05:00
2026-07-25 02:07:43 +03:00
2026-08-07 06:49:56 +03:00
2026-07-14 14:37:52 +03:00
2026-03-03 19:10:39 +05:00
2026-07-20 11:29:09 +05:00
2026-08-19 10:15:59 +02:00
2026-08-20 13:37:09 +03:00
2026-08-25 13:28:58 +03:00
2026-08-25 13:50:14 +03:00
2026-07-20 15:40:49 +05:00
2026-07-08 22:27:42 +03:00
2026-08-07 23:53:40 +03:00
2026-08-07 23:53:40 +03:00
2026-07-28 18:07:34 +02:00
2026-08-21 12:52:42 +03:00
2026-08-07 23:53:40 +03:00
2026-06-30 16:56:33 +03:00
2026-08-14 01:25:34 +03:00
2026-08-12 18:42:58 +03:00
2026-07-24 18:16:16 +05:00
2026-08-05 16:46:50 +03:00
2026-08-10 00:10:53 +03:00
2024-10-21 11:59:56 +02:00
2026-08-10 12:08:02 +03:00
2026-08-14 18:37:58 +05:00
2026-08-14 18:37:58 +05:00
2026-08-14 18:37:59 +05:00
2026-08-05 16:03:57 +03:00
2026-08-12 18:16:18 +02:00
2026-08-05 14:19:47 +03:00
2026-07-21 21:08:15 +05:00
2026-08-14 18:37:59 +05:00
2026-08-07 23:53:40 +03:00
2026-08-07 23:53:40 +03:00
2026-08-11 19:40:01 +05:00
2026-08-05 16:03:57 +03:00
2026-08-17 14:22:09 +03:00
2026-08-18 15:44:13 +03:00
2026-07-08 18:06:22 +05:00
2026-08-17 14:18:21 +03:00
2026-08-15 10:19:19 +03:00
2026-08-21 12:52:42 +03:00
2026-08-21 12:52:42 +03:00
2026-08-21 12:52:42 +03:00
2026-08-15 10:19:19 +03:00
2026-08-09 02:51:06 +03:00
2026-08-26 12:06:18 +04:00
2026-08-21 12:52:42 +03:00
2026-08-09 16:17:44 +03:00
2026-08-16 05:17:16 +03:00
2026-08-23 19:38:49 +05:00
2026-08-11 02:31:27 +03:00
2026-08-15 02:41:19 +03:00
2026-07-20 15:40:48 +05:00
2026-07-27 13:52:59 +05:00
2026-07-27 13:52:59 +05:00
2026-07-24 18:16:16 +05:00
2026-08-16 10:44:44 +05:00
2026-08-16 10:44:44 +05:00
2026-08-15 17:58:07 +05:00
2026-07-30 16:04:03 +04:00
2026-08-09 13:31:54 +03:00
2026-08-10 23:24:11 +03:00
2026-08-07 14:38:06 +03:00
2026-07-21 23:59:48 +03:00
2026-01-19 13:59:29 +01:00
2026-03-25 15:57:25 +05:00
2025-11-26 20:18:43 +01:00
2026-07-24 11:34:17 +05:00
2026-08-14 18:37:59 +05:00
2026-08-14 18:37:58 +05:00