Skip to content
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

[DSIP-46] Unify the logic task params data structure between front-end and back-end #16193

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

ruanwenjun
Copy link
Member

@ruanwenjun ruanwenjun commented Jun 20, 2024

Purpose of the pull request

close #16153

Brief change log

  • Remove extra parse logic parameter code in task instance, use task channel to parse task params
  • Remove some duplicate code of task type

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

Pull Request Notice

Pull Request Notice

If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_unifyLogicTaskParams branch 2 times, most recently from c227768 to e261d05 Compare June 20, 2024 13:20
@ruanwenjun ruanwenjun marked this pull request as draft June 21, 2024 01:29
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_unifyLogicTaskParams branch 2 times, most recently from b969cdc to 7d7d5f6 Compare June 22, 2024 09:24
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_unifyLogicTaskParams branch from 7d7d5f6 to 2fdfb02 Compare June 22, 2024 09:54
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_unifyLogicTaskParams branch 5 times, most recently from 97c8628 to 0639aa9 Compare June 22, 2024 14:25
@codecov-commenter
Copy link

codecov-commenter commented Jun 22, 2024

Codecov Report

Attention: Patch coverage is 19.44444% with 232 lines in your changes missing coverage. Please review.

Project coverage is 41.31%. Comparing base (f69e064) to head (255e6a4).

Current head 255e6a4 differs from pull request most recent head c3c0103

Please upload reports for the commit c3c0103 to get more accurate results.

Files Patch % Lines
...master/runner/task/switchtask/SwitchLogicTask.java 0.00% 37 Missing ⚠️
...ster/runner/task/condition/ConditionLogicTask.java 0.00% 15 Missing ⚠️
...ache/dolphinscheduler/service/utils/DagHelper.java 54.54% 8 Missing and 7 partials ⚠️
...inscheduler/plugin/task/api/TaskPluginManager.java 33.33% 9 Missing and 1 partial ⚠️
.../server/master/runner/WorkflowExecuteRunnable.java 0.00% 9 Missing ⚠️
...k/dependent/DependentAsyncTaskExecuteFunction.java 0.00% 8 Missing ⚠️
...r/plugin/task/api/parameters/SwitchParameters.java 0.00% 8 Missing ⚠️
...subworkflow/SubWorkflowLogicTaskPluginFactory.java 0.00% 6 Missing ⚠️
.../task/switchtask/SwitchLogicTaskPluginFactory.java 0.00% 6 Missing ⚠️
...lugin/task/api/parameters/DependentParameters.java 0.00% 6 Missing ⚠️
... and 64 more
Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #16193      +/-   ##
============================================
+ Coverage     41.00%   41.31%   +0.31%     
- Complexity     5157     5162       +5     
============================================
  Files          1400     1403       +3     
  Lines         44860    44423     -437     
  Branches       4747     4721      -26     
============================================
- Hits          18396    18355      -41     
+ Misses        24658    24264     -394     
+ Partials       1806     1804       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_unifyLogicTaskParams branch 8 times, most recently from adc2958 to 2d2ae78 Compare June 24, 2024 07:16
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_unifyLogicTaskParams branch from 2d2ae78 to ba64ebf Compare June 24, 2024 07:37
@ruanwenjun ruanwenjun marked this pull request as ready for review June 24, 2024 09:59
@SbloodyS SbloodyS added the 3.3.0 label Jun 24, 2024
@SbloodyS SbloodyS added this to the 3.3.0 milestone Jun 24, 2024
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_unifyLogicTaskParams branch from ba64ebf to 1b0173e Compare June 24, 2024 13:53
Copy link
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Contributor

@rickchengx rickchengx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

sonarcloud bot commented Jun 25, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
20.8% Coverage on New Code (required ≥ 60%)

See analysis details on SonarCloud

@ruanwenjun ruanwenjun merged commit ec6a3e0 into apache:dev Jun 25, 2024
62 of 65 checks passed
@ruanwenjun ruanwenjun deleted the dev_wenjun_unifyLogicTaskParams branch June 25, 2024 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DSIP-46] Unify the logic task params data structure between front-end and back-end
4 participants