chore(ingest): verify isolated diff connector migration

This commit is contained in:
Andrey Avtomonov 2026-05-18 02:42:29 +02:00
parent 2348a737c7
commit 8096028219
2 changed files with 4 additions and 3 deletions

View file

@ -4,9 +4,9 @@ import { z } from 'zod';
import { parsedTargetTableSchema, type ParsedTargetTable } from '../../parsed-target-table.js';
import type { MetricflowHostTable } from './semantic-models.js';
export const METRICFLOW_PROJECTION_CONFIG_FILE = 'sync-config.json';
const METRICFLOW_PROJECTION_CONFIG_FILE = 'sync-config.json';
export const metricflowProjectionConfigSchema = z.object({
const metricflowProjectionConfigSchema = z.object({
parsedTargetTables: z.record(z.string(), parsedTargetTableSchema).default({}),
});

View file

@ -294,7 +294,8 @@ describe('IngestBundleRunner isolated diff path', () => {
expect(trace).not.toContain('shared_worktree_path_enabled');
const reportCreate = vi.mocked(deps.reports.create).mock.calls.at(-1)?.[0];
expect(reportCreate?.body.isolatedDiff).toMatchObject({
const reportBody = reportCreate?.body as { isolatedDiff?: unknown } | undefined;
expect(reportBody?.isolatedDiff).toMatchObject({
enabled: true,
acceptedPatches: 1,
});