Files
kubevela/references
8ee9eb2ebd Fix: vela status reports Healthy on workflowFailed with empty services (#7233) (#7234)
* Fix: vela status reports Healthy on workflowFailed with empty services

getAppHealth returned true when status.services was empty (vacuous truth),
so failed apps that never produced component status showed Healthy: .
Treat terminal/unhealthy phases, failed workflow steps, and empty services
as unhealthy, with unit tests.



* Style: fix import order in status_health_test.go



* Fix: treat failed workflow substeps as unhealthy in vela status

Address review feedback: scan SubStepsStatus for failed phases so
step-group workflows do not report Healthy when a nested substep failed.



* Fix: satisfy exhaustive linter on ApplicationPhase switch

Add default case so golangci exhaustive does not fail on intentional
partial phase handling in getAppHealth.



---------



(cherry picked from commit ca9152164f)

Signed-off-by: kampitojha <kampitojha@users.noreply.github.com>
Co-authored-by: Kampit Ojha <97059622+kampitojha@users.noreply.github.com>
Co-authored-by: kampitojha <kampitojha@users.noreply.github.com>
2026-07-15 09:11:19 +01:00
..
2024-07-27 17:44:20 +08:00

Vela CLI and Dashboard Reference Implementation

This folder contains all reference implementation of vela cli, apiserver and dashboard. It provides a PoC of how to integrate KubeVela with your own system, you can refer to these implementations and build your own.

The formal KubeVela APIServer is a standalone project called velacp.