fix(backup): 手动备份按服冷却、每服保留上限与独立保留期,容量驱逐不再删除回收世界的唯一副本
This commit is contained in:
30 files changed
+801
-42
No files matched your search
@@ -390,6 +390,12 @@ describe("api access-control wire shapes", () => {
|
||||
expect(humanizeError({ code: "not_running" })).toMatch(/running|wake/i);
|
||||
expect(humanizeError({ code: "console_unavailable" })).toMatch(/console/i);
|
||||
});
|
||||
|
||||
it("maps the backup rationing codes to their own copy", async () => {
|
||||
const { humanizeError } = await import("./api");
|
||||
expect(humanizeError({ code: "backup_cooldown" })).toMatch(/cooldown/i);
|
||||
expect(humanizeError({ code: "backup_store_full" })).toMatch(/store is full/i);
|
||||
});
|
||||
});
|
||||
|
||||
describe("image whitelist and builds wire shapes", () => {
|
||||
|
||||
Reference in new issue
Block a user