From b4ae094afa9370fbb9f96cc96c1a1024e844b538 Mon Sep 17 00:00:00 2001 From: Dotta Date: Tue, 11 Aug 2026 20:24:35 +0000 Subject: [PATCH] test(portability): update batching fixtures to schema v8 Co-Authored-By: Paperclip --- .../__tests__/company-portability-import-batching.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src/__tests__/company-portability-import-batching.test.ts b/server/src/__tests__/company-portability-import-batching.test.ts index 0c7226aa746..82d5ef76ff0 100644 --- a/server/src/__tests__/company-portability-import-batching.test.ts +++ b/server/src/__tests__/company-portability-import-batching.test.ts @@ -157,7 +157,7 @@ interface SyntheticBundleOptions { documentsPerIssue: number; } -/** Build an inline import bundle with the requested shape, valid at schemaVersion 7. */ +/** Build an inline import bundle with the requested shape, valid at the current schema version. */ function buildSyntheticBundle(options: SyntheticBundleOptions): { rootPath: string; files: Record; @@ -193,7 +193,7 @@ function buildSyntheticBundle(options: SyntheticBundleOptions): { }; } - files[".paperclip.yaml"] = renderPaperclipYaml({ schemaVersion: 7, tasks }); + files[".paperclip.yaml"] = renderPaperclipYaml({ schemaVersion: 8, tasks }); return { rootPath: "batching-bench", files }; } @@ -223,7 +223,7 @@ function buildTouchedIssuesBundle(issueCount: number): { }; } - files[".paperclip.yaml"] = renderPaperclipYaml({ schemaVersion: 7, tasks }); + files[".paperclip.yaml"] = renderPaperclipYaml({ schemaVersion: 8, tasks }); return { rootPath: "inbox-flood", files }; } @@ -431,7 +431,7 @@ describeEmbeddedPostgres("company import batches inserts", () => { files["tasks/m-grandchild/TASK.md"] = taskFile("Grandchild"); files["tasks/z-parent/TASK.md"] = taskFile("Parent"); files[".paperclip.yaml"] = renderPaperclipYaml({ - schemaVersion: 7, + schemaVersion: 8, tasks: { // The child slug sorts before its parent so the importer's // parents-first row ordering (not manifest order) must satisfy the