-
Notifications
You must be signed in to change notification settings - Fork 3.2k
fix(input): allow test value if no real value provided for inputs in deployed executions #2186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…deployed executions
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Greptile OverviewGreptile SummaryRemoved the Key Changes:
Behavior Change: Confidence Score: 4/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant Executor
participant buildStartBlockOutput
participant deriveInputFromFormat
participant buildUnifiedStartOutput
Executor->>buildStartBlockOutput: resolution, workflowInput
Note over Executor: Removed isDeployedExecution param
buildStartBlockOutput->>deriveInputFromFormat: inputFormat, workflowInput
Note over deriveInputFromFormat: For each field in inputFormat
alt fieldValue from workflowInput exists
deriveInputFromFormat->>deriveInputFromFormat: Use workflowInput value
else fieldValue is null/undefined
deriveInputFromFormat->>deriveInputFromFormat: Use field.value (test value)
Note over deriveInputFromFormat: NEW: Always use test value as fallback
end
deriveInputFromFormat-->>buildStartBlockOutput: structuredInput, hasStructured
buildStartBlockOutput->>buildUnifiedStartOutput: workflowInput, structuredInput, hasStructured
Note over buildUnifiedStartOutput: NEW: Receives structuredInput
alt hasStructured is true
buildUnifiedStartOutput->>buildUnifiedStartOutput: Add all structuredInput fields to output
end
loop For each workflowInput field
alt value is not empty
buildUnifiedStartOutput->>buildUnifiedStartOutput: Overwrite output[key]
else value is empty AND key not in output
buildUnifiedStartOutput->>buildUnifiedStartOutput: Set output[key] = empty value
else value is empty AND key exists in output
buildUnifiedStartOutput->>buildUnifiedStartOutput: Keep existing output[key]
Note over buildUnifiedStartOutput: Test value preserved
end
end
buildUnifiedStartOutput-->>buildStartBlockOutput: output
buildStartBlockOutput-->>Executor: blockOutput
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 files reviewed, 1 comment
Summary
realvalue provided for a field, but it is set in theinputForm, then use it even in deployed executions via API/chatType of Change
Testing
Tested manually
Checklist