David Dudok de Wit
fdc3d4517b
fix(api): keep an API session's id after compression exhaustion
...
An API conversation whose turn exhausted compression got the messaging
auto-reset, which rotated its route to a fresh session id. Every API
door re-checks the id its caller addresses (restore_api_session), so
the session-chat door's re-run and every later request to that id were
refused with admission_conflict (HTTP 500 on /api/sessions/{id}/chat,
the `hermes peer dm` transport).
- The compression-exhaustion reset skips API_SERVER sources; the caller
gets the typed compression_exhausted result and keeps its id.
Every other platform keeps the reset.
- The session-chat door's re-run records resume_unanswered on its
admission, and the turn adopts the row the failed attempt persisted
(adopt_unanswered_turn), as the in-process door does (#115325 ),
instead of storing the message a second time. It adopts only a bare
user tail: a re-run after a completed tool keeps that tool's calls
and results in its history, as before.
Refs #134889
Fixes #140365
(cherry picked from commit 5103e6b359d7c0f4a01e74aae57554a41a430e8d)
2026-10-18 03:27:59 -07:00
..
2026-10-17 04:23:04 -07:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-16 14:18:18 -07:00
2026-10-15 08:34:18 -07:00
2026-10-10 15:20:13 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-08 19:54:07 +02:00
2026-10-15 05:23:51 -07:00
2026-10-08 17:22:54 +02:00
2026-10-07 10:57:32 -07:00
2026-10-14 00:29:11 +05:30
2026-10-17 13:29:00 -04:00
2026-10-07 00:07:02 -05:00
2026-10-07 18:15:29 +05:30
2026-10-17 14:25:35 -04:00
2026-09-30 20:01:49 +05:30
2026-10-12 19:19:55 +05:30
2026-10-12 19:19:55 +05:30
2026-10-10 19:22:07 -07:00
2026-10-16 14:21:39 -07:00
2026-10-10 19:22:07 -07:00
2026-10-10 19:22:07 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:34:38 +02:00
2026-09-29 23:54:34 +05:30
2026-10-08 17:22:54 +02:00
2026-10-03 13:38:29 -07:00
2026-10-08 17:22:54 +02:00
2026-10-17 13:31:15 -04:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-15 16:26:05 +05:30
2026-10-07 13:20:42 +05:30
2026-10-08 17:22:54 +02:00
2026-10-16 15:21:07 -04:00
2026-10-05 23:33:41 -07:00
2026-10-08 17:22:54 +02:00
2026-10-16 15:21:07 -04:00
2026-10-08 12:09:24 -07:00
2026-10-16 14:18:50 -07:00
2026-10-02 16:44:56 -07:00
2026-10-15 16:26:05 +05:30
2026-10-17 07:23:06 -07:00
2026-10-09 17:34:38 +02:00
2026-10-13 05:15:48 -07:00
2026-10-08 19:28:23 +02:00
2026-10-17 04:23:13 -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-10 19:22:07 -07:00
2026-10-17 04:25:00 -07:00
2026-10-16 18:05:39 -04:00
2026-10-16 15:21:07 -04:00
2026-10-16 15:21:07 -04:00
2026-10-08 17:22:54 +02:00
2026-10-11 20:10:06 -07:00
2026-10-10 19:22:07 -07:00
2026-10-08 17:22:54 +02:00
2026-10-16 08:38:51 -07:00
2026-10-11 21:41:22 -07:00
2026-10-15 15:15:31 +05:30
2026-10-17 07:23:06 -07:00
2026-10-08 17:22:54 +02:00
2026-10-18 02:31:09 -07:00
2026-10-10 04:27:27 -07:00
2026-10-02 00:50:20 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 10:57:33 -07:00
2026-10-16 14:18:50 -07:00
2026-10-14 14:56:35 -07:00
2026-10-10 04:27:27 -07:00
2026-10-18 02:31:09 -07:00
2026-10-09 14:25:07 -07:00
2026-10-09 17:34:38 +02:00
2026-10-14 20:38:25 -04:00
2026-10-08 17:22:54 +02:00
2026-10-16 07:26:28 -07:00
2026-10-10 04:27:27 -07:00
2026-10-16 15:21:07 -04:00
2026-10-08 17:22:54 +02:00
2026-10-10 20:18:10 +05:30
2026-10-16 17:06:08 -04:00
2026-10-09 19:31:10 -07:00
2026-10-10 17:47:35 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-10 17:59:08 -07:00
2026-10-17 13:29:00 -04:00
2026-10-17 07:23:06 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:28:23 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:36 +02:00
2026-10-17 13:29:00 -04:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-16 02:24:46 -07:00
2026-10-08 17:22:54 +02:00
2026-10-10 20:44:53 -07:00
2026-10-17 14:46:41 +05:30
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-11 21:41:22 -07:00
2026-10-12 03:18:48 -07:00
2026-10-13 12:44:39 -07:00
2026-10-13 12:44:39 -07:00
2026-10-08 17:22:54 +02:00
2026-10-07 03:07:33 +05:30
2026-10-08 19:54:07 +02:00
2026-10-08 19:54:07 +02:00
2026-10-16 14:21:39 -07:00
2026-10-09 15:36:14 -04:00
2026-10-16 14:36:03 -07:00
2026-10-08 19:54:07 +02:00
2026-10-08 17:22:54 +02:00
2026-10-17 13:28:18 -04:00
2026-10-14 20:47:20 -04:00
2026-10-17 14:25:35 -04:00
2026-10-09 17:34:38 +02:00
2026-10-08 17:22:54 +02:00
2026-10-01 09:26:00 -04:00
2026-10-08 12:09:24 -07:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:36 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-16 15:21:07 -04:00
2026-10-16 22:10:26 +02:00
2026-10-08 17:22:54 +02:00
2026-10-17 13:28:18 -04:00
2026-10-17 13:28:18 -04:00
2026-10-17 13:28:18 -04:00
2026-10-17 13:28:18 -04:00
2026-10-16 14:35:30 -07:00
2026-10-15 00:10:16 +05:30
2026-10-10 20:18:10 +05:30
2026-10-17 04:23:13 -07:00
2026-10-15 22:25:22 +02:00
2026-10-16 15:21:07 -04:00
2026-10-16 15:21:07 -04: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-14 00:06:58 +05:30
2026-10-08 17:22:54 +02:00
2026-10-13 22:08:20 +05:30
2026-10-14 00:06:58 +05:30
2026-10-14 00:06:58 +05:30
2026-10-14 00:06:58 +05:30
2026-10-14 00:06:58 +05:30
2026-10-14 00:29:11 +05:30
2026-10-09 02:10:47 -07:00
2026-10-08 17:22:54 +02:00
2026-10-09 10:24:04 -07:00
2026-10-09 17:34:38 +02:00
2026-10-07 03:46:20 -07:00
2026-10-14 00:06:58 +05:30
2026-10-09 17:31:52 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 17:22:54 +02:00
2026-10-17 13:29:00 -04:00
2026-10-11 20:10:06 -07:00
2026-10-16 19:42:34 -07:00
2026-10-09 17:34:38 +02:00
2026-10-06 12:31:21 -07:00
2026-10-17 04:23:13 -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-09 17:31:52 +02:00
2026-10-10 19:22:07 -07:00
2026-10-13 12:04:33 -07:00
2026-10-10 19:22:07 -07:00
2026-10-06 13:01:39 +05:30
2026-10-14 12:42:16 -04:00
2026-10-17 09:11:41 -07:00
2026-10-10 04:27:27 -07:00
2026-10-09 17:34:38 +02:00
2026-10-10 04:27:27 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 17:22:54 +02:00
2026-10-16 15:21:07 -04:00
2026-10-10 19:22:07 -07:00
2026-10-08 19:08:58 -07:00
2026-10-08 19:08:58 -07:00
2026-10-17 08:03:52 -07:00
2026-10-08 19:08:59 -07:00
2026-09-29 14:53:00 -05:00
2026-10-09 17:34:38 +02:00
2026-10-15 22:25:22 +02:00
2026-10-16 17:49:54 -04:00
2026-10-18 03:27:59 -07:00
2026-10-07 06:48:09 -07:00
2026-10-18 03:24:34 -07:00
2026-10-08 17:22:54 +02:00
2026-10-15 21:01:31 +02:00
2026-10-18 00:47:38 -07:00
2026-10-09 18:18:41 -07:00
2026-10-08 12:09:24 -07:00
2026-10-09 19:31:10 -07:00
2026-10-16 15:21:07 -04:00
2026-10-18 06:04:35 +05:30
2026-10-02 04:09:57 -07:00
2026-10-17 13:28:18 -04:00
2026-10-08 19:54:07 +02:00
2026-10-12 13:11:06 -07:00
2026-10-08 12:09:24 -07:00
2026-10-08 17:22:54 +02:00
2026-10-16 19:42:34 -07:00
2026-10-17 04:23:31 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-08 19:54:07 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-01 23:50:31 -07:00
2026-10-14 14:09:29 -07:00
2026-10-17 13:28:18 -04:00
2026-10-09 17:34:38 +02:00
2026-10-10 15:20:13 +02:00
2026-10-08 21:29:48 +02:00
2026-10-08 17:22:54 +02:00
2026-10-09 17:34:38 +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-10-10 06:49:02 -07:00
2026-10-17 13:28:18 -04:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-14 20:47:20 -04:00
2026-10-08 21:29:48 +02:00
2026-10-17 14:46:41 +05:30
2026-10-08 17:22:54 +02:00
2026-10-17 14:25:35 -04: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-10 04:27:27 -07:00
2026-10-10 04:27:27 -07:00
2026-10-08 17:22:54 +02:00
2026-10-10 19:22:07 -07:00
2026-10-10 19:22:07 -07:00
2026-10-16 14:21:39 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-07 06:41:07 +05:30
2026-10-14 00:29:11 +05:30
2026-10-17 04:23:04 -07:00
2026-10-08 19:54:07 +02:00
2026-10-13 22:08:20 +05:30
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00
2026-10-13 12:44:39 -07:00
2026-10-08 17:22:54 +02:00
2026-10-13 12:04:33 -07:00
2026-10-09 17:34:38 +02:00
2026-10-17 08:03:52 -07:00
2026-10-09 17:34:36 +02:00
2026-10-17 07:23:06 -07:00
2026-10-08 17:22:54 +02:00
2026-10-08 21:29:48 +02:00
2026-10-17 13:29:00 -04:00
2026-10-08 17:22:54 +02:00
2026-10-08 17:22:54 +02:00