Files
kubevela/references
Kampit Ojha ca9152164f Fix: vela status reports Healthy on workflowFailed with empty services (#7233)
* 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>
2026-07-14 16:10:48 +01: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.