Feat(application): status details, dependencies, pending traits and applied policies (6/21)
Merged
BR
16d ago+2701+2701+0123456789012345678901234567890123456789-513-513-012345678901234567890123456789
Stack 6/21 · after #957 · next #959
Targets main but builds on #957, so the earlier stack commits show here too: review the last commit only. Merge after #957.
Description of your changes
The application status shows more of what KubeVela already reports:
- Status details of a component or trait (
status.details), on the graph's hover cards. - Dependencies: what each component waits on, from
dependsOn,inputsor a property expression, with expression reads marked. The Depends On picker no longer offers a component that would close a cycle. - Pending traits show as pending while their workload comes up, not as failed.
- Applied policies, global ones included, each with its scope (built-in, workload, application).


Fixes #
I have:
- Read and followed KubeVela's contribution process.
- Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
- Run
yarn lintto ensure the frontend changes are ready for review. - Run
make reviewableto ensure the server changes are ready for review. - Added
backport release-x.ylabels to auto-backport this PR if necessary.
Special notes for your reviewer
- A malformed
status.dependenciesis skipped rather than failing the whole status; there's a test for it.