Skip to content

Conversation

kvermeulen
Copy link

Purpose of the pull request

Close #17534

Brief change log

When triggering a sub workflow, lookup all global parameters from the current, and any parent workflow instances and pass them along in the start param list of the trigger request of the sub workflow

Verify this pull request

This change added tests and can be verified as follows:

  • Added a new integration test for validating the fixed behaviour
  • Manually verified the change by using the test-case mentioned in issue #17534

Pull Request Notice

Pull Request Notice

This is my very first pull-request, so bear with me on this one. :-)

A colleague of mine opened the original issue. This PR fixes these erroneous workflows for us, but I'm not entirely sure if this is the correct approach taken. I'll try and follow-up to make sure this PR meets all coding conventions and fulfills all requirements. I'll do my best on taking the time on improving the implementation on any pointers/advice given, if the implementation in the PR is not entirely correct or does not cover all use-cases, but I can't make any promises there.

Thank you for reviewing.

Copy link

boring-cyborg bot commented Oct 14, 2025

Thanks for opening this pull request! Please check out our contributing guidelines. (https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md)

@ruanwenjun
Copy link
Member

3.3.1 has been closed, please submit PR to dev.

@kvermeulen
Copy link
Author

I tried rebasing this one on dev. Is this sufficient, or should I create an entire new PR?

@ruanwenjun
Copy link
Member

I tried rebasing this one on dev. Is this sufficient, or should I create an entire new PR?

No need to create a new PR.

@ruanwenjun ruanwenjun added this to the 3.3.2 milestone Oct 15, 2025
@ruanwenjun ruanwenjun added the bug Something isn't working label Oct 15, 2025
…ny parent workflow instances to sub workflow
@kvermeulen
Copy link
Author

Fixed the 3 issues detected by sonarqube

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend bug Something isn't working test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [Service/Master] Global variables of sub-workflows not getting inherited by underlying sub-workflows

2 participants