fix(ci): restore plugin install and tooling checks

This commit is contained in:
Peter Steinberger
2026-04-28 02:09:24 +01:00
parent 7c79f0ac9c
commit 4e63f710f1
4 changed files with 29 additions and 1 deletions

View File

@@ -61,6 +61,18 @@ describe("memory-lancedb config", () => {
expect(parsed.embedding.provider).toBe("openai");
});
it("rejects empty embedding placeholders in the manifest schema", () => {
const manifestResult = validateJsonSchemaValue({
schema: manifest.configSchema,
cacheKey: "memory-lancedb.manifest.empty-embedding",
value: {
embedding: {},
},
});
expect(manifestResult.ok).toBe(false);
});
it("rejects empty embedding providers", () => {
expect(() => {
memoryConfigSchema.parse({

View File

@@ -71,6 +71,7 @@
"properties": {
"embedding": {
"type": "object",
"minProperties": 1,
"additionalProperties": false,
"properties": {
"apiKey": {