PRATHAMESH75
e45f2b39e2
fix(codex): clamp oversized Responses call_id so MCP tools don't brick sessions ( #73492 )
...
The codex app-server namespaces MCP tool call ids as
codex_mcp__<server>__<tool>_<codex_call_id>. With an exec-<uuid> component the
built-in hermes-tools server alone overflows the Responses API's 64-char
call_id limit, so the request 400s with a non-retryable "string too long".
The offending item sits near the head of the transcript and replays every
turn, permanently bricking the session — the only recovery is /reset.
Sibling defect to #10788 , which clamped input[*].id via
_MAX_RESPONSES_ITEM_ID_LENGTH. Apply the same treatment to call_id at both
Responses emit sites in _chat_messages_to_responses_input: a deterministic
surrogate (call_ + sha256[:32]) for ids over the limit, short ids unchanged.
Because the surrogate is a pure function of the original id, a function_call
and its matching function_call_output — which carry the same original id — map
to the same surrogate and stay paired without correlating the two items.
2026-07-29 00:47:54 +05:30
..
2026-07-20 13:43:36 -04:00
2026-07-24 15:54:08 -07:00
2026-07-26 19:29:51 -07:00
2026-07-20 08:47:55 -07:00
2026-07-24 15:54:38 -07:00
2026-07-26 19:30:08 -07:00
2026-07-28 18:47:54 +05:30
2026-07-25 14:58:04 -07:00
2026-07-26 22:33:06 -07:00
2026-07-27 21:10:51 -07:00
2026-07-17 09:08:30 -07:00
2026-07-26 23:41:54 -07:00
2026-07-21 13:54:11 -05:00
2026-07-23 11:45:07 -07:00
2026-07-20 03:27:38 -07:00
2026-07-27 21:10:51 -07:00
2026-07-22 18:08:59 -05:00
2026-07-18 14:30:24 +05:30
2026-07-27 01:49:43 +05:30
2026-07-18 21:20:48 -04:00
2026-07-28 20:04:58 +05:30
2026-07-17 06:49:47 -07:00
2026-07-22 12:02:40 -05:00
2026-07-29 00:47:54 +05:30
2026-07-17 13:44:12 -07:00
2026-07-17 04:46:59 -07:00
2026-07-22 08:11:40 -07:00
2026-07-28 20:04:58 +05:30
2026-07-23 08:19:14 -07:00
2026-07-22 16:58:35 -07:00
2026-07-23 08:08:48 -07:00
2026-07-24 15:57:09 -07:00
2026-07-22 08:13:41 -07:00
2026-07-28 00:15:00 +05:00
2026-07-22 06:56:42 -07:00
2026-07-22 11:19:37 +05:30
2026-07-24 16:00:34 -07:00
2026-07-28 20:04:58 +05:30
2026-07-22 08:10:47 -07:00
2026-07-22 11:46:05 +05:30
2026-07-20 11:58:50 +05:30
2026-07-22 06:57:22 -07:00
2026-07-26 18:06:21 -07:00
2026-07-22 06:56:53 -07:00
2026-07-23 16:27:06 -07:00
2026-07-22 06:56:53 -07:00
2026-07-28 20:04:58 +05:30
2026-07-23 19:44:35 -07:00
2026-07-23 19:44:35 -07:00
2026-07-23 16:44:12 -07:00
2026-07-27 22:55:18 -05:00
2026-07-24 17:10:39 -07:00
2026-07-17 13:08:46 -04:00
2026-07-24 22:58:47 +05:30
2026-07-24 15:50:36 -07:00
2026-07-23 09:31:58 -07:00
2026-07-28 11:21:44 -07:00
2026-07-28 11:21:44 -07:00
2026-07-18 14:30:24 +05:30
2026-07-18 02:31:20 -07:00
2026-07-23 17:57:33 +05:30
2026-07-18 12:28:59 -07:00
2026-07-23 17:38:05 +05:30
2026-07-23 07:25:08 -07:00
2026-07-27 20:27:56 -07:00
2026-07-28 01:10:05 +05:30
2026-07-17 05:45:12 -07:00
2026-07-19 14:58:59 +05:30
2026-07-23 17:26:24 -07:00
2026-07-26 20:59:16 -07:00
2026-07-26 20:58:57 -07:00
2026-07-23 16:58:06 -07:00
2026-07-22 16:51:01 -04:00
2026-07-23 08:08:48 -07:00
2026-07-22 09:14:11 -07:00
2026-07-23 08:32:09 -07:00
2026-07-19 12:21:59 -07:00
2026-07-23 08:19:14 -07:00
2026-07-17 04:55:58 -07:00
2026-07-24 13:00:53 +05:30
2026-07-20 02:25:44 -07:00
2026-07-23 16:17:27 -07:00
2026-07-23 18:11:57 -07:00
2026-07-23 18:40:09 -07:00
2026-07-23 18:40:09 -07:00
2026-07-23 11:20:54 -07:00
2026-07-23 16:17:27 -07:00
2026-07-23 11:21:04 -07:00
2026-07-20 11:05:52 -07:00
2026-07-18 14:30:24 +05:30
2026-07-27 11:53:48 -04:00
2026-07-24 17:10:39 -07:00
2026-07-25 22:15:00 -07:00
2026-07-28 20:04:58 +05:30
2026-07-23 16:23:57 -07:00
2026-07-23 16:44:12 -07:00
2026-07-23 16:44:12 -07:00
2026-07-23 11:55:01 -07:00
2026-07-28 20:04:58 +05:30
2026-07-23 07:25:33 -07:00
2026-07-27 23:09:47 +05:00
2026-07-26 20:59:11 -07:00
2026-07-28 09:58:43 -07:00
2026-07-27 21:10:51 -07:00
2026-07-28 19:06:59 +05:30
2026-07-21 12:11:31 +05:30
2026-07-22 04:39:17 -07:00
2026-07-22 10:00:39 +05:30
2026-07-26 02:58:12 -05:00
2026-07-26 20:59:26 -07:00
2026-07-22 07:00:16 -07:00
2026-07-17 18:31:09 +00:00
2026-07-26 23:27:30 -07:00
2026-07-26 20:36:47 -07:00
2026-07-22 08:11:09 +05:30
2026-07-24 15:48:23 -07:00
2026-07-24 15:48:23 -07:00
2026-07-28 03:54:16 -05:00
2026-07-28 01:10:05 +05:30
2026-07-24 16:01:38 -07:00
2026-07-17 20:55:24 +00:00
2026-07-26 02:58:16 -05:00
2026-07-20 13:04:12 -07:00
2026-07-26 21:27:45 -07:00
2026-07-28 20:04:58 +05:30
2026-07-24 16:00:34 -07:00
2026-07-19 07:27:10 +05:30
2026-07-20 11:42:29 -04:00
2026-07-19 01:09:29 -07:00
2026-07-22 12:02:40 -05:00
2026-07-26 17:47:51 -07:00
2026-07-28 11:54:46 -07:00
2026-07-24 15:55:08 -07:00
2026-07-20 11:42:29 -04:00
2026-07-20 11:42:29 -04:00