From f09a916c4b25e2f0cb6e657b42d3344448a09663 Mon Sep 17 00:00:00 2001 From: hided62 Date: Wed, 5 Aug 2026 03:09:10 +0000 Subject: [PATCH] fix: align release manifest with migration heads --- app/gateway-api/test/releaseManifest.test.ts | 9 +++++++++ release-manifest.json | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/app/gateway-api/test/releaseManifest.test.ts b/app/gateway-api/test/releaseManifest.test.ts index 61cc83f..4ac3d57 100644 --- a/app/gateway-api/test/releaseManifest.test.ts +++ b/app/gateway-api/test/releaseManifest.test.ts @@ -33,6 +33,15 @@ afterEach(async () => { }); describe('readReleaseManifest', () => { + it('keeps the checked-in manifest aligned with the checked-in migration heads', async () => { + const workspaceRoot = path.resolve(import.meta.dirname, '../../..'); + + await expect(readReleaseManifest(workspaceRoot)).resolves.toMatchObject({ + gatewaySchemaHead: '20260801000000_add_user_icon_library', + gameSchemaHead: '20260803000000_add_logical_game_clock', + }); + }); + it('accepts a manifest whose schema heads match the selected workspace', async () => { const workspace = await createWorkspace('20260801000000_gateway', '20260801000000_game'); diff --git a/release-manifest.json b/release-manifest.json index cbd6018..5465577 100644 --- a/release-manifest.json +++ b/release-manifest.json @@ -1,7 +1,7 @@ { "formatVersion": 1, "controllerProtocol": 1, - "gatewaySchemaHead": "20260801000000_add_release_operations", - "gameSchemaHead": "20260731001000_add_unification_finalization", + "gatewaySchemaHead": "20260801000000_add_user_icon_library", + "gameSchemaHead": "20260803000000_add_logical_game_clock", "components": ["gateway-api", "gateway-frontend", "release-controller", "game-api", "game-engine", "game-frontend"] }