Skip to content

[FIX-10784][Bug] [ALERT-SERVER] FEISHU Plugin might block the whole alert process loop#10888

Merged
caishunfeng merged 6 commits intoapache:devfrom
pinkhello:closed-10784
Jul 13, 2022
Merged

[FIX-10784][Bug] [ALERT-SERVER] FEISHU Plugin might block the whole alert process loop#10888
caishunfeng merged 6 commits intoapache:devfrom
pinkhello:closed-10784

Conversation

@pinkhello
Copy link
Copy Markdown
Contributor

Purpose of the pull request

closed #10784

Brief change log

  • dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertConfig.java
  • dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertSenderService.java
  • dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml
  • dolphinscheduler-standalone-server/src/main/resources/application.yaml

Verify this pull request

This pull request is already covered by existing tests, such as dolphinscheduler-alert/dolphinscheduler-alert-server/src/test/java/org/apache/dolphinscheduler/alert/runner/AlertSenderServiceTest.java.

@pinkhello pinkhello changed the title Closed 10784 [FIX-10784][Bug] [ALERT-SERVER] FEISHU Plugin might block the whole alert process loop Jul 11, 2022
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jul 11, 2022

Codecov Report

Merging #10888 (09b1e3d) into dev (427c585) will increase coverage by 0.00%.
The diff coverage is 53.33%.

@@            Coverage Diff            @@
##                dev   #10888   +/-   ##
=========================================
  Coverage     40.31%   40.31%           
- Complexity     4857     4859    +2     
=========================================
  Files           943      943           
  Lines         36994    37007   +13     
  Branches       4059     4060    +1     
=========================================
+ Hits          14913    14919    +6     
- Misses        20578    20585    +7     
  Partials       1503     1503           
Impacted Files Coverage Δ
...org/apache/dolphinscheduler/alert/AlertConfig.java 0.00% <0.00%> (ø)
...che/dolphinscheduler/alert/AlertSenderService.java 54.74% <66.66%> (+0.41%) ⬆️
...e/dolphinscheduler/remote/NettyRemotingClient.java 52.08% <0.00%> (-0.70%) ⬇️
...er/master/dispatch/host/assign/RandomSelector.java 83.33% <0.00%> (+5.55%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 427c585...09b1e3d. Read the comment docs.

caishunfeng
caishunfeng previously approved these changes Jul 12, 2022
Copy link
Copy Markdown
Contributor

@caishunfeng caishunfeng left a comment

Choose a reason for hiding this comment

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

LGTM if CI pass

@caishunfeng
Copy link
Copy Markdown
Contributor

I had rerun the failed CI.

@pinkhello
Copy link
Copy Markdown
Contributor Author

LGTM if CI pass

I'll deal with it

@pinkhello pinkhello requested a review from caishunfeng July 12, 2022 03:23
@pinkhello
Copy link
Copy Markdown
Contributor Author

Please CR @caishunfeng

Tianqi-Dotes
Tianqi-Dotes previously approved these changes Jul 13, 2022
Copy link
Copy Markdown
Member

@Tianqi-Dotes Tianqi-Dotes left a comment

Choose a reason for hiding this comment

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

LGTM,GOOD JOB
Please check e2e failures. thanks!
dolphinscheduler-e2e-case: There are test failures.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

56.2% 56.2% Coverage
0.0% 0.0% Duplication

@pinkhello
Copy link
Copy Markdown
Contributor Author

LGTM,GOOD JOB Please check e2e failures. thanks! dolphinscheduler-e2e-case: There are test failures.

ok! done!

Copy link
Copy Markdown
Contributor

@caishunfeng caishunfeng left a comment

Choose a reason for hiding this comment

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

+1

@caishunfeng caishunfeng merged commit 7a15877 into apache:dev Jul 13, 2022
caishunfeng pushed a commit to caishunfeng/dolphinscheduler that referenced this pull request Jul 18, 2022
…lert process loop (apache#10888)

* closed 10784 [Bug] [ALERT-SERVER] FEISHU Plugin might block the whole alert process loop
caishunfeng pushed a commit to caishunfeng/dolphinscheduler that referenced this pull request Jul 18, 2022
…lert process loop (apache#10888)

* closed 10784 [Bug] [ALERT-SERVER] FEISHU Plugin might block the whole alert process loop
ruanwenjun pushed a commit to ruanwenjun/dolphinscheduler that referenced this pull request Aug 1, 2022
…lert process loop (apache#10888) (apache#30)

* closed 10784 [Bug] [ALERT-SERVER] FEISHU Plugin might block the whole alert process loop

Co-authored-by: pinkhello <lee123lee123@163.com>
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.

[Bug] [ALERT-SERVER] FEISHU Plugin might block the whole alert process loop

4 participants