feat: add dry-run workflow execution boundary
This commit is contained in:
@@ -54,6 +54,18 @@ export function createWorkflowShadowObserver({
|
||||
observed: false,
|
||||
reason: selection.reason,
|
||||
mode: selection.mode,
|
||||
executionPlan: selection.dryRun ? {
|
||||
version: 'workflow-execution-decision-v1',
|
||||
candidateEngine: selection.candidateEngine ?? WORKFLOW_ENGINE.NATIVE,
|
||||
effectiveEngine: selection.engine ?? WORKFLOW_ENGINE.NATIVE,
|
||||
fallbackEngine: selection.fallbackEngine ?? WORKFLOW_ENGINE.NATIVE,
|
||||
reason: selection.reason,
|
||||
candidateReason: selection.candidateReason ?? null,
|
||||
configVersion: selection.configVersion ?? null,
|
||||
bucket: selection.bucket ?? null,
|
||||
dryRun: true,
|
||||
handoffAllowed: false,
|
||||
} : null,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user