From e22e1d6ab87ca8ed63daebfaa4029523eac5edff Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Sun, 9 Aug 2026 00:47:13 -0300 Subject: [PATCH 1/6] chore(quality): reconcile final v3.8.50 ratchets --- config/quality/file-size-baseline.json | 7 ++++--- config/quality/quality-baseline.json | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/config/quality/file-size-baseline.json b/config/quality/file-size-baseline.json index 564c32e7cfca..4cf49c23577f 100644 --- a/config/quality/file-size-baseline.json +++ b/config/quality/file-size-baseline.json @@ -363,7 +363,7 @@ "open-sse/services/combo.ts": 3648, "open-sse/services/compression/strategySelector.ts": 1060, "open-sse/services/rateLimitManager.ts": 1167, - "open-sse/translator/response/openai-responses.ts": 1204, + "open-sse/translator/response/openai-responses.ts": 1215, "open-sse/utils/cursorAgentProtobuf.ts": 1505, "open-sse/utils/stream.ts": 2889, "src/app/(dashboard)/dashboard/HomePageClient.tsx": 1388, @@ -400,7 +400,7 @@ "src/shared/components/RequestLoggerV2.tsx": 1629, "src/shared/components/analytics/charts.tsx": 1035, "src/shared/services/cliRuntime.ts": 1122, - "src/sse/handlers/chat.ts": 1904, + "src/sse/handlers/chat.ts": 1918, "src/sse/services/auth.ts": 2520, "tests/unit/account-fallback-service.test.ts": 1572, "tests/unit/provider-validation-specialty.test.ts": 2985, @@ -559,5 +559,6 @@ "open-sse/executors/kiro.ts": "1069", "open-sse/translator/request/openai-to-kiro.ts": "1057", "open-sse/utils/sseHeartbeat.ts": "142", - "_rebaseline_2026_08_04_9305_sse_comments": "#9305 fix: broadened sseCommentsEnabled()" + "_rebaseline_2026_08_04_9305_sse_comments": "#9305 fix: broadened sseCommentsEnabled()", + "_rebaseline_2026_08_09_v3850_release_close": "Release v3.8.50 close reconciliation on e0ce95c592: src/sse/handlers/chat.ts 1904->1918 is the irreducible request-pipeline wiring from #9759 that invokes the Modality Bridge guardrail without moving its implementation into the handler; covered by the 17 Vision Bridge canaries plus the PR-1 focused suite. open-sse/translator/response/openai-responses.ts 1204->1215 is #9168's Responses tool-call argument delta buffering/normalization at the existing translator state-machine chokepoint; covered by its dedicated translator regression tests. Both values are measured by check:file-size (split-newline semantics), and the gate remains frozen at the new exact sizes." } diff --git a/config/quality/quality-baseline.json b/config/quality/quality-baseline.json index 26f543c0e742..2fe9c2c4e07b 100644 --- a/config/quality/quality-baseline.json +++ b/config/quality/quality-baseline.json @@ -177,12 +177,13 @@ "dedicatedGate": true }, "bundleSize": { - "value": 7666, + "value": 8045, "direction": "down", "dedicatedGate": true, "_rebaseline_2026_07_07_v3846_release_close": "5601->6534 (+933). v3.8.46 release close: gzip of the 4 bin/*.mjs entrypoints (size-limit + @size-limit/file) grew from this cycle's feature/fix merges pulled transitively into the CLI entrypoints (new providers, combo pipeline strategy #6396, effort/thinking standardization #6241, catalog cache-invalidation #6408). Measured 6534 locally via `check:bundle-size --ratchet` (deterministic gzip, matches CI). Legitimate cycle growth; shrink is separate debt.", "_rebaseline_2026_07_19_7808_codeql_alias_resolver_hook": "6534->6762 (+228). PR #7808 (CodeQL js/incomplete-url-substring-sanitization fix): the ESM loader hook source moved out of the inline `HOOK_SOURCE` template literal in bin/aliasResolver.mjs into a real file bin/aliasResolverHook.mjs, loaded via pathToFileURL() instead of a dynamically-built `data:text/javascript,...` URL. The new file is now counted by size-limit as a 5th bin/*.mjs entrypoint. Net +228 = the hook's gzip size (previously hidden inside aliasResolver.mjs because the template literal was compressed away). Security-driven; no shrink opportunity.", - "_rebaseline_2026_07_28_v3849_release_preflight": "6762 -> 7666 (+904). Fechamento do ciclo v3.8.49: gzip dos entrypoints bin/*.mjs (size-limit + @size-limit/file) cresceu com o que os merges do ciclo puxam transitivamente para o CLI (novos provedores — 271->290, seletor de protocolo por conexão #8861, catálogos de busca #8814, resiliência). Crescimento legítimo de ciclo, medido localmente com `npm run check:bundle-size` = 7666 (gzip determinístico, bate com o CI). Encolher é dívida separada." + "_rebaseline_2026_07_28_v3849_release_preflight": "6762 -> 7666 (+904). Fechamento do ciclo v3.8.49: gzip dos entrypoints bin/*.mjs (size-limit + @size-limit/file) cresceu com o que os merges do ciclo puxam transitivamente para o CLI (novos provedores — 271->290, seletor de protocolo por conexão #8861, catálogos de busca #8814, resiliência). Crescimento legítimo de ciclo, medido localmente com `npm run check:bundle-size` = 7666 (gzip determinístico, bate com o CI). Encolher é dívida separada.", + "_rebaseline_2026_08_09_v3850_release_close": "7666 -> 8045 (+379 gzip bytes, +4.9%). Release v3.8.50 close reconciliation measured twice with the real size-limit + @size-limit/file path on tip e0ce95c592. Per-entry measurements remain below their absolute budgets: omniroute.mjs 4380/15000, mcp-server.mjs 1195/5000, nodeRuntimeSupport.mjs 887/8000, reset-password.mjs 1583/6000. The growth accumulated through legitimate CLI/runtime work in this cycle, including global-install ESM alias resolution, Termux cache preparation, and MCP stdio startup hardening; no entrypoint is near its absolute ceiling. The direction:down ratchet stays blocking from this exact measured tip." }, "openapiBreaking": { "value": 0, From fa1845fbb92647676796e5de5625ef62b5c38cf7 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Sun, 9 Aug 2026 00:47:48 -0300 Subject: [PATCH 2/6] chore(changelog): record v3.8.50 ratchet reconciliation --- changelog.d/maintenance/9839-v3850-quality-ratchets.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/maintenance/9839-v3850-quality-ratchets.md diff --git a/changelog.d/maintenance/9839-v3850-quality-ratchets.md b/changelog.d/maintenance/9839-v3850-quality-ratchets.md new file mode 100644 index 000000000000..51bad864ad27 --- /dev/null +++ b/changelog.d/maintenance/9839-v3850-quality-ratchets.md @@ -0,0 +1 @@ +- Reconcile the final v3.8.50 bundle-size and file-size ratchets against the measured release tip, preserving exact direction-down ceilings and their source attribution. From dbcf43f50942a96ef0d93c850ff4fa3234a24f9c Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Sun, 9 Aug 2026 04:57:55 -0300 Subject: [PATCH 3/6] chore(ci): retrigger base-reds reconciliation checks for #9839 From 9205185fb351acf377a896640567169147c456d5 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Sun, 9 Aug 2026 05:04:42 -0300 Subject: [PATCH 4/6] chore(ci): retrigger base-red sweep run for #9839 From 813d67de9ebab0c6c1a4637f99e686655f4a5da1 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Sun, 9 Aug 2026 05:10:08 -0300 Subject: [PATCH 5/6] chore(ci): retrigger base-red checks after queued-cancel From f1068078fee50329b54f28aa8117189adcdb5c5a Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Sun, 9 Aug 2026 05:11:27 -0300 Subject: [PATCH 6/6] chore(ci): retrigger base-reds checks #9839 (queue clear)