mirror of
https://github.com/kubevela/kubevela.git
synced 2026-07-29 10:21:29 +00:00
* 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. Signed-off-by: kampitojha <kampitojha@users.noreply.github.com> * Style: fix import order in status_health_test.go Signed-off-by: kampitojha <kampitojha@users.noreply.github.com> * 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. Signed-off-by: kampitojha <kampitojha@users.noreply.github.com> * Fix: satisfy exhaustive linter on ApplicationPhase switch Add default case so golangci exhaustive does not fail on intentional partial phase handling in getAppHealth. Signed-off-by: kampitojha <kampitojha@users.noreply.github.com> --------- Signed-off-by: kampitojha <kampitojha@users.noreply.github.com> Co-authored-by: kampitojha <kampitojha@users.noreply.github.com>