unsupportedpastels
dfe5b10677
fix(gateway): compare a managed worker's birth by its kernel start on Linux
...
On Linux psutil's create_time() is the cached /proc/<pid>/stat start ticks
plus boot_time(), and psutil 7.2.2 re-reads /proc/stat btime on every call.
WSL2 re-anchors btime after host sleep, so the owner's read of a live
worker's birth drifted from the one the worker reported in its hello, and
the exact-equality fences (reservation, worker.adopt/persist, delegation
dispatch, the launcher signal and the Kanban owner receipt) refused it:
every Kanban card, cron run and subagent ended permission_denied.
worker_birth() reads the kernel start ticks since boot
(create_time(monotonic=True)) on Linux and keeps process_birth() elsewhere;
every managed-worker identity fence now uses it. The spawn ledger keeps
process_birth() so its persisted epoch births still match after an update.
An owner_admitted receipt written before this change reads as another
process: its reclaim pauses, the fail-safe direction.
Refs #143547
Co-authored-by: Sebastian Hänisch <5960303+TKCen@users.noreply.github.com >
2026-10-25 19:25:17 -04:00
..
2026-10-23 01:43:09 -07:00
2026-10-23 01:41:24 -07:00
2026-10-22 05:26:10 -07:00
2026-10-25 19:25:17 -04:00
2026-10-22 05:26:10 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:41:56 -07:00
2026-10-23 01:41:51 -07:00
2026-10-20 03:19:01 -07:00
2026-10-20 03:19:01 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:41:56 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:41:56 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:14 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:09 -07:00
2026-10-23 01:43:15 -07:00
2026-10-23 01:43:15 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:41:54 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:41:29 -07:00
2026-10-23 01:43:16 -07:00
2026-10-24 18:44:31 -07:00
2026-10-23 01:43:16 -07:00
2026-10-23 01:42:21 -07:00
2026-10-25 05:06:56 -07:00
2026-10-25 05:32:43 -07:00
2026-10-25 05:32:43 -07:00
2026-10-23 01:42:21 -07:00
2026-10-21 15:46:19 +05:30
2026-10-23 06:08:27 +05:30
2026-10-21 15:46:19 +05:30
2026-10-22 05:26:10 -07:00
2026-10-22 05:26:10 -07:00
2026-10-23 16:04:50 -07:00
2026-10-20 03:22:11 -07:00
2026-10-18 20:17:19 -07:00
2026-10-23 00:37:14 -07:00
2026-10-18 20:48:21 -07:00
2026-10-22 14:37:10 -07:00
2026-10-22 14:37:10 -07:00
2026-10-24 18:48:01 -07:00
2026-10-18 10:49:17 -07:00
2026-10-20 17:41:05 -07:00
2026-10-19 01:31:31 -07:00
2026-10-23 15:33:14 -07:00
2026-10-22 05:26:10 -07:00
2026-10-20 04:03:52 -07:00
2026-10-24 18:45:02 -07:00
2026-10-22 05:26:10 -07:00
2026-10-23 01:41:24 -07:00
2026-10-20 12:30:50 -07:00
2026-10-23 15:54:23 -07:00
2026-10-19 01:31:31 -07:00
2026-10-19 01:31:31 -07:00
2026-10-25 11:34:11 -04:00
2026-10-22 05:26:10 -07:00
2026-10-22 05:26:10 -07:00
2026-10-23 01:41:56 -07:00
2026-10-20 03:22:11 -07:00
2026-10-20 23:36:32 -04:00
2026-10-23 17:40:33 -07:00
2026-10-23 17:40:33 -07:00
2026-10-19 07:27:50 -07:00
2026-10-19 02:10:20 -07:00
2026-10-21 13:41:22 -07:00
2026-10-23 17:39:48 -07:00
2026-10-20 04:41:58 -07:00
2026-10-21 13:41:22 -07:00
2026-10-23 17:40:33 -07:00
2026-10-23 16:16:43 -07:00
2026-10-23 17:39:48 -07:00
2026-10-23 16:54:27 -07:00
2026-10-24 18:44:31 -07:00
2026-10-25 03:00:43 -07:00
2026-10-22 05:26:10 -07:00
2026-10-24 18:44:31 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:41:24 -07:00
2026-10-22 05:26:10 -07:00
2026-10-22 05:26:10 -07:00
2026-10-24 04:11:24 -07:00
2026-10-20 03:08:38 -07:00
2026-10-21 17:06:34 -07:00
2026-10-21 17:06:34 -07:00
2026-10-23 01:41:24 -07:00
2026-10-23 01:43:16 -07:00
2026-10-24 18:44:31 -07:00
2026-10-20 03:08:38 -07:00
2026-10-24 04:01:10 -07:00
2026-10-24 17:11:13 -07:00
2026-10-22 05:26:10 -07:00
2026-10-23 01:41:24 -07:00
2026-10-21 17:06:34 -07:00
2026-10-22 05:26:10 -07:00
2026-10-22 05:26:10 -07:00
2026-10-25 19:14:26 -04:00
2026-10-22 05:26:10 -07:00
2026-10-24 18:48:01 -07:00
2026-10-20 16:17:56 -04:00
2026-10-22 05:26:10 -07:00
2026-10-22 05:26:10 -07:00
2026-10-22 05:26:10 -07:00
2026-10-25 10:42:07 -04:00
2026-10-22 05:26:10 -07:00
2026-10-22 05:26:10 -07:00
2026-10-22 05:26:10 -07:00
2026-10-23 15:33:14 -07:00
2026-10-24 18:55:33 -07:00
2026-10-23 16:04:50 -07:00
2026-10-23 01:41:24 -07:00
2026-10-25 13:07:21 -07:00
2026-10-25 15:58:23 -07:00
2026-10-23 11:51:27 +02:00
2026-10-19 01:31:31 -07:00
2026-10-23 01:42:14 -07:00
2026-10-22 23:24:59 -07:00
2026-10-23 01:41:24 -07:00