-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[Bug] [Workflow] Fix workflow failure strategy bug #11793
Conversation
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.
LGTM
Codecov Report
@@ Coverage Diff @@
## dev #11793 +/- ##
============================================
- Coverage 39.60% 39.58% -0.02%
Complexity 4693 4693
============================================
Files 1014 1014
Lines 37952 37960 +8
Branches 4243 4245 +2
============================================
- Hits 15030 15027 -3
- Misses 21315 21326 +11
Partials 1607 1607
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
LGTM
.../src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java
Outdated
Show resolved
Hide resolved
I found the UT case |
.../src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java
Outdated
Show resolved
Hide resolved
@caishunfeng Of course. I will take a look. Thanks for the reminder : ) |
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.
LGTM, it will be better if you can add UT.
Sure, I'm working on it. |
…d unit tests for different workflow failure strategies and depend results
Refactored some code for better readability and testability. Related unit tests added : ) PTAL @ruanwenjun @caishunfeng @SbloodyS @stalary |
Kudos, SonarCloud Quality Gate passed! |
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.
+1
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.
LGTM 👍
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.
According to the docs about this feature, I think there are disagreements.
@lenboo May I ask whether the |
|
@lenboo Thanks for the reply. I've add the topic to community bi-weekly conference topic list, looking forward to the discussion tonight : ) |
I'm closing it temporarily. Will submit a design later. |
Purpose of the pull request
Brief change log
Make
Failure Strategy
continue
work.For details, see [Bug] [Workflow] Workflow failure strategy does not work as expected #11781
Verify this pull request