Skip to content

Conversation

@ruanwenjun
Copy link
Member

Purpose of the pull request

Fix taskGroup priority will be used as compare rule when the two task instance is not at the same queue

Brief change log

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)

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_fixDeleteWorkingDirectoryDev branch from a255d4d to f8ed640 Compare January 15, 2024 09:28
@codecov-commenter
Copy link

codecov-commenter commented Jan 15, 2024

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (e1fcd4e) 38.02% compared to head (747b7ec) 38.03%.

❗ Current head 747b7ec differs from pull request most recent head c9a54e9. Consider uploading reports for the commit c9a54e9 to get more accurate results

Files Patch % Lines
.../server/master/runner/WorkflowExecuteRunnable.java 13.33% 13 Missing ⚠️
...ervice/queue/StandByTaskInstancePriorityQueue.java 90.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##                dev   #15486   +/-   ##
=========================================
  Coverage     38.02%   38.03%           
- Complexity     4687     4688    +1     
=========================================
  Files          1304     1304           
  Lines         44786    44791    +5     
  Branches       4802     4803    +1     
=========================================
+ Hits          17030    17035    +5     
  Misses        25904    25904           
  Partials       1852     1852           

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

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_fixDeleteWorkingDirectoryDev branch 3 times, most recently from ccfbcdc to e67b417 Compare January 17, 2024 13:44
@ruanwenjun ruanwenjun added bug Something isn't working 3.2.1 labels Jan 17, 2024
@ruanwenjun ruanwenjun self-assigned this Jan 17, 2024
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_fixDeleteWorkingDirectoryDev branch from e67b417 to c9a54e9 Compare January 17, 2024 14:05
@ruanwenjun ruanwenjun added this to the 3.2.1 milestone Jan 17, 2024
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

50.6% Coverage on New Code (required ≥ 60%)

See analysis details on SonarCloud

Copy link
Member

@fuchanghai fuchanghai left a comment

Choose a reason for hiding this comment

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

LGTM

Long.compare(o1.getTaskInstancePriority().getCode(), o2.getTaskInstancePriority().getCode());

if (o1.getTaskGroupId() == o2.getTaskGroupId()) {
// Is at the same taskGroup
Copy link
Member

Choose a reason for hiding this comment

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

hi @ruanwenjun Do we change it to If at the same taskGroup

Copy link
Member

Choose a reason for hiding this comment

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

others LGTM

@fuchanghai fuchanghai merged commit 44c356d into apache:dev Jan 18, 2024
@ruanwenjun ruanwenjun deleted the dev_wenjun_fixDeleteWorkingDirectoryDev branch January 29, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants