feat: add health check enumeration in settings - #29266
feat: add health check enumeration in settings#29266KHARSHAVARDHAN-eng wants to merge 4 commits into
Conversation
✅ Preview Environment deployed on Bunnyshell
See: Environment Details | Pipeline Logs Available commands (reply to this comment):
|
PR Summary by QodoAdd health check enumeration to Settings
AI Description
Diagram
High-Level Assessment
Files changed (21)
|
Code Review by Qodo
1.
|
|
Thanks for the review! I've addressed all four comments: Added RBAC enforcement using settings, get for Lua source visibility. All relevant Go/UI tests, lint, vet, and git diff --check are passing. The fixes have been pushed to the PR. |
|
@KHARSHAVARDHAN-eng can you please make sure that all CI steps are passing? Then let me know and I will have a look |
Add a Settings UI for inspecting all configured health check definitions, including built-in Go checks, embedded Lua checks, custom Lua checks, and overrides. The implementation adds health check enumeration through the SettingsService API and exposes the definitions in the Settings UI with search, filtering, metadata inspection, and read-only Lua source viewing. Fixes argoproj#29248 Signed-off-by: Harsha Vardhan <harshahvk2005@gmail.com>
Signed-off-by: Harsha Vardhan <harshahvk2005@gmail.com>
4ba216f to
7a01bf7
Compare
…tion Signed-off-by: Harsha Vardhan <harshahvk2005@gmail.com>
7a01bf7 to
38fbd5b
Compare
Bundle ReportChanges will increase total bundle size by 13.47kB (0.12%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: argo-cd-ui-array-pushAssets Changed:
|
1f30dbc to
b3166d4
Compare
Signed-off-by: Harsha Vardhan <harshahvk2005@gmail.com>
b3166d4 to
c6ff384
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #29266 +/- ##
=========================================
Coverage ? 65.58%
=========================================
Files ? 428
Lines ? 60737
Branches ? 0
=========================================
Hits ? 39834
Misses ? 17264
Partials ? 3639
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Summary
Adds a Settings → Health Checks view for inspecting configured Argo CD health checks.
What's included
Testing
go test ./gitops-engine/pkg/health/...go test ./util/lua/...go test ./server/settings/...pnpm lintpnpm test -- health-checks-listFixes #29248