kshitijk4poor
e8ccfffc0b
fix(browser): a shared daemon is owned only by the Hermes whose command started it
...
Two same-user Hermes processes can reach one daemon. Both read bu-default.pid on the default
Browser Use name, and every Hermes shares the real-profile attach session. The identity checks (uid,
module, session leader, socket-dir binding) prove what the daemon is, not who started it, so both
Hermes registered its group. Killing either one then killed the browser the other was still using.
The real-profile attach's before/after pid-file diff had the same hole: two concurrent attaches
both see the file change.
Each agent-browser and browser-harness command now carries this process's spawn tag (spawn_env:
pid plus create time). The daemon it forks inherits the tag, and _own_local_daemon /
_own_harness_daemon register a daemon only when its tag names this process
(process_identity.spawned_by_this_process; an unreadable environment fails closed). The pid-file
diff is gone. Probed on macOS against agent-browser 0.26.0: the forked daemon carries the tag.
New tests start a verified daemon tagged with another live process. Each fails with its check
removed (the daemon gets registered) and passes with it.
Reported by Greptile on #137057 (two threads).
2026-10-29 16:58:09 +05:30
..
2026-10-28 13:49:47 -04:00
2026-10-29 16:58:09 +05:30
2026-10-26 00:10:23 -07:00
2026-10-23 17:52:26 +05:30
2026-10-28 21:22:34 -07:00
2026-10-29 16:58:09 +05:30
2026-10-26 11:34:08 -04:00
2026-10-21 17:06:03 -07:00
2026-10-29 16:58:09 +05:30
2026-10-27 12:35:50 -07:00
2026-10-28 13:09:00 -07:00
2026-10-27 17:33:48 -07:00
2026-10-23 17:52:26 +05:30
2026-10-22 13:43:01 +05:30
2026-10-23 06:08:25 +05:30
2026-10-23 23:25:17 +05:30
2026-10-25 17:50:59 -07:00
2026-10-25 20:47:10 -07:00
2026-10-25 19:32:48 -07:00
2026-10-23 06:08:25 +05:30
2026-10-25 20:47:10 -07:00
2026-10-25 22:22:46 -07:00
2026-10-27 12:44:44 -07:00
2026-10-23 23:25:17 +05:30
2026-10-26 01:21:01 -07:00
2026-10-25 19:25:17 -04:00
2026-10-27 12:57:09 -07:00
2026-10-27 17:33:48 -07:00
2026-10-27 13:23:31 -07:00
2026-10-27 17:33:48 -07:00
2026-10-18 00:47:38 -07:00
2026-10-29 16:58:09 +05:30
2026-10-25 03:22:36 -07:00
2026-10-23 01:41:41 -07:00
2026-10-29 16:58:09 +05:30
2026-10-25 18:12:33 -07:00
2026-10-21 23:05:11 -04:00
2026-10-23 01:41:24 -07:00
2026-10-24 11:47:35 -07:00
2026-10-27 16:46:52 -07:00
2026-10-23 01:41:24 -07:00
2026-10-20 13:09:00 +05:30
2026-10-20 15:08:20 +05:30
2026-10-25 18:54:09 -07:00
2026-10-20 13:08:24 +05:30
2026-10-28 19:05:57 -07:00
2026-10-25 18:54:09 -07:00
2026-10-25 22:33:53 -07:00
2026-10-25 19:18:26 -04:00
2026-10-22 02:53:12 -04:00
2026-10-25 18:12:27 -07:00
2026-10-21 00:14:33 -07:00
2026-10-19 07:12:58 -07:00
2026-10-19 07:02:06 -07:00
2026-10-19 07:12:58 -07:00
2026-10-19 12:55:27 -07:00
2026-10-22 10:55:52 -07:00
2026-10-20 14:58:52 +05:30
2026-10-26 13:04:58 +05:30
2026-10-20 15:03:19 +05:30
2026-10-25 18:12:33 -07:00
2026-10-25 18:12:33 -07:00
2026-10-29 16:30:39 +05:30
2026-10-28 19:05:57 -07:00
2026-10-23 01:41:24 -07:00
2026-10-19 11:58:44 -07:00
2026-10-25 21:57:29 -07:00
2026-10-23 01:41:24 -07:00
2026-10-27 12:57:09 -07:00
2026-10-18 19:52:35 -07:00
2026-10-23 01:41:24 -07:00
2026-10-27 17:33:48 -07:00
2026-10-27 17:33:48 -07:00
2026-10-27 20:24:05 -07:00
2026-10-17 21:49:14 -07:00
2026-10-29 16:58:09 +05:30
2026-10-25 18:54:09 -07:00
2026-10-25 18:54:09 -07:00
2026-10-25 18:54:09 -07:00
2026-10-22 05:26:10 -07:00
2026-10-23 01:43:17 -07:00
2026-10-27 17:33:48 -07:00
2026-10-27 17:33:48 -07:00
2026-10-28 13:09:00 -07:00
2026-10-22 05:26:10 -07:00
2026-10-27 17:33:48 -07:00
2026-10-25 18:54:09 -07:00
2026-10-18 03:44:27 -07:00
2026-10-28 13:09:00 -07:00
2026-10-23 06:08:27 +05:30
2026-10-21 17:06:03 -07:00
2026-10-25 21:02:41 -07:00
2026-10-28 19:40:40 -07:00
2026-10-18 00:47:38 -07:00
2026-10-20 22:18:49 -04:00
2026-10-29 16:58:09 +05:30
2026-10-25 03:22:38 -07:00
2026-10-27 16:30:14 +05:30
2026-10-27 07:53:07 -07:00
2026-10-28 17:21:32 -07:00
2026-10-28 19:53:28 -07:00
2026-10-27 11:51:03 -07:00
2026-10-27 17:33:48 -07:00
2026-10-25 17:50:59 -07:00
2026-10-23 01:41:25 -07:00
2026-10-25 18:54:09 -07:00
2026-10-24 18:56:06 -07:00
2026-10-25 22:22:46 -07:00
2026-10-27 17:33:48 -07:00
2026-10-25 11:39:45 -04:00
2026-10-27 12:57:09 -07:00
2026-10-23 06:08:27 +05:30
2026-10-29 16:30:39 +05:30
2026-10-25 19:18:26 -04:00
2026-10-18 03:19:59 -07:00
2026-10-27 16:46:52 -07:00
2026-10-25 17:49:10 -04:00
2026-10-29 16:30:39 +05:30
2026-10-29 16:30:39 +05:30
2026-10-25 23:19:22 -07:00
2026-10-29 16:58:09 +05:30
2026-10-20 06:33:34 -07:00
2026-10-27 16:30:14 +05:30
2026-10-25 18:54:09 -07:00
2026-10-22 14:37:10 -07:00
2026-10-24 16:00:35 -07:00
2026-10-29 16:30:39 +05:30
2026-10-18 03:28:00 -07:00
2026-10-18 03:19:59 -07:00
2026-10-17 13:30:32 -04:00
2026-10-25 19:17:30 -04:00
2026-10-25 19:17:30 -04:00
2026-10-29 16:58:09 +05:30
2026-10-18 01:12:29 -04:00
2026-10-20 05:30:29 -07:00
2026-10-25 19:14:26 -04:00
2026-10-20 15:05:14 +05:30
2026-10-17 14:51:46 -07:00
2026-10-27 16:30:14 +05:30
2026-10-19 11:56:22 -07:00
2026-10-19 07:12:58 -07:00
2026-10-27 16:30:14 +05:30
2026-10-29 16:58:09 +05:30
2026-10-25 17:51:21 -07:00
2026-10-25 17:51:21 -07:00
2026-10-19 03:41:28 -07:00
2026-10-23 23:25:17 +05:30
2026-10-25 19:18:26 -04:00
2026-10-18 03:24:34 -07:00
2026-10-25 19:17:30 -04:00
2026-10-25 19:39:07 -07:00
2026-10-27 16:30:14 +05:30
2026-10-20 03:08:38 -07:00
2026-10-29 16:58:09 +05:30
2026-10-28 17:06:43 +05:30
2026-10-20 03:08:38 -07:00
2026-10-28 17:06:43 +05:30
2026-10-28 20:40:14 -07:00
2026-10-20 03:08:38 -07:00
2026-10-26 01:28:50 -07:00
2026-10-18 02:11:06 -07:00
2026-10-29 16:58:09 +05:30
2026-10-27 12:13:49 -07:00
2026-10-27 12:13:49 -07:00
2026-10-25 18:12:33 -07:00
2026-10-20 15:08:20 +05:30
2026-10-19 05:43:16 -07:00
2026-10-28 07:48:11 -07:00
2026-10-27 17:33:48 -07:00
2026-10-23 17:40:33 -07:00
2026-10-20 18:08:50 +05:30
2026-10-25 03:01:26 -07:00
2026-10-25 18:54:09 -07:00
2026-10-27 16:03:08 -07:00
2026-10-25 19:39:07 -07:00
2026-10-25 18:12:27 -07:00
2026-10-27 12:44:44 -07:00
2026-10-26 00:32:11 -07:00
2026-10-25 22:28:34 -07:00
2026-10-27 12:44:44 -07:00
2026-10-27 17:33:48 -07:00
2026-10-26 19:05:08 -07:00
2026-10-25 17:50:59 -07:00
2026-10-25 18:05:41 -07:00
2026-10-25 17:50:59 -07:00
2026-10-25 18:12:27 -07:00
2026-10-27 16:03:08 -07:00
2026-10-28 18:55:56 -07:00
2026-10-23 06:08:24 +05:30
2026-10-28 18:55:56 -07:00
2026-10-23 23:25:17 +05:30
2026-10-25 18:54:09 -07:00
2026-10-24 19:56:21 -07:00
2026-10-22 14:37:10 -07:00
2026-10-18 01:27:20 -07:00
2026-10-28 17:21:32 -07:00
2026-10-25 22:22:46 -07:00
2026-10-18 03:27:52 -07:00
2026-10-26 00:40:32 -07:00
2026-10-25 05:10:15 -07:00
2026-10-26 00:32:10 -07:00
2026-10-28 19:00:07 -07:00
2026-10-18 02:45:04 -07:00
2026-10-19 07:09:56 -07:00
2026-10-19 07:09:56 -07:00
2026-10-28 23:07:47 -07:00
2026-10-28 23:07:47 -07:00
2026-10-25 21:57:29 -07:00
2026-10-24 04:01:10 -07:00
2026-10-23 10:01:05 -07:00
2026-10-25 03:01:26 -07:00
2026-10-20 14:33:55 +05:30
2026-10-24 19:56:21 -07:00
2026-10-28 19:00:07 -07:00
2026-10-28 17:21:32 -07:00
2026-10-28 19:53:28 -07:00
2026-10-19 07:09:56 -07:00
2026-10-23 02:22:46 -07:00
2026-10-23 02:22:46 -07:00
2026-10-28 17:21:32 -07:00
2026-10-24 04:01:10 -07:00
2026-10-27 17:33:48 -07:00
2026-10-25 06:18:48 -07:00
2026-10-25 06:18:48 -07:00
2026-10-24 04:01:10 -07:00
2026-10-28 13:09:00 -07:00
2026-10-20 14:33:55 +05:30
2026-10-28 19:00:07 -07:00
2026-10-19 07:27:50 -07:00
2026-10-24 04:01:10 -07:00
2026-10-21 08:26:29 -07:00
2026-10-23 02:22:46 -07:00
2026-10-25 06:18:48 -07:00
2026-10-23 01:43:17 -07:00
2026-10-29 16:58:09 +05:30
2026-10-29 16:58:09 +05:30
2026-10-25 18:54:09 -07:00
2026-10-27 17:33:48 -07:00
2026-10-25 18:54:09 -07:00
2026-10-25 18:54:09 -07:00
2026-10-27 17:33:48 -07:00
2026-10-25 05:45:51 -07:00
2026-10-20 05:46:50 -07:00
2026-10-27 17:33:48 -07:00
2026-10-24 17:11:13 -07:00
2026-10-25 19:39:07 -07:00
2026-10-28 08:27:39 -07:00
2026-10-27 17:33:48 -07:00
2026-10-25 23:30:51 -04:00
2026-10-25 23:30:51 -04:00
2026-10-25 17:49:10 -04:00
2026-10-26 01:34:59 -07:00
2026-10-26 00:32:11 -07:00
2026-10-27 18:24:44 -07:00
2026-10-25 18:54:09 -07:00
2026-10-18 04:26:53 -07:00
2026-10-25 03:22:19 -07:00
2026-10-25 22:36:59 -07:00
2026-10-28 19:30:48 -07:00
2026-10-25 21:57:29 -07:00
2026-10-25 18:12:33 -07:00
2026-10-24 18:56:06 -07:00
2026-10-23 01:41:25 -07:00
2026-10-22 05:26:10 -07:00
2026-10-22 22:29:09 -07:00
2026-10-18 00:47:38 -07:00
2026-10-18 00:47:38 -07:00
2026-10-27 07:53:07 -07:00
2026-10-27 13:23:31 -07:00
2026-10-26 18:14:35 -04:00
2026-10-25 03:22:33 -07:00
2026-10-27 12:57:09 -07:00
2026-10-18 03:28:00 -07:00
2026-10-27 16:30:14 +05:30
2026-10-24 18:56:06 -07:00
2026-10-23 01:41:25 -07:00
2026-10-23 01:41:25 -07:00
2026-10-28 13:10:38 -07:00
2026-10-28 13:10:38 -07:00
2026-10-20 15:08:20 +05:30
2026-10-27 14:02:54 -07:00
2026-10-25 21:57:29 -07:00
2026-10-19 02:48:18 +05:30
2026-10-25 18:54:09 -07:00
2026-10-27 13:23:31 -07:00
2026-10-25 18:54:09 -07:00
2026-10-20 05:30:29 -07:00
2026-10-25 07:54:16 -07:00
2026-10-25 07:54:16 -07:00
2026-10-27 07:53:07 -07:00
2026-10-21 16:57:37 -07:00
2026-10-25 17:51:21 -07:00
2026-10-29 16:58:09 +05:30
2026-10-27 16:30:14 +05:30
2026-10-25 03:22:14 -07:00
2026-10-27 13:23:31 -07:00
2026-10-29 16:58:09 +05:30
2026-10-29 16:58:09 +05:30
2026-10-22 18:57:17 -04:00
2026-10-25 07:54:16 -07:00
2026-10-19 02:48:18 +05:30
2026-10-28 18:53:42 -07:00
2026-10-21 16:57:37 -07:00
2026-10-27 13:23:31 -07:00
2026-10-27 07:53:07 -07:00
2026-10-21 00:16:22 -07:00
2026-10-19 02:48:18 +05:30
2026-10-29 16:58:09 +05:30
2026-10-25 05:45:51 -07:00
2026-10-27 07:53:07 -07:00
2026-10-25 17:50:59 -07:00
2026-10-25 18:12:33 -07:00
2026-10-17 21:49:14 -07:00
2026-10-26 18:15:06 -04:00
2026-10-25 03:22:14 -07:00
2026-10-28 19:40:40 -07:00
2026-10-25 03:22:41 -07:00
2026-10-25 03:22:23 -07:00
2026-10-25 11:29:33 -04:00
2026-10-27 20:35:30 -07:00
2026-10-28 19:40:40 -07:00
2026-10-27 20:44:23 -07:00
2026-10-25 03:22:14 -07:00
2026-10-26 18:13:41 -04:00
2026-10-25 23:31:32 -04:00
2026-10-29 16:58:09 +05:30
2026-10-25 18:12:33 -07:00
2026-10-25 03:01:26 -07:00
2026-10-25 17:50:59 -07:00
2026-10-26 00:32:11 -07:00
2026-10-18 03:27:52 -07:00
2026-10-27 10:56:48 -04:00
2026-10-25 23:31:32 -04:00
2026-10-28 12:18:46 -04:00
2026-10-27 17:32:49 -07:00
2026-10-27 20:55:07 -07:00
2026-10-27 14:02:54 -07:00
2026-10-28 13:49:47 -04:00
2026-10-25 03:22:36 -07:00
2026-10-25 03:22:40 -07:00
2026-10-21 10:08:33 -04:00
2026-10-25 23:32:04 -04:00
2026-10-27 09:42:22 -04:00
2026-10-27 20:44:23 -07:00
2026-10-28 07:25:35 -07:00
2026-10-25 03:22:37 -07:00
2026-10-27 09:42:22 -04:00
2026-10-22 13:43:01 +05:30
2026-10-25 03:22:14 -07:00
2026-10-24 10:28:47 +02:00
2026-10-17 21:49:14 -07:00
2026-10-17 21:49:14 -07:00
2026-10-17 21:49:14 -07:00
2026-10-25 07:53:55 -07:00
2026-10-25 17:51:21 -07:00
2026-10-17 21:49:14 -07:00
2026-10-17 21:49:14 -07:00
2026-10-17 21:49:14 -07:00
2026-10-27 17:33:48 -07:00