You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "xiaolailong (via GitHub)" <gi...@apache.org> on 2024/01/16 07:32:18 UTC

[PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

xiaolailong opened a new pull request, #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492

   <!--Thanks very much for contributing to Apache DolphinScheduler, we are happy that you want to help us improve DolphinScheduler! -->
   
   ## Purpose of the pull request
   
   When import a dependent task from json file, the up-stream code of process and task is not re-generated, which cause the import error. (The import operation return success, but when you open the detail of dependend task, it will show many error message like: "can not found process definition")
   
   <!--(For example: This pull request adds checkstyle plugin).-->
   
   ## Brief change log
   
   <!--*(for example:)*
   - *Add maven-checkstyle-plugin to root pom.xml*
   -->
   
   ## Verify this pull request
   
   <!--*(Please pick either of the following options)*-->
   
   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:
   
   <!--*(example:)*
   - *Added dolphinscheduler-dao tests for end-to-end.*
   - *Added CronUtilsTest to verify the change.*
   - *Manually verified the change by testing locally.* -->
   
   (or)
   
   If your pull request contain incompatible change, you should also add it to `docs/docs/en/guide/upgrede/incompatible.md`
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #15492: [API] [bug] dependent task need regenerate up-stream code when import
URL: https://github.com/apache/dolphinscheduler/pull/15492


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "rickchengx (via GitHub)" <gi...@apache.org>.
rickchengx commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-1902912308

   @xiaolailong Thanks for your contributions. Maybe we should also regenerate the task code when import other task types, such as SUB_PROCESS and CONDITIONS, what do u think? Can this replacement be done in a uniform way?


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "xiaolailong (via GitHub)" <gi...@apache.org>.
xiaolailong commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-1893214206

   > Please link this pr to your issue. @xiaolailong
   
   Thank you for reminding!There is no relevant issue, should I create one?


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-1902952874

   ## [![Quality Gate Failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-failed-20px.png 'Quality Gate Failed')](https://sonarcloud.io/dashboard?id=apache-dolphinscheduler&pullRequest=15492) **Quality Gate failed**  
   Failed conditions
   
   [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=15492&metric=new_coverage&view=list) (required ≥ 60%)  
     
   [See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache-dolphinscheduler&pullRequest=15492)
   
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-1897633185

   ## [![Quality Gate Failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-failed-20px.png 'Quality Gate Failed')](https://sonarcloud.io/dashboard?id=apache-dolphinscheduler&pullRequest=15492) **Quality Gate failed**  
   Failed conditions
   
   [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=15492&metric=new_coverage&view=list) (required ≥ 60%)  
     
   [See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache-dolphinscheduler&pullRequest=15492)
   
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-1897626797

   ## [Codecov](https://app.codecov.io/gh/apache/dolphinscheduler/pull/15492?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   Attention: `40 lines` in your changes are missing coverage. Please review.
   > Comparison is base [(`e1fcd4e`)](https://app.codecov.io/gh/apache/dolphinscheduler/commit/e1fcd4e485531677fbbe203e107873e00b8c63c6?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 38.02% compared to head [(`0a8a284`)](https://app.codecov.io/gh/apache/dolphinscheduler/pull/15492?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 38.00%.
   
   > :exclamation: Current head 0a8a284 differs from pull request most recent head 37465df. Consider uploading reports for the commit 37465df to get more accurate results
   
   | [Files](https://app.codecov.io/gh/apache/dolphinscheduler/pull/15492?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
   |---|---|---|
   | [...api/service/impl/ProcessDefinitionServiceImpl.java](https://app.codecov.io/gh/apache/dolphinscheduler/pull/15492?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZG9scGhpbnNjaGVkdWxlci1hcGkvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2RvbHBoaW5zY2hlZHVsZXIvYXBpL3NlcnZpY2UvaW1wbC9Qcm9jZXNzRGVmaW5pdGlvblNlcnZpY2VJbXBsLmphdmE=) | 0.00% | [40 Missing :warning: ](https://app.codecov.io/gh/apache/dolphinscheduler/pull/15492?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   
   <details><summary>Additional details and impacted files</summary>
   
   
   ```diff
   @@             Coverage Diff              @@
   ##                dev   #15492      +/-   ##
   ============================================
   - Coverage     38.02%   38.00%   -0.03%     
     Complexity     4688     4688              
   ============================================
     Files          1304     1304              
     Lines         44786    44779       -7     
     Branches       4802     4787      -15     
   ============================================
   - Hits          17031    17018      -13     
   - Misses        25904    25911       +7     
   + Partials       1851     1850       -1     
   ```
   
   
   
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/dolphinscheduler/pull/15492?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-2123630847

   This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 7 days if no further activity occurs.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "fuchanghai (via GitHub)" <gi...@apache.org>.
fuchanghai commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-1894983951

   hi @SbloodyS  plz check #14956 
   <img width="1315" alt="image" src="https://github.com/apache/dolphinscheduler/assets/33984497/3f253676-00e0-40c7-adca-042bfe0fd245">
   Importing ```subprocess```, ```condition```, ```switch```, and ```dependcy``` is actually a type of problem. We need to split it into multiple PRs to do it. cc @EricGao888 @chenshuai1995 @ruanwenjun 


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "xiaolailong (via GitHub)" <gi...@apache.org>.
xiaolailong commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-1897593728

   > @xiaolailong plz run 'mvn spotless:apply' to fix these violations.
   
   Thank you for guideline! already done.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-1894992651

   > Importing `subprocess`, `condition`, `switch`, and `dependcy` is actually a type of problem.
   
   Thanks. I overlooked some potential issues. I've replyed in https://github.com/apache/dolphinscheduler/pull/14956#issuecomment-1894991875.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "xiaolailong (via GitHub)" <gi...@apache.org>.
xiaolailong commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-1893321303

   > Please link this pr to your issue. @xiaolailong
   
   issue is [https://github.com/apache/dolphinscheduler/issues/15493](url)
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-2136306090

   This pull request has been closed because it has not had recent activity. You could reopen it if you try to continue your work, and anyone who are interested in it are encouraged to continue work on this pull request.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-1902954339

   ## [![Quality Gate Failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-failed-20px.png 'Quality Gate Failed')](https://sonarcloud.io/dashboard?id=apache-dolphinscheduler&pullRequest=15492) **Quality Gate failed**  
   Failed conditions
   
   [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=15492&metric=new_coverage&view=list) (required ≥ 60%)  
     
   [See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache-dolphinscheduler&pullRequest=15492)
   
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "fuchanghai (via GitHub)" <gi...@apache.org>.
fuchanghai commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-1894980678

   @xiaolailong plz run 'mvn spotless:apply' to fix these violations.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [API] [bug] dependent task need regenerate up-stream code when import [dolphinscheduler]

Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #15492:
URL: https://github.com/apache/dolphinscheduler/pull/15492#issuecomment-1897633732

   ## [![Quality Gate Failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-failed-20px.png 'Quality Gate Failed')](https://sonarcloud.io/dashboard?id=apache-dolphinscheduler&pullRequest=15492) **Quality Gate failed**  
   Failed conditions
   
   [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=15492&metric=new_coverage&view=list) (required ≥ 60%)  
     
   [See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache-dolphinscheduler&pullRequest=15492)
   
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org