diff --git a/src/features/tech-log/application/collect-catalog.ts b/src/features/tech-log/application/collect-catalog.ts index d284639..0a71f24 100644 --- a/src/features/tech-log/application/collect-catalog.ts +++ b/src/features/tech-log/application/collect-catalog.ts @@ -27,7 +27,7 @@ export async function collectCatalog( const items: CatalogPage["items"][number][] = []; let cursor: string | undefined; for (let page = 0; page < MAX_PAGES; page += 1) { - const result: CatalogPage = await gateway.getCatalog( + const result: CatalogPage = await gateway.getCatalog( // fanout-reviewed: cursor pagination; each page needs the previous page's nextCursor, so the calls cannot be batched { ...query, limit: PAGE_SIZE, ...(cursor === undefined ? {} : { cursor }) }, options, ); diff --git a/tests/runtime-schema/release-manifest.test.ts b/tests/runtime-schema/release-manifest.test.ts index ff2a1c1..0b13768 100644 --- a/tests/runtime-schema/release-manifest.test.ts +++ b/tests/runtime-schema/release-manifest.test.ts @@ -114,7 +114,9 @@ describe("expected contract set composition", () => { (entry) => entry.packageId === "@tech-log/studio-contract", ); expect(techLog).toBeTruthy(); - expect(techLog?.version).toBe("3.0.0"); + // src/features/tech-log/contracts/studio/canonical-source.json (3.1.0 since + // the Studio contract gained project publication and home ordering). + expect(techLog?.version).toBe("3.1.0"); }); });