From d6c06932ec9f27af140a43af030d2a77488e0863 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Mon, 27 Jul 2026 22:39:06 -0300 Subject: [PATCH] chore(quality): re-pin ceilings after merge-train 3 + register CF-1010 test file-size: apiKeys.ts 1518 -> 1529 (#8805, treating cx/* and codex/* as equivalent provider prefixes in API-key model permissions) and chatCore.ts 5006 -> 5020 (#8806, passing the real response payload into plugin onResponse hooks instead of a hardcoded {status:200}). Both extend existing call sites rather than adding a branch. stryker: account-fallback-cf1010-no-retry-8775.test.ts covers accountFallback.ts but was missing from tap.testFiles, which would redden Fast Quality Gates on every subsequent PR. --- changelog.d/maintenance/train3-ratchet-and-stryker.md | 1 + config/quality/file-size-baseline.json | 7 ++++--- stryker.conf.json | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 changelog.d/maintenance/train3-ratchet-and-stryker.md diff --git a/changelog.d/maintenance/train3-ratchet-and-stryker.md b/changelog.d/maintenance/train3-ratchet-and-stryker.md new file mode 100644 index 0000000000..a22b76cd99 --- /dev/null +++ b/changelog.d/maintenance/train3-ratchet-and-stryker.md @@ -0,0 +1 @@ +- chore(quality): re-pin the `apiKeys.ts` and `chatCore.ts` ceilings grown by the merge-train 3 batch, and register the Cloudflare-1010 regression test in `stryker.conf.json` diff --git a/config/quality/file-size-baseline.json b/config/quality/file-size-baseline.json index b5c6c48f9e..49ccce035a 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": 5006, + "open-sse/handlers/chatCore.ts": 5020, "open-sse/handlers/imageGeneration.ts": 3101, "open-sse/handlers/responseSanitizer.ts": 1115, "open-sse/handlers/search.ts": 1536, @@ -387,7 +387,7 @@ "src/app/(dashboard)/dashboard/usage/components/ProviderLimits/index.tsx": 1109, "src/app/api/providers/[id]/models/route.ts": 2250, "src/app/api/v1/models/catalog.ts": 1549, - "src/lib/db/apiKeys.ts": 1518, + "src/lib/db/apiKeys.ts": 1529, "src/lib/db/core.ts": 1637, "src/lib/db/migrationRunner.ts": 1077, "src/lib/db/models.ts": 1097, @@ -405,5 +405,6 @@ "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)." + "_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).", + "_rebaseline_2026_07_27_v3849_train3": "Merge-train 3 (13 PRs) — owner-approved 2026-07-27. Both entries are genuine irreducible growth at existing chokepoints, not new branches: src/lib/db/apiKeys.ts 1518->1529 (#8805 cx/* ≡ codex/* API-key model permissions); open-sse/handlers/chatCore.ts 5006->5020 (#8806 real response payload into plugin onResponse hooks). Covered by tests/unit/db-apiKeys-crud.test.ts (4 new cases) and the two plugin-hook test files updated in #8806 respectively." } diff --git a/stryker.conf.json b/stryker.conf.json index 0f3e3285be..bf724daa64 100644 --- a/stryker.conf.json +++ b/stryker.conf.json @@ -53,6 +53,7 @@ "tests/unit/8396-cooldown-429-cap.test.ts", "tests/unit/8488-capability-filter-fail-closed.test.ts", "tests/unit/account-fallback-anthropic-quota.test.ts", + "tests/unit/account-fallback-cf1010-no-retry-8775.test.ts", "tests/unit/account-fallback-lockout-eviction.test.ts", "tests/unit/account-fallback-retry-after-json.test.ts", "tests/unit/account-fallback-route-restriction-403.test.ts",