fix(ci): restore plugin install and tooling checks · openclaw/openclaw@4e63f71
steipete
·
2026-04-28
·
via Recent Commits to openclaw:main
File tree
extensions/memory-lancedb
| Original file line number | Diff line number | Diff line change |
|---|
@@ -61,6 +61,18 @@ describe("memory-lancedb config", () => {
|
61 | 61 | expect(parsed.embedding.provider).toBe("openai"); |
62 | 62 | }); |
63 | 63 | |
| 64 | +it("rejects empty embedding placeholders in the manifest schema", () => { |
| 65 | +const manifestResult = validateJsonSchemaValue({ |
| 66 | +schema: manifest.configSchema, |
| 67 | +cacheKey: "memory-lancedb.manifest.empty-embedding", |
| 68 | +value: { |
| 69 | +embedding: {}, |
| 70 | +}, |
| 71 | +}); |
| 72 | + |
| 73 | +expect(manifestResult.ok).toBe(false); |
| 74 | +}); |
| 75 | + |
64 | 76 | it("rejects empty embedding providers", () => { |
65 | 77 | expect(() => { |
66 | 78 | memoryConfigSchema.parse({ |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -71,6 +71,7 @@
|
71 | 71 | "properties": { |
72 | 72 | "embedding": { |
73 | 73 | "type": "object", |
| 74 | +"minProperties": 1, |
74 | 75 | "additionalProperties": false, |
75 | 76 | "properties": { |
76 | 77 | "apiKey": { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -263,6 +263,22 @@ const TOOLING_TEST_TARGETS = new Map([
|
263 | 263 | ]); |
264 | 264 | const SOURCE_TEST_TARGETS = new Map([ |
265 | 265 | ...PRECISE_SOURCE_TEST_TARGETS, |
| 266 | +[ |
| 267 | +"src/plugin-sdk/test-helpers/directory-ids.ts", |
| 268 | +[ |
| 269 | +"extensions/discord/src/directory-contract.test.ts", |
| 270 | +"extensions/slack/src/directory-contract.test.ts", |
| 271 | +"extensions/telegram/src/directory-contract.test.ts", |
| 272 | +], |
| 273 | +], |
| 274 | +[ |
| 275 | +"test/helpers/channels/directory-ids.ts", |
| 276 | +[ |
| 277 | +"extensions/discord/src/directory-contract.test.ts", |
| 278 | +"extensions/slack/src/directory-contract.test.ts", |
| 279 | +"extensions/telegram/src/directory-contract.test.ts", |
| 280 | +], |
| 281 | +], |
266 | 282 | ["extensions/google-meet/index.ts", ["extensions/google-meet/index.test.ts"]], |
267 | 283 | ["extensions/google-meet/src/cli.ts", ["extensions/google-meet/src/cli.test.ts"]], |
268 | 284 | ["extensions/google-meet/src/create.ts", ["extensions/google-meet/index.test.ts"]], |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -122,7 +122,6 @@ describe("production lint suppressions", () => {
|
122 | 122 | "src/plugins/host-hooks.ts|typescript/no-unnecessary-type-parameters|1", |
123 | 123 | "src/plugins/lazy-service-module.ts|typescript/no-unnecessary-type-parameters|1", |
124 | 124 | "src/plugins/public-surface-loader.ts|typescript/no-unnecessary-type-parameters|1", |
125 | | -"src/plugins/runtime/runtime-channel.ts|typescript/no-unnecessary-type-parameters|1", |
126 | 125 | "src/plugins/runtime/runtime-plugin-boundary.ts|typescript/no-unnecessary-type-parameters|2", |
127 | 126 | "src/plugins/runtime/types-channel.ts|typescript/no-unnecessary-type-parameters|1", |
128 | 127 | "src/plugins/types.ts|typescript/no-unnecessary-type-parameters|1", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。