Teknium
932952d9d3
fix(rooms): bind room owner claim to the room insert transaction
...
Canonical groups.create called authorize_room(create=True) before the
roster/name/target validation and in its own write transaction. A
rejected create (e.g. empty member list -> invalid_params, or a storage
error during the insert) therefore committed a durable
gateway.hosted.owner.v1:<room> row with no hosted_rooms row, and every
other actor's later valid create of that id returned permission_denied.
authorize_room now accepts the caller's connection, and create_room takes
an admit(conn) hook that runs inside its BEGIN IMMEDIATE after payload
validation. groups.create passes the owner claim through that hook on
both the driver and metadata-only paths, so the owner row and room row
commit or roll back together. First-writer fencing is unchanged: the
claim still reads the owner row under the same write lock, so of two
concurrent valid creators exactly one wins.
Review: https://github.com/NousResearch/hermes-agent/pull/106742#pullrequestreview-5464799967
(cherry picked from commit bf3690cab39c02660fa964fe36244eeaccc52ff6)
2026-10-09 02:10:47 -07:00
..
2026-10-08 21:38:54 -07:00
2026-10-08 21:38:54 -07:00
2026-10-08 17:22:54 +02:00
2026-10-06 14:24:24 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-02 00:46:21 +05:30
2026-10-08 17:22:54 +02:00
2026-09-20 20:13:19 -07:00
2026-10-08 17:22:54 +02:00
2026-10-04 00:08:20 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:08:58 -07:00
2026-10-07 18:20:07 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 21:29:48 +02:00
2026-10-08 17:22:54 +02:00
2026-10-04 00:08:20 -07:00
2026-09-24 11:50:30 -04:00
2026-10-08 17:22:54 +02:00
2026-10-06 14:24:24 -07:00
2026-10-08 17:22:54 +02:00
2026-09-28 13:30:57 -07:00
2026-10-08 09:10:49 -07:00
2026-10-06 14:24:24 -07:00
2026-10-06 14:24:24 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-13 12:27:55 -07:00
2026-09-28 10:21:41 -07:00
2026-10-07 10:57:33 -07:00
2026-09-13 05:08:29 -07:00
2026-09-17 00:15:35 -07:00
2026-10-09 02:10:47 -07:00
2026-10-02 22:21:27 -05:00
2026-10-02 22:21:27 -05:00
2026-10-02 22:21:27 -05:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-17 13:52:05 -04:00
2026-10-08 21:29:48 +02:00
2026-10-04 00:08:20 -07:00
2026-10-08 17:22:54 +02:00
2026-09-23 21:26:49 +05:30
2026-10-06 23:16:59 -07:00
2026-10-08 17:22:54 +02:00
2026-10-05 19:39:09 +05:30
2026-09-22 07:05:11 -04:00
2026-10-08 12:09:24 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 19:08:58 -07:00
2026-10-08 19:08:58 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-20 15:30:45 -07:00
2026-10-08 12:09:24 -07:00
2026-09-22 16:15:34 +05:30
2026-09-17 20:56:27 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 12:12:56 -07:00
2026-10-05 01:26:23 -07:00
2026-09-28 14:16:18 -07:00
2026-10-08 12:09:24 -07:00
2026-10-07 10:57:34 -07:00
2026-10-08 12:09:24 -07:00
2026-10-06 16:21:13 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-07 10:57:34 -07:00
2026-10-08 19:08:57 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-09-13 20:52:02 -07:00
2026-10-06 14:24:24 -07:00
2026-10-08 01:39:21 -07:00
2026-10-08 19:09:34 -07:00
2026-10-08 09:10:26 -07:00
2026-09-28 14:16:18 -07:00
2026-10-04 11:58:00 +05:30
2026-10-08 19:09:33 -07:00
2026-10-08 21:38:54 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 21:38:54 -07:00
2026-10-07 23:44:54 -07:00
2026-10-08 19:08:58 -07:00
2026-10-08 19:28:23 +02:00
2026-10-08 19:08:58 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 09:10:49 -07:00
2026-10-06 21:58:26 -07:00
2026-10-08 09:10:50 -07:00
2026-10-07 03:28:22 -07:00
2026-10-06 16:21:15 -07:00
2026-10-08 19:09:34 -07:00
2026-10-08 09:10:27 -07:00
2026-10-08 19:08:57 -07:00
2026-10-09 02:10:47 -07:00
2026-10-07 20:47:56 -07:00
2026-10-08 13:53:57 -07:00
2026-10-08 19:09:32 -07:00
2026-10-08 19:09:35 -07:00
2026-10-06 18:52:44 -07:00
2026-10-08 19:08:59 -07:00
2026-10-08 19:08:58 -07:00
2026-10-08 19:08:59 -07:00
2026-09-28 04:34:30 -07:00
2026-10-06 23:16:59 -07:00
2026-10-08 09:10:28 -07:00
2026-10-08 09:10:37 -07:00
2026-09-27 03:12:41 -07:00
2026-10-09 02:10:47 -07:00
2026-10-08 19:08:59 -07:00
2026-10-08 19:08:57 -07:00
2026-10-09 02:10:47 -07:00
2026-10-08 19:08:57 -07:00
2026-09-23 03:25:31 -07:00
2026-09-23 19:14:39 -07:00
2026-10-08 19:08:59 -07:00
2026-10-08 19:09:40 -07:00
2026-10-08 19:08:59 -07:00
2026-09-28 04:34:30 -07:00
2026-10-08 21:04:38 -07:00
2026-09-24 04:14:06 -07:00
2026-10-08 12:07:01 -07:00
2026-10-08 19:08:59 -07:00
2026-10-08 19:08:59 -07:00
2026-10-06 14:25:21 -07:00
2026-10-08 21:37:52 -07:00
2026-10-08 19:09:35 -07:00
2026-10-06 11:58:01 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 19:08:59 -07:00
2026-10-08 17:22:54 +02:00
2026-10-07 10:57:34 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 09:10:49 -07:00
2026-10-08 13:53:57 -07:00
2026-10-09 02:10:47 -07:00
2026-09-15 04:12:13 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:08:59 -07:00
2026-10-08 09:10:26 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:08:59 -07:00
2026-10-08 09:10:50 -07:00
2026-10-08 09:10:26 -07:00
2026-10-08 09:10:26 -07:00
2026-10-08 21:38:54 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 12:09:24 -07:00
2026-10-08 19:54:07 +02:00
2026-09-20 13:37:10 -07:00
2026-09-28 14:16:18 -07:00
2026-09-28 14:16:18 -07:00
2026-10-03 16:29:34 +05:30
2026-10-08 04:11:24 -07:00
2026-10-08 19:28:23 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 21:38:54 -07:00
2026-09-28 10:21:41 -07:00
2026-09-26 11:24:50 -07:00
2026-09-13 05:20:26 -07:00
2026-09-28 12:43:03 -07:00
2026-10-06 14:24:24 -07:00
2026-09-28 10:21:41 -07:00
2026-10-08 19:54:07 +02:00
2026-10-08 17:22:54 +02:00
2026-09-28 10:21:41 -07:00
2026-09-20 00:09:14 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-09-18 09:46:35 -07:00
2026-09-18 01:43:35 +05:30
2026-10-08 17:22:54 +02:00