Skip to content

Commit 76118d2

Browse files
committed
test(service-automation): the plugin-node-type fixture's approval node carries the approvers its contract requires
registerFlow parses FlowSchema first, and the build doors now judge an approval node's config against its declared contract, so the vocabulary-seal fixture's contract-less approval node is refused before the test reaches what it measures. Claude-Session: https://claude.ai/code/session_01T9u38rswFp5Rw8DswRUReJ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3fc48ab commit 76118d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/services/service-automation/src/engine.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2626,7 +2626,7 @@ describe('Action Descriptor Registry (ADR-0018)', () => {
26262626
type: 'autolaunched' as const,
26272627
nodes: [
26282628
{ id: 'start', type: 'start', label: 'Start' },
2629-
{ id: 'custom', type, label: 'Custom' },
2629+
{ id: 'custom', type, label: 'Custom', ...(type === 'approval' ? { config: { approvers: [{ type: 'user', value: 'u1' }] } } : {}) },
26302630
{ id: 'end', type: 'end', label: 'End' },
26312631
],
26322632
edges: [

0 commit comments

Comments
 (0)