Skip to content

Surface outdated Helm chart versions and handle MCP query failures gracefully - #180

Merged
Safouene1 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:newer-helm-chart-versions
Jul 23, 2026
Merged

Surface outdated Helm chart versions and handle MCP query failures gracefully#180
Safouene1 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:newer-helm-chart-versions

Conversation

@gianlucam76

Copy link
Copy Markdown
Member

Adds Helm chart version tracking to the dashboard, surfaced in three places:

  • Cluster list cards show an amber/blue arrow-up icon when a cluster has one or more Helm releases with a newer version or patch available.
  • The addon table on a cluster's detail page gains an "Update Available" column showing the newer version as a badge.
  • A new "Updates" button in the cluster heading queries the MCP server on demand and lists outdated releases as release (namespace): current -> latest available.

Also fixes MCP query error handling: previously, a failed MCP query (isError) fell through to the same "no data" empty-state message as a successful-but-empty response, so users couldn't tell a real failure from "nothing to report." All MCP-backed panels (debug, verify installation, analyze pipeline, cluster match, new updates button) now show a distinct "Unable to reach the MCP server. Try again later." message when the query errors. This is necessary since the mcp-server is an optional components.

@gianlucam76

Copy link
Copy Markdown
Member Author
Screenshot 2026-07-21 at 13 42 55 Screenshot 2026-07-21 at 13 43 13

@gianlucam76
gianlucam76 requested a review from Safouene1 July 21, 2026 16:48
Comment thread src/hooks/useMcp.tsx Outdated
Comment thread src/hooks/useMcp.tsx Outdated
});
};

const getOutdatedHelmCharts = async (

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think useMcp is becoming a god hook where everything is inside it with outdated helmcharts ,

Comment thread src/hooks/useMcp.tsx Outdated
@gianlucam76
gianlucam76 force-pushed the newer-helm-chart-versions branch from 44a0e53 to 41a87bd Compare July 22, 2026 06:36
…acefully

Adds Helm chart version tracking to the dashboard, surfaced in three places:
- Cluster list cards show an amber/blue arrow-up icon when a cluster has one or
more Helm releases with a newer version or patch available.
- The addon table on a cluster's detail page gains an "Update Available" column
showing the newer version as a badge.
- A new "Updates" button in the cluster heading queries the MCP server on demand
and lists outdated releases as release (namespace): current -> latest available.

Also fixes MCP query error handling: previously, a failed MCP query (isError) fell
through to the same "no data" empty-state message as a successful-but-empty response,
so users couldn't tell a real failure from "nothing to report." All MCP-backed panels
(debug, verify installation, analyze pipeline, cluster match, new updates button) now
show a distinct "Unable to reach the MCP server. Try again later." message when the
query errors. This is necessary since the mcp-server is an optional components.
@gianlucam76
gianlucam76 force-pushed the newer-helm-chart-versions branch from 41a87bd to bf882c9 Compare July 22, 2026 07:15
@Safouene1
Safouene1 merged commit 6c451f8 into projectsveltos:main Jul 23, 2026
1 check passed
@gianlucam76
gianlucam76 deleted the newer-helm-chart-versions branch July 23, 2026 07:35
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.

2 participants