feat: activate workspaces from the root catalog and bootstrap-only publication
This commit is contained in:
@@ -193,7 +193,7 @@ function evidenceRender(
|
||||
test("renders filesystem Evidence below the immutable revision content root with default policy", () => {
|
||||
const yaml = evidenceRender({
|
||||
type: "filesystem",
|
||||
uri: "workspace-content/psd-clinical/evidence",
|
||||
uri: "psd-clinical/evidence",
|
||||
});
|
||||
const rendered = parse(yaml);
|
||||
|
||||
@@ -201,7 +201,7 @@ test("renders filesystem Evidence below the immutable revision content root with
|
||||
expect(rendered.evidence).toEqual({
|
||||
sources: [{
|
||||
type: "filesystem",
|
||||
root: `/srv/registry/snapshots/${evidenceRevision}/workspace-content/psd-clinical/evidence`,
|
||||
root: `/srv/registry/snapshots/${evidenceRevision}/psd-clinical/evidence`,
|
||||
patterns: ["**/*.md"],
|
||||
max_bytes: 10_485_760,
|
||||
}],
|
||||
@@ -400,7 +400,7 @@ test.each([
|
||||
test("is byte deterministic and revision-bound for descriptor-identical content-only commits", () => {
|
||||
const source = {
|
||||
type: "filesystem",
|
||||
uri: "workspace-content/psd-clinical/evidence",
|
||||
uri: "psd-clinical/evidence",
|
||||
};
|
||||
const first = evidenceRender(source);
|
||||
expect(evidenceRender(source)).toBe(first);
|
||||
@@ -424,7 +424,7 @@ test("is byte deterministic and revision-bound for descriptor-identical content-
|
||||
expect(next).not.toBe(first);
|
||||
expect(nextParsed.runtime_identity.workspace_revision).toBe(nextRevision);
|
||||
expect(nextParsed.evidence.sources[0].root).toBe(
|
||||
`/srv/registry/snapshots/${nextRevision}/workspace-content/psd-clinical/evidence`,
|
||||
`/srv/registry/snapshots/${nextRevision}/psd-clinical/evidence`,
|
||||
);
|
||||
expect(nextParsed.evidence.sources[0].root).not.toBe(firstParsed.evidence.sources[0].root);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user