mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:30:44 +00:00
test: trim release smoke memory startup
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -60,7 +60,6 @@ const RELEASE_SMOKE_PLUGIN_ALLOWLIST_BASE = [
|
||||
"bonjour",
|
||||
"browser",
|
||||
"device-pair",
|
||||
"memory-core",
|
||||
"phone-control",
|
||||
"talk-voice",
|
||||
];
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user