Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions apps/sidecar/test/support/workflow-lifecycle-fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,16 @@ export function makeWorkflowFrame(agentAddress: string): AgentDeployFrame {
agentAddress,
agentId: "lifecycle-agent",
hubPublicKey: "hub-pk",
// Boundary type assertion: the multi-step branch does not read config
config: {} as AgentDeployFrame["config"],
// Boundary type assertion: the multi-step branch does not read most of
// `config` -- but `tenantId`/`principalId` ride the deploy frame's
// config into the v2 deployment record (CL-8184), so a record written
// from this fixture must carry real values or every subsequent
// `readWorkflowDeploymentRecord` fails schema validation and silently
// returns undefined.
config: {
tenantId: "tenant-lifecycle-fixture",
principalId: "principal-lifecycle-fixture",
} as AgentDeployFrame["config"],
workflow: {
approvedWireHash: LIFECYCLE_APPROVED_WIRE_HASH,
sourceRef: {
Expand Down
Loading