From 1bb3093dcf1c5da3d67dd6c4e8408ad1f1d6b2fa Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Mon, 27 Jul 2026 21:13:20 -0300 Subject: [PATCH] chore(quality): re-pin chatCore.ts ceiling after merge-train 2 #8595 (compact Responses multi-turn images before the context hard-reject) grows open-sse/handlers/chatCore.ts 4955 -> 5006. The growth is irreducible at the existing compaction chokepoint: a last-resort retry against the concrete token budget plus the estimateFinalInputTokens helper, both wired into the pre-existing call site rather than a new branch. Covered by tests/unit/8560-responses-image-compaction.test.ts. --- changelog.d/maintenance/train2-chatcore-ratchet.md | 1 + config/quality/file-size-baseline.json | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 changelog.d/maintenance/train2-chatcore-ratchet.md diff --git a/changelog.d/maintenance/train2-chatcore-ratchet.md b/changelog.d/maintenance/train2-chatcore-ratchet.md new file mode 100644 index 0000000000..441cabe57e --- /dev/null +++ b/changelog.d/maintenance/train2-chatcore-ratchet.md @@ -0,0 +1 @@ +- chore(quality): re-pin the `chatCore.ts` file-size ceiling for the Responses multi-turn image compaction added in #8595 diff --git a/config/quality/file-size-baseline.json b/config/quality/file-size-baseline.json index e5dba2190c..b5c6c48f9e 100644 --- a/config/quality/file-size-baseline.json +++ b/config/quality/file-size-baseline.json @@ -348,7 +348,7 @@ "open-sse/executors/deepseek-web.ts": 1148, "open-sse/executors/grok-web.ts": 1044, "open-sse/executors/muse-spark-web.ts": 1405, - "open-sse/handlers/chatCore.ts": 4955, + "open-sse/handlers/chatCore.ts": 5006, "open-sse/handlers/imageGeneration.ts": 3101, "open-sse/handlers/responseSanitizer.ts": 1115, "open-sse/handlers/search.ts": 1536, @@ -404,5 +404,6 @@ "tests/unit/account-fallback-service.test.ts": 1572, "tests/unit/provider-validation-specialty.test.ts": 2980, "open-sse/executors/hyperagent.ts": 1026 - } + }, + "_rebaseline_2026_07_27_v3849_train2": "Merge-train 2 (7 PRs) — owner-approved 2026-07-27. Single entry: chatCore.ts 4955->5006 (#8595, Responses multi-turn image compaction before the context hard-reject). Genuine irreducible growth at the existing compaction chokepoint in handleChatCore — the PR adds a last-resort retry against the concrete budget plus the estimateFinalInputTokens helper, both wired at the pre-existing call site rather than a new branch. Covered by tests/unit/8560-responses-image-compaction.test.ts (4 tests)." }