feat(cluster): add cluster analysis commands#666
Merged
Conversation
18c670c to
0d1bfcc
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a new qovery cluster analysis command group to start and inspect cluster “analysis” jobs (e.g., cost recommendation, deprecated API checks), and bumps qovery-client-go to a version that exposes the required API endpoints/types.
Changes:
- Add
qovery cluster analysiscommand group with subcommands to run analyses, list past analyses, and fetch analysis logs. - Implement a shared runner that can optionally watch analysis completion and print the resulting report logs.
- Update
github.com/qovery/qovery-client-godependency to a newer pseudo-version.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Bumps qovery-client-go to support cluster analysis APIs. |
| go.sum | Updates module checksums for the bumped qovery-client-go version. |
| cmd/cluster_analysis.go | Adds the cluster analysis command group plus shared helpers (output parsing, status helpers, HTTP error formatting, log rendering). |
| cmd/cluster_analysis_runner.go | Adds the common “start + optional watch + print logs” runner and shared flags. |
| cmd/cluster_analysis_logs.go | Adds cluster analysis logs to fetch and print a past analysis report/log stream (text or JSON). |
| cmd/cluster_analysis_list.go | Adds cluster analysis list to list prior analyses for a cluster (table or JSON). |
| cmd/cluster_analysis_deprecated_api.go | Adds cluster analysis deprecated-api runner subcommand. |
| cmd/cluster_analysis_cost_recommendation.go | Adds cluster analysis cost-recommendation runner subcommand. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
e1ff66a to
b6b1f8c
Compare
benjaminch
approved these changes
Jun 25, 2026
b6b1f8c to
e262e30
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.