richardmilles opened a new pull request, #18471: URL: https://github.com/apache/dolphinscheduler/pull/18471
## Was this PR generated or assisted by AI? YES. AI assistance was used for issue triage, locating the Start/Timing vs task-node inconsistency, drafting the change, and preparing this PR description. The change was reviewed against the existing task-node behavior in `use-environment-name.ts`. ## Purpose of the pull request Fixes #18372 (UI alignment) When switching worker group in workflow **Start** / **Timing** modals, `environmentCode` was always cleared. Task create/edit already keeps the environment when it remains bound to the newly selected worker group (`use-environment-name.ts`). This PR does **not** remove the environment↔worker-group binding. It only clears the environment when it is no longer valid for the new worker group. ## Brief change log - `start-modal.tsx`: clear environment only if not bound to the new worker group - `timing-modal.tsx`: same behavior -- 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]
