Revert "Merge pull request 'Complete Housekeeping migration and /ase cutover' (#52) from codex/housekeeping-complete into main"
This reverts commit488b6e57c4, reversing changes made tob506b4499a.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { recordedLegacyPages } from "./discover-legacy-pages";
|
||||
import { HOUSEKEEPING_MIGRATION_MATRIX } from "./matrix";
|
||||
import { discoverLegacyPages } from "./discover-legacy-pages";
|
||||
import { operationsMigrationEntries } from "./operations";
|
||||
import { peopleMigrationEntries } from "./people";
|
||||
import { validateMigrationEntries } from "./validate-matrix";
|
||||
@@ -30,7 +29,7 @@ describe("peopleMigrationEntries", () => {
|
||||
expect(modRows).toHaveLength(13);
|
||||
expect(modRows.every((row) => row.decision === "MERGE")).toBe(true);
|
||||
expect(
|
||||
modRows.every((row) => row.targetPath?.startsWith("/ase/people/")),
|
||||
modRows.every((row) => row.targetPath?.startsWith("/admin/people/")),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
@@ -42,18 +41,16 @@ describe("peopleMigrationEntries", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("records concrete runtime parity evidence for every verified row", () => {
|
||||
it("keeps planned rows free of unverified parity claims", () => {
|
||||
expect(
|
||||
peopleMigrationEntries.every(
|
||||
(row) =>
|
||||
row.status === "VERIFIED" &&
|
||||
row.parityEvidence.includes(`runtime-parity:${row.legacyPath}`),
|
||||
(row) => row.status === "PLANNED" && row.parityEvidence.length === 0,
|
||||
),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
it("covers every Operations and People legacy page exactly once", () => {
|
||||
const expected = recordedLegacyPages(HOUSEKEEPING_MIGRATION_MATRIX).filter(
|
||||
const expected = discoverLegacyPages().filter(
|
||||
(page) =>
|
||||
page.legacyPath === "/admin" ||
|
||||
PEOPLE_PREFIXES.some(
|
||||
|
||||
Reference in New Issue
Block a user