大交通检索修复

This commit is contained in:
andy committed 2026-09-16 11:50:50 +08:00
1 parent 364ef4ae30
commit 8a0f02c9be
29 files changed
+1175 -33

No files matched your search

+2 -2
View File
@@ -443,11 +443,11 @@ test('migration contains the durable state tables and safety fields', async () =
}
});
test('control plane requires the leader summary webhook migration before readiness', async () => {
test('control plane requires the arrangement ledger migration before readiness', async () => {
const { readFile } = await import('node:fs/promises');
const db = await readFile(new URL('../src/db.ts', import.meta.url), 'utf8');
const server = await readFile(new URL('../src/server.ts', import.meta.url), 'utf8');
assert.equal(REQUIRED_SCHEMA_VERSION, '024_arrangement_update_routes');
assert.equal(REQUIRED_SCHEMA_VERSION, '025_arrangement_ledger');
assert.match(db, /schema_migrations/);
assert.match(db, /databaseReadiness/);
assert.match(db, /assertDatabaseSchema/);