feat: declare workspace repository in installation config

This commit is contained in:
2026-08-14 16:32:58 +02:00
parent 9db4463a83
commit 747020a330
9 changed files with 294 additions and 13 deletions
+5 -1
View File
@@ -632,7 +632,11 @@ test("normalizes historical operational state during offline fallback after rest
rmSync(remote.remote, { recursive: true, force: true });
const restored = new WorkspaceRegistry(config(root, remote.remote));
await expect(restored.pull()).resolves.toMatchObject({ degraded: true, head: remote.initialCommit });
await expect(restored.pull()).resolves.toMatchObject({
degraded: true,
head: remote.initialCommit,
repository: { host: "local", repository: "configured-repository", transport: "local" },
});
const listed = await restored.list();
const read = await restored.read("psd-clinical");
expect(listed[0]).not.toHaveProperty("state");