fix: stabilize runtime workspace identity
This commit is contained in:
@@ -104,10 +104,18 @@ test("runtime support stays fail-closed for either SSH connector", () => {
|
||||
});
|
||||
|
||||
test("renders a direct PostgreSQL binding to the legacy harness shape", () => {
|
||||
const yaml = renderRuntimeConfig(workspace, directBindings, paths);
|
||||
const yaml = renderRuntimeConfig(workspace, directBindings, paths, {
|
||||
workspaceId: "psd-clinical",
|
||||
workspaceRevision: "a".repeat(40),
|
||||
});
|
||||
const rendered = parse(yaml);
|
||||
|
||||
expect(rendered).toMatchObject({
|
||||
runtime_identity: {
|
||||
workspace_id: "psd-clinical",
|
||||
workspace_revision: "a".repeat(40),
|
||||
source_identity: "workspace://psd-clinical",
|
||||
},
|
||||
language: "it",
|
||||
database: {
|
||||
host: "dwh.internal",
|
||||
|
||||
Reference in New Issue
Block a user