feat(housekeeping): cut over administration to ase

This commit is contained in:
2026-08-30 20:35:22 +02:00
parent c9e35cf602
commit 2b8f73a91d
457 changed files with 589 additions and 55936 deletions
@@ -1,7 +1,8 @@
import { describe, expect, it } from "vitest";
import { PERMS } from "@/lib/permission-slugs";
import { contentMigrationEntries } from "./content";
import { ownedLegacyPages } from "./discover-legacy-pages";
import { ownedLegacyPages, recordedLegacyPages } from "./discover-legacy-pages";
import { HOUSEKEEPING_MIGRATION_MATRIX } from "./matrix";
import { validateMigrationEntries } from "./validate-matrix";
const CONTENT_PREFIXES = [
@@ -24,7 +25,10 @@ const CONTENT_PREFIXES = [
describe("contentMigrationEntries", () => {
it("covers every content page without legacy-domain targets", () => {
const expected = ownedLegacyPages(CONTENT_PREFIXES);
const expected = ownedLegacyPages(
CONTENT_PREFIXES,
recordedLegacyPages(HOUSEKEEPING_MIGRATION_MATRIX),
);
expect(validateMigrationEntries(expected, contentMigrationEntries)).toEqual(
[],
);