From 89ffc8c5612b9d62db53184a079ff292470cccde Mon Sep 17 00:00:00 2001 From: Julien Goux Date: Tue, 23 Jun 2026 17:15:52 +0200 Subject: [PATCH] test(cli): guard config schema against inbucket name leakage Assert the generated schema contains no `inbucket` substring case-insensitively (descriptions included), so the deprecated implementation name cannot creep back into the published schema. Co-Authored-By: Claude Opus 4.8 --- packages/config/src/io.unit.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/config/src/io.unit.test.ts b/packages/config/src/io.unit.test.ts index 82ac43d0e1..d22d4eaf85 100644 --- a/packages/config/src/io.unit.test.ts +++ b/packages/config/src/io.unit.test.ts @@ -674,7 +674,9 @@ major_version = 16 expect(schemaString).toContain("remotes"); expect(schemaString).toContain("static_files"); expect(schemaString).toContain("env"); - expect(schemaString).not.toContain("inbucket"); + // The deprecated implementation name must not leak anywhere in the schema, + // including descriptions (case-insensitive guard). + expect(schemaString.toLowerCase()).not.toContain("inbucket"); expect(schemaString).not.toContain("versions"); });