Skip to content

WIP: Add resource-based alert rules with evaluation engine, event bus integration, and UI#13478

Draft
Damans227 wants to merge 14 commits into
apache:mainfrom
Damans227:resource-alerts
Draft

WIP: Add resource-based alert rules with evaluation engine, event bus integration, and UI#13478
Damans227 wants to merge 14 commits into
apache:mainfrom
Damans227:resource-alerts

Update icon for monitoring section to BarChartOutlined

505b120
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 29, 2026 in 0s

18.96% (+0.06%) compared to 21e4475

View this Pull Request on Codecov

18.96% (+0.06%) compared to 21e4475

Details

Codecov Report

❌ Patch coverage is 30.48469% with 545 lines in your changes missing coverage. Please review.
✅ Project coverage is 18.96%. Comparing base (21e4475) to head (505b120).
⚠️ Report is 38 commits behind head on main.

Files with missing lines Patch % Lines
...dstack/resourcealert/ResourceAlertManagerImpl.java 48.16% 101 Missing and 26 partials ⚠️
...dstack/resourcealert/ResourceAlertServiceImpl.java 31.64% 94 Missing and 14 partials ⚠️
...ck/resourcealert/dao/ResourceAlertRuleDaoImpl.java 0.00% 59 Missing ⚠️
...dstack/resourcealert/dao/ResourceAlertDaoImpl.java 0.00% 44 Missing ⚠️
...esourcealert/dao/ResourceAlertRuleJoinDaoImpl.java 0.00% 35 Missing ⚠️
.../api/command/admin/CreateResourceAlertRuleCmd.java 0.00% 27 Missing ⚠️
...tack/resourcealert/vo/ResourceAlertRuleJoinVO.java 0.00% 25 Missing ⚠️
.../api/command/admin/UpdateResourceAlertRuleCmd.java 0.00% 23 Missing ⚠️
...oudstack/resourcealert/vo/ResourceAlertRuleVO.java 58.33% 19 Missing and 1 partial ⚠️
.../api/command/admin/DeleteResourceAlertRuleCmd.java 0.00% 16 Missing ⚠️
... and 7 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #13478      +/-   ##
============================================
+ Coverage     18.89%   18.96%   +0.06%     
- Complexity    18240    18432     +192     
============================================
  Files          6179     6215      +36     
  Lines        555527   557197    +1670     
  Branches      67807    68047     +240     
============================================
+ Hits         104968   105647     +679     
- Misses       439028   439934     +906     
- Partials      11531    11616      +85     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.