fix: expose catalog identity as a sha256 content digest

This commit is contained in:
2026-08-11 19:25:04 +02:00
parent 82b5453c88
commit ad3c3125a8
2 changed files with 3 additions and 2 deletions
@@ -160,7 +160,7 @@ test("active workspace rendering is byte-identical to direct snapshot rendering"
expect(active.renderedConfig).toBe(direct.renderedConfig);
expect(active.workspaceRevision).toBe(f.revision.commit);
expect(active.descriptorBlob).toMatch(/^sha256:[0-9a-f]{64}$/);
expect(active.catalogBlob).toMatch(/^[0-9a-f]{40}$/);
expect(active.catalogBlob).toMatch(/^sha256:[0-9a-f]{64}$/);
});
test("deterministic operator leases publish one revision-bound protected config and refuse changed same-revision bytes", async () => {