zhang-arvin opened a new pull request, #18575:
URL: https://github.com/apache/dolphinscheduler/pull/18575

   ## What is the purpose of the pull request
   
   When multiple sub-processes exist in a parent workflow, the parent's 
accumulated VarPool was being merged into each sub-workflow's start parameters. 
This caused all sub-workflows to receive the same VarPool parameters, leading 
to parameter duplication and incorrect values in the sub-workflow's task 
instances.
   
   ## Brief change log
   
   - Remove `workflowInstance.getVarPool()` from the `paramList` merge in 
`SubWorkflowLogicTask.triggerNewSubWorkflow()`
   - Sub-workflows now only receive global params and command params from the 
parent
   - The sub-workflow's own tasks generate their VarPool from within the 
sub-workflow's execution context
   
   ## Verify this pull request
   
   This pull request is a code cleanup without any test coverage.
   
   ## Which issue this PR fixes
   
   Fixes apache/dolphinscheduler#16879


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to