kshitijk4poor
31a161a6d2
fix(profiles): plugin cache and state writers never recreate a deleted profile home
...
Four writers under get_hermes_home() still created their directory with a raw
mkdir(parents=True). A gateway or plugin process bound to a named profile that
was deleted or renamed meanwhile brought profiles/<name>/ back on its next
write (probed on #158270 's head by @xytxg and @BearHuddleston; tracker #155595 U3).
They now go through mkdir_under_hermes_home, the #158270 boundary:
- plugin host extraction cache (cache/plugin_host/model-providers/*.json):
skipped, and the extracted payload is still returned;
- Discord slash-command sync state: the path helper no longer creates the
dir. Reads need none, and the write's atomic_json_write already creates it
through the boundary. A refused write ends in the sync's existing
"Slash command sync failed" warning;
- Google Chat bot-id cache and the router catalog disk mirror: their
existing OSError / Exception handlers turn the refusal into a skip.
Each gets a delete+rename regression that fails on main and on a raw-mkdir
mutant.
Co-authored-by: BearHuddleston <196404565+BearHuddleston@users.noreply.github.com >
2026-11-23 15:16:35 +05:30
..
2026-11-21 10:51:02 -05:00
2026-11-20 00:30:20 -08:00
2026-11-21 10:51:02 -05:00
2026-11-21 10:36:15 -05:00
2026-11-21 11:33:14 -05:00
2026-11-19 12:35:40 +01:00
2026-11-17 21:09:24 +01:00
2026-11-19 11:00:21 -08:00
2026-11-21 10:51:02 -05:00
2026-11-17 21:09:24 +01:00
2026-11-17 21:09:24 +01:00
2026-11-18 20:35:45 -08:00
2026-11-18 15:12:51 +01:00
2026-11-18 15:12:51 +01:00
2026-11-17 17:51:23 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:22 +01:00
2026-11-17 19:10:57 +01:00
2026-11-17 17:51:24 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 21:42:04 -06:00
2026-11-19 18:12:39 -05:00
2026-11-18 03:40:34 -08:00
2026-11-18 03:40:34 -08:00
2026-11-21 10:36:15 -05:00
2026-11-21 10:51:02 -05:00
2026-11-21 10:36:15 -05:00
2026-11-21 10:36:15 -05:00
2026-11-21 10:25:01 -05:00
2026-11-21 10:25:01 -05:00
2026-11-21 10:25:01 -05:00
2026-11-21 10:25:01 -05:00
2026-11-22 03:07:57 +05:30
2026-11-17 17:51:24 +01:00
2026-11-17 19:10:57 +01:00
2026-11-17 19:10:57 +01:00
2026-11-17 19:10:57 +01:00
2026-11-21 10:51:02 -05:00
2026-11-21 10:51:02 -05:00
2026-11-21 10:51:02 -05:00
2026-11-21 10:51:02 -05:00
2026-11-21 10:51:02 -05:00
2026-11-21 10:51:02 -05:00
2026-11-21 10:36:33 -05:00
2026-11-21 11:33:14 -05:00
2026-11-21 10:36:33 -05:00
2026-11-21 10:36:33 -05:00
2026-11-21 10:51:02 -05:00
2026-11-21 10:51:02 -05:00
2026-11-19 10:48:12 -08:00
2026-11-17 19:10:41 +01:00
2026-11-19 10:48:12 -08:00
2026-11-17 17:51:22 +01:00
2026-11-17 17:51:22 +01:00
2026-11-17 17:51:23 +01:00
2026-11-22 01:20:05 -08:00
2026-11-23 14:29:48 +05:30
2026-11-19 02:35:54 -06:00
2026-11-19 02:35:54 -06:00
2026-11-22 15:50:29 +05:30
2026-11-17 21:42:04 -06:00
2026-11-19 14:20:18 +01:00
2026-11-19 14:20:19 +01:00
2026-11-17 19:10:57 +01:00
2026-11-17 21:42:04 -06:00
2026-11-18 15:12:51 +01:00
2026-11-17 19:10:59 +01:00
2026-11-23 15:16:35 +05:30
2026-11-19 23:56:47 -08:00
2026-11-22 02:17:23 +05:30
2026-11-22 02:17:23 +05:30
2026-11-22 15:50:29 +05:30
2026-11-21 10:51:02 -05:00
2026-11-20 17:36:20 +05:30
2026-11-22 15:50:29 +05:30
2026-11-22 11:43:13 +05:30
2026-11-23 14:29:48 +05:30
2026-11-20 17:23:04 +05:30
2026-11-18 15:12:51 +01:00
2026-11-21 10:51:02 -05:00
2026-11-20 11:28:21 -06:00
2026-11-17 19:10:57 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 19:10:57 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-19 10:48:12 -08:00
2026-11-19 10:48:12 -08:00
2026-11-17 17:51:20 +01:00
2026-11-20 14:42:55 -06:00
2026-11-20 11:28:21 -06:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-18 08:52:55 -06:00
2026-11-20 11:28:21 -06:00
2026-11-17 19:10:57 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-21 16:54:29 -08:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-20 11:28:21 -06:00
2026-11-19 10:37:07 -08:00
2026-11-19 10:36:37 -08:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:22 +01:00
2026-11-21 12:03:32 -05:00
2026-11-20 17:36:20 +05:30
2026-11-17 17:51:20 +01:00
2026-11-21 12:03:32 -05:00
2026-11-21 18:00:18 +05:30
2026-11-17 17:51:20 +01:00
2026-11-21 11:33:14 -05:00
2026-11-20 16:38:37 +05:30
2026-11-17 19:10:57 +01:00
2026-11-21 11:33:14 -05:00
2026-11-17 17:51:20 +01:00
2026-11-19 18:12:39 -05:00
2026-11-20 15:44:41 +05:30
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-21 14:49:36 -08:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-18 15:12:51 +01:00
2026-11-20 11:19:26 -05:00
2026-11-20 11:19:26 -05:00
2026-11-20 11:19:26 -05:00
2026-11-22 03:07:57 +05:30
2026-11-17 17:51:20 +01:00
2026-11-17 17:51:20 +01:00
2026-11-19 10:48:12 -08:00
2026-11-17 17:51:20 +01:00