feat(execution): preserve durable recovery on canonical Rust core
This commit is contained in:
parent
5e9655de0b
commit
c01e96e4dd
27 changed files with 3644 additions and 182 deletions
|
|
@ -3,7 +3,6 @@ import { readFileSync } from 'node:fs';
|
|||
import { afterEach, describe, expect, test } from 'bun:test';
|
||||
import type { PoolClient } from 'pg';
|
||||
import { Pool } from 'pg';
|
||||
import type { IServiceContainer } from '@stock-bot/handlers';
|
||||
import { getLogger, setLoggerConfig } from '@stock-bot/logger';
|
||||
import { PostgreSQLClient } from '@stock-bot/postgres';
|
||||
import { runMigrations } from '../../apps/stock/web-api/src/migrations/migration-runner';
|
||||
|
|
@ -18,6 +17,7 @@ const migrations = [
|
|||
'12-historical-datasets.sql',
|
||||
'13-strategy-recovery.sql',
|
||||
'14-backtest-submission.sql',
|
||||
'15-canonical-paper-intents.sql',
|
||||
];
|
||||
const cleanup: (() => Promise<void>)[] = [];
|
||||
afterEach(async () => {
|
||||
|
|
@ -114,7 +114,7 @@ async function fixture() {
|
|||
});
|
||||
return {
|
||||
queries,
|
||||
run: () => runMigrations({ postgres } as IServiceContainer),
|
||||
run: () => runMigrations({ postgres, logger }),
|
||||
};
|
||||
};
|
||||
const recorded = async () =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue