test: trim release smoke memory startup · openclaw/openclaw@7662a17
steipete
·
2026-04-29
·
via Recent Commits to openclaw:main
File tree
extensions/qa-lab/src/live-transports/shared
| Original file line number | Diff line number | Diff line change |
|---|
@@ -115,6 +115,10 @@ describe("startQaLiveLaneGateway", () => {
|
115 | 115 | "memory-core": { enabled: true }, |
116 | 116 | "qa-channel": { enabled: true }, |
117 | 117 | }, |
| 118 | +slots: { |
| 119 | +memory: "memory-core", |
| 120 | +contextEngine: "qmd", |
| 121 | +}, |
118 | 122 | }, |
119 | 123 | agents: { |
120 | 124 | defaults: { |
@@ -132,6 +136,10 @@ describe("startQaLiveLaneGateway", () => {
|
132 | 136 | |
133 | 137 | expect(cfg?.plugins?.allow).toEqual(["acpx", "qa-channel"]); |
134 | 138 | expect(cfg?.plugins?.entries).not.toHaveProperty("memory-core"); |
| 139 | +expect(cfg?.plugins?.slots).toMatchObject({ |
| 140 | +memory: "none", |
| 141 | +contextEngine: "qmd", |
| 142 | +}); |
135 | 143 | expect(cfg?.agents?.defaults?.memorySearch).toMatchObject({ |
136 | 144 | enabled: false, |
137 | 145 | sync: { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -51,8 +51,16 @@ function prepareLiveTransportGatewayConfig(cfg: OpenClawConfig): OpenClawConfig
|
51 | 51 | ...cfg.plugins, |
52 | 52 | allow: cfg.plugins.allow?.filter((pluginId) => pluginId !== "memory-core"), |
53 | 53 | entries: omitMemoryCoreEntry(cfg.plugins.entries), |
| 54 | +slots: { |
| 55 | + ...cfg.plugins.slots, |
| 56 | +memory: "none", |
| 57 | +}, |
54 | 58 | } |
55 | | - : cfg.plugins, |
| 59 | + : { |
| 60 | +slots: { |
| 61 | +memory: "none", |
| 62 | +}, |
| 63 | +}, |
56 | 64 | agents: { |
57 | 65 | ...cfg.agents, |
58 | 66 | defaults: { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -60,7 +60,6 @@ const RELEASE_SMOKE_PLUGIN_ALLOWLIST_BASE = [
|
60 | 60 | "bonjour", |
61 | 61 | "browser", |
62 | 62 | "device-pair", |
63 | | -"memory-core", |
64 | 63 | "phone-control", |
65 | 64 | "talk-voice", |
66 | 65 | ]; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -115,7 +115,8 @@ describe("scripts/openclaw-cross-os-release-checks", () => {
|
115 | 115 | it("keeps release smoke plugin allowlists focused on agent-turn essentials", () => { |
116 | 116 | const allowlist = buildCrossOsReleaseSmokePluginAllowlist({ extensionId: "openai" }); |
117 | 117 | |
118 | | -expect(allowlist).toEqual(expect.arrayContaining(["openai", "memory-core", "acpx"])); |
| 118 | +expect(allowlist).toEqual(expect.arrayContaining(["openai", "acpx"])); |
| 119 | +expect(allowlist).not.toContain("memory-core"); |
119 | 120 | expect(allowlist).not.toContain("document-extract"); |
120 | 121 | expect(allowlist).not.toContain("microsoft"); |
121 | 122 | expect(allowlist).not.toContain("web-readability"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。