fix(tool-input): restore workflow input mapper visibility#3438
fix(tool-input): restore workflow input mapper visibility#3438waleedlatif1 merged 1 commit intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview
Written by Cursor Bugbot for commit 077a595. Configure here. |
Greptile SummaryThis is a minimal, targeted bug fix that restores the visibility of workflow start input fields when a workflow is used as a tool inside an Agent block. The root cause was that Key observations:
Confidence Score: 5/5
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["getSubBlocksForToolInput()"] -->|"filters out EXCLUDED_SUBBLOCK_TYPES\n(including 'input-mapping')"| B["displaySubBlocks\n(filtered list)"]
C["toolBlock?.subBlocks\n(all subblocks, unfiltered)"] -->|"OLD: used for coveredParamIds"| D_old["coveredParamIds\n(includes 'inputMapping' ID)"]
B -->|"NEW: used for coveredParamIds"| D_new["coveredParamIds\n(does NOT include 'inputMapping' ID)"]
B --> E["renderSubBlock() loop\n(only displaySubBlocks rendered)"]
D_old --> F_old["uncoveredParams\n(inputMapping EXCLUDED ❌)"]
D_new --> F_new["uncoveredParams\n(inputMapping INCLUDED ✅)"]
F_new --> G["ParameterWithLabel renders\ninputMapping / workflow start inputs"]
F_old --> H["inputMapping never rendered\n(bug from #3211)"]
Last reviewed commit: 077a595 |
Summary
coveredParamIdswas changed fromdisplaySubBlockstoallBlockSubBlocksin feat(credentials): multiple credentials per provider #3211, which caused excluded subBlock types (likeinput-mapping) to still count as "covered", preventinginputMappingfrom rendering as an uncovered paramType of Change
Testing
Tested manually
Checklist