fix: separate Fifth Domain source deployment identities

This commit is contained in:
冰朔 2026-07-26 17:56:47 +08:00
commit 83589aa2c2
27 changed files with 620 additions and 73 deletions

View file

@ -314,7 +314,17 @@ test("deployment is dispatched only by an explicit approved second signal", asyn
assert.equal(dispatch.status, 202);
assert.equal((await dispatch.json()).receipt.state, "queued");
assert.equal(fs.readdirSync(path.join(dir, "queue")).length, 1);
}, { mapsDir, mapStateFile: path.join(dir, "acks.json"), deploymentQueueDir: path.join(dir, "queue"), actions: { "server-ops": ["read-navigation-map", "dispatch-approved-deployment"] } });
}, {
mapsDir,
mapStateFile: path.join(dir, "acks.json"),
deploymentQueueDir: path.join(dir, "queue"),
deploymentRepositories: {
"bingshuo/guanghu-ice-heart": {
repo_url: "https://example.invalid/guanghu-ice-heart.git",
},
},
actions: { "server-ops": ["read-navigation-map", "dispatch-approved-deployment"] },
});
} finally { fs.rmSync(dir, { recursive: true, force: true }); }
});