Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions scripts/mit-cutover.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
7 changes: 0 additions & 7 deletions scripts/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading