Show in-cluster Radar upgrade status - #1573
Merged
Merged
Conversation
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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.
Summary
Shows standalone in-cluster operators which Radar version is running, whether a newer release is available, and the correct place to make the upgrade. Verified Helm and GitOps ownership links directly to the managing object; uncertain ownership falls back to safe installation-specific guidance.
What changed
In-cluster upgrade experience
Version checks
Testing
make testmake build(includes frontend type-check and production build)Deployment note
Deploy the paired receiver change before releasing this Radar change: https://github.com/skyhook-dev/marketing/pull/284
Note
Medium Risk
Changes outbound update telemetry (browser relay, install timestamp, channel/source params) and version-check caching paths used at startup and in Cloud mode; UI routing depends on ownership detection being correct to avoid misleading upgrade CTAs.
Overview
In-cluster operators now see the running Radar version on the Home cluster summary, with tiered emphasis when a newer release exists (patch vs minor vs stale/major). Verified Helm or GitOps ownership can deep-link into the Helm release or managing Argo/Flux object; uncertain ownership falls back to the in-cluster upgrade docs instead of GitHub release notes.
The floating Update Available popup is suppressed for in-cluster and Cloud deployments (local/desktop unchanged). Settings upgrade links route in-cluster users to the same docs.
Backend version checks are reworked: per-source caching with single-flight coalescing, build channel and
sourcequery params onreleases.skyhook.io,CheckForUpdateReleasefor Cloud and dev-shaped builds, andIsReleaseVersion(semver) replacing ad-hoc regex in the explorer reachability path. A newPOST /api/version-check/browserlets the UI relay one extra telemetry check per API base and UTC day after a successful version lookup (in-cluster only; dev builds skip relay).Cloud connect self exposes
controllerReffor verified GitOps so the UI can navigate without guessing. Docs expand Upgrading (Helm, GitOps, verification/rollback) and tighten ingress auth guidance.MakefileVERSIONusesgit describewithv*tags only.Reviewed by Cursor Bugbot for commit dcb8c29. Bugbot is set up for automated code reviews on this repo. Configure here.