feat(compression): per-model/endpoint compression exclusion filter (#8034) (#8064)

* feat(compression): per-model/endpoint compression exclusion filter (#8034)

* chore(quality): rebaseline compression.ts own-growth 845->850 (#8034 exclusions persistence)

---------

Co-authored-by: Probe Test <probe@example.com>
This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-07-22 16:15:57 -03:00
committed by GitHub
parent f23d7770ec
commit dbdc7daade
17 changed files with 593 additions and 3 deletions

View File

@@ -343,6 +343,10 @@ export const compressionSettingsUpdateSchema = z
activeComboId: z.string().nullable().optional(),
ultraEngine: z.enum(["heuristic", "slm"]).optional(),
ultraSlmPrewarm: z.boolean().optional(),
// #8034 — per-model/endpoint compression exclusion patterns. Bounded length/size so a
// pathological PUT body can't blow up the per-request matcher; normalizeCompressionExclusions
// (open-sse/services/compression/exclusions.ts) is the authoritative post-read normalizer.
exclusions: z.array(z.string().max(200)).max(200).optional(),
})
.strict();