From 84f018cfd5261e061d748fb93d81e2f2d1385e78 Mon Sep 17 00:00:00 2001 From: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com> Date: Fri, 11 Sep 2026 19:48:52 -0300 Subject: [PATCH] test(lease): inventory the credential resolve that combo edit fallthrough added MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #12653 made /v1/images/edits fall through to the next combo target, and each per-target attempt resolves credentials of its own — one more classified site in that route (5 -> 6). Drift from the base tip, not from this branch. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com> --- tests/unit/hard-session-lease-bypass-inventory.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/hard-session-lease-bypass-inventory.test.ts b/tests/unit/hard-session-lease-bypass-inventory.test.ts index 5b89f59225..535fa1d5d3 100644 --- a/tests/unit/hard-session-lease-bypass-inventory.test.ts +++ b/tests/unit/hard-session-lease-bypass-inventory.test.ts @@ -37,7 +37,9 @@ const EXPECTED: Record> = { // v3.8.51 #11754: the second resolveImageRouteModel() call (a duplicate // of the retirement-check one hoisted before enforceApiKeyPolicy) was // removed as dead redundant code, 6->5. - "src/app/api/v1/images/edits/route.ts": 5, + // v3.8.51 #12653: combo edit targets now fall through to the next target, so + // the per-target attempt resolves credentials of its own, 5->6. + "src/app/api/v1/images/edits/route.ts": 6, "src/app/api/v1/images/generations/route.ts": 3, "src/app/api/v1/images/upscale/route.ts": 1, "src/app/api/v1/messages/count_tokens/route.ts": 1,