test: trim release smoke memory startup

This commit is contained in:
Peter Steinberger
2026-04-29 08:15:48 +01:00
parent 9ddd10b84c
commit 7662a17b08
4 changed files with 19 additions and 3 deletions

View File

@@ -115,6 +115,10 @@ describe("startQaLiveLaneGateway", () => {
"memory-core": { enabled: true },
"qa-channel": { enabled: true },
},
slots: {
memory: "memory-core",
contextEngine: "qmd",
},
},
agents: {
defaults: {
@@ -132,6 +136,10 @@ describe("startQaLiveLaneGateway", () => {
expect(cfg?.plugins?.allow).toEqual(["acpx", "qa-channel"]);
expect(cfg?.plugins?.entries).not.toHaveProperty("memory-core");
expect(cfg?.plugins?.slots).toMatchObject({
memory: "none",
contextEngine: "qmd",
});
expect(cfg?.agents?.defaults?.memorySearch).toMatchObject({
enabled: false,
sync: {

View File

@@ -51,8 +51,16 @@ function prepareLiveTransportGatewayConfig(cfg: OpenClawConfig): OpenClawConfig
...cfg.plugins,
allow: cfg.plugins.allow?.filter((pluginId) => pluginId !== "memory-core"),
entries: omitMemoryCoreEntry(cfg.plugins.entries),
slots: {
...cfg.plugins.slots,
memory: "none",
},
}
: cfg.plugins,
: {
slots: {
memory: "none",
},
},
agents: {
...cfg.agents,
defaults: {

View File

@@ -60,7 +60,6 @@ const RELEASE_SMOKE_PLUGIN_ALLOWLIST_BASE = [
"bonjour",
"browser",
"device-pair",
"memory-core",
"phone-control",
"talk-voice",
];

View File

@@ -115,7 +115,8 @@ describe("scripts/openclaw-cross-os-release-checks", () => {
it("keeps release smoke plugin allowlists focused on agent-turn essentials", () => {
const allowlist = buildCrossOsReleaseSmokePluginAllowlist({ extensionId: "openai" });
expect(allowlist).toEqual(expect.arrayContaining(["openai", "memory-core", "acpx"]));
expect(allowlist).toEqual(expect.arrayContaining(["openai", "acpx"]));
expect(allowlist).not.toContain("memory-core");
expect(allowlist).not.toContain("document-extract");
expect(allowlist).not.toContain("microsoft");
expect(allowlist).not.toContain("web-readability");