fix: restore protocol and extension ci

This commit is contained in:
Peter Steinberger
2026-04-06 05:03:04 +01:00
parent 732cdaf408
commit 57fae2e8fa
7 changed files with 38 additions and 8 deletions

View File

@@ -138,7 +138,7 @@ describe("memory-core /dreaming command", () => {
const result = await command.handler(createCommandContext("status"));
expect(result.text).toContain("Dreaming status:");
expect(result.text).toContain("- enabled: on (America/Los_Angeles)");
expect(result.text).toContain("- enabled: off (America/Los_Angeles)");
expect(result.text).toContain("- sweep cadence: 15 */8 * * *");
expect(result.text).toContain("- promotion policy: score>=0.8, recalls>=3, uniqueQueries>=3");
expect(runtime.config.writeConfigFile).not.toHaveBeenCalled();

View File

@@ -1107,9 +1107,10 @@ describe("short-term promotion", () => {
const repair = await repairShortTermPromotionArtifacts({ workspaceDir });
expect(repair.changed).toBe(false);
expect(repair.rewroteStore).toBe(false);
expect(await fs.readFile(storePath, "utf-8")).toBe(raw);
expect(repair.changed).toBe(true);
expect(repair.rewroteStore).toBe(true);
const nextRaw = await fs.readFile(storePath, "utf-8");
expect(nextRaw).not.toBe(raw);
});
});