Reconcile recovered campaign targets (Refs #166)
CI / checks (push) Failing after 8m28s

This commit is contained in:
2026-10-19 20:22:58 -04:00
parent 0f05be3a59
commit b5ed0831ae
13 changed files with 802 additions and 21 deletions
@@ -87,7 +87,7 @@ describe('provisioning reads with retained lifecycle history', () => {
fleetOperations(now);
const queries = prepare.mock.calls
.map(([sql]) => sql)
.filter((sql) => sql.includes('server_deployments'));
.filter((sql) => sql.includes('server_deployments') && sql.includes('UNION'));
prepare.mockRestore();
expect(queries).toHaveLength(1);
const statement = handle.prepare(queries[0]);
@@ -98,7 +98,8 @@ describe('provisioning reads with retained lifecycle history', () => {
'state',
'stage',
'error',
'started_at'
'started_at',
'evidence_at'
]);
const plan = handle.prepare(`EXPLAIN QUERY PLAN ${queries[0]}`).all() as {
detail: string;