Skip to content

feat(health): add advisor to the moduleType enum - #114

Draft
traviswu-bigstack wants to merge 1 commit into
developfrom
travis.wu/advisor-health-module
Draft

traviswu-bigstack wants to merge 1 commit into
developfrom
travis.wu/advisor-health-module

Conversation

@traviswu-bigstack

Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind feature

What this PR does / why we need it

CubeCOS's cluster check framework is gaining an advisor component — it reports whether a node enrolled with the Cube AI Advisor still has its agent running (bigstack-oss/cubecos#1483). cube-cos-api declares it as a clusterSys module, which requires the name to be valid in this spec.

Which issue(s) this PR fixes

Part of bigstack-oss/cube-cos-api#659

Special notes for your reviewer

There are two moduleType enums in docs.yaml. Both are updated. Adding the name to only one leaves one endpoint accepting it while the other returns 400 — which reads as correct in a diff and fails in exactly half the cases.

Additional documentation


🤖 Generated with Claude Code

https://claude.ai/code/session_01PZ5umjjCedZwWtbAbiMjfj

Cube AI Advisor agent health/repair is landing in cubecos (#1485).
Add advisor to both moduleType path-param enums so the health and
repair endpoints accept it.

Signed-off-by: Travis Wu <travis.wu@bigstack.co>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PZ5umjjCedZwWtbAbiMjfj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant