refactor: share registry runtime configuration leases

This commit is contained in:
2026-08-11 09:04:33 +02:00
parent f7b442be61
commit e0950f5ed4
5 changed files with 447 additions and 110 deletions
@@ -180,7 +180,7 @@ test("separate runtime leases hand off byte-identical revision Evidence configs
);
try {
expect(first.path).not.toBe(second.path);
expect(first.path).toBe(second.path);
const firstYaml = readFileSync(first.path, "utf8");
const secondYaml = readFileSync(second.path, "utf8");
expect(secondYaml).toBe(firstYaml);
@@ -212,7 +212,7 @@ test("separate runtime leases hand off byte-identical revision Evidence configs
}
first.release();
expect(existsSync(first.path)).toBe(false);
expect(existsSync(first.path)).toBe(true);
expect(existsSync(second.path)).toBe(true);
second.release();
expect(existsSync(second.path)).toBe(false);