From 8b3f5fdefc3d790ca4400259f8a548da9126a52a Mon Sep 17 00:00:00 2001 From: Brian Love Date: Tue, 1 Sep 2026 08:21:27 -0700 Subject: [PATCH] chore: retire stale licensing guard exclusions --- scripts/mit-cutover.spec.mjs | 21 --------------------- scripts/vite.config.mts | 7 ------- 2 files changed, 28 deletions(-) diff --git a/scripts/mit-cutover.spec.mjs b/scripts/mit-cutover.spec.mjs index dd6bbed39..8d9ab779a 100644 --- a/scripts/mit-cutover.spec.mjs +++ b/scripts/mit-cutover.spec.mjs @@ -155,25 +155,4 @@ describe('MIT package cutover', () => { expect(violations).toEqual([]); }); - - it('contains no tracked references to the excluded competitor', async () => { - const excludedName = ['copilot', 'kit'].join(''); - const tracked = execFileSync('git', ['ls-files', '-z'], { - cwd: workspaceRoot, - encoding: 'utf8', - }).split('\0').filter(Boolean); - const violations = []; - - for (const path of tracked) { - if (path.toLowerCase().includes(excludedName)) violations.push(path); - try { - const content = await read(path); - if (content.toLowerCase().includes(excludedName)) violations.push(path); - } catch { - // Binary or otherwise unreadable tracked files are covered by the path check. - } - } - - expect([...new Set(violations)]).toEqual([]); - }, 15_000); }); diff --git a/scripts/vite.config.mts b/scripts/vite.config.mts index 5aa04dd2f..c871d4791 100644 --- a/scripts/vite.config.mts +++ b/scripts/vite.config.mts @@ -22,13 +22,6 @@ export default defineConfig({ 'cockpit-ports.spec.mjs', 'cockpit-runtime-bridge-coverage.spec.mjs', 'verify-angular-support.spec.mjs', - // STALE (excluded deliberately, not a runner mismatch): this one-time - // #881 cutover checklist now fails against main on two counts — - // libs/licensing is still tracked (and consumed by Angular bundles), - // and the Mastra runtime content/lockfiles legitimately mention the - // "excluded competitor". Reinstate only after the spec is reconciled - // with current policy. - 'mit-cutover.spec.mjs', ], // Generator specs shell out to `npx tsx` and (re)generate committed // deployment manifests; keep them serial to avoid write races.