From 058051f1b9ecf08004129f7b67e3113fa6fd4e75 Mon Sep 17 00:00:00 2001 From: Andrey Avtomonov Date: Wed, 10 Jun 2026 14:22:22 +0200 Subject: [PATCH] test(ingest): supply explicit no-input schema scope in skip-llm setup (#287) The "prints provider setup guidance when a skip-llm setup project runs ingest" test drives runKtxSetup in --no-input (inputMode: disabled) mode with a postgres warehouse but databaseSchemas: []. PR #286 changed the no-input contract to require an explicit database scope instead of auto-scanning, so setup now exits 1 and the test's first assertion (resolves.toBe(0)) fails. #286 updated setup-databases.test.ts but missed this runKtxSetup call in ingest.test.ts. Pass databaseSchemas: ['public'] to satisfy the new contract, matching #286's own test updates. --- packages/cli/test/ingest.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/test/ingest.test.ts b/packages/cli/test/ingest.test.ts index c1abfe8b..35385156 100644 --- a/packages/cli/test/ingest.test.ts +++ b/packages/cli/test/ingest.test.ts @@ -271,7 +271,7 @@ describe('runKtxIngest', () => { databaseDrivers: ['postgres'], databaseConnectionId: 'warehouse', databaseUrl: 'env:WAREHOUSE_URL', - databaseSchemas: [], + databaseSchemas: ['public'], enableQueryHistory: true, skipDatabases: false, skipSources: true,