Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,13 @@ describe.skipIf(!PG_URL)('a knowledge_source with no adapter and no requires —
const database = { driver: 'postgres', url: PG_URL as string };
const input = { stack, packageRoot: process.cwd(), env: {}, database };
// With what: the deployment's-store mark, and the store the rule mounts.
// The argument also carries the runtime-composed mark: the rule, not a
// host, mounted this service, so it is enabled by configuration (ADR-0161
// K8, the dated note on item 12) and serves only with an embedder and the
// deployment's store — both present below, so it serves. `declared` is
// false because this stack writes no `requires: ['knowledge']`.
const { argument: serviceArgument } = resolveCapabilityArgument('knowledge', input);
expect(serviceArgument).toEqual({ deploymentAdapter: 'pgvector' });
expect(serviceArgument).toEqual({ deploymentAdapter: 'pgvector', runtimeComposed: { declared: false } });
const [extra] = resolveCapabilityExtras('knowledge', input);

kernel = new LiteKernel({ logger: { level: 'silent' } } as never);
Expand Down
Loading