Skip to content

fix(cluster): consume release profile versions - #366

Draft
Levi080513 wants to merge 1 commit into
mainfrom
refactor-NEU-605
Draft

Levi080513 wants to merge 1 commit into
mainfrom
refactor-NEU-605

Conversation

@Levi080513

@Levi080513 Levi080513 commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Issue

NEU-605

Summary

Consume the control plane's registry-aware available-version response for cluster creation, upgrade, and Quick Start.

Changes

  • Add a shared URL builder for GET /clusters/available_versions without an accelerator-type query parameter.
  • Require an explicit API-provided version when creating a cluster; clear a stale selection when its source or returned matrix changes.
  • Use the API default version for Quick Start only after the public registry exists and the default is present in the returned versions.
  • Preserve an existing cluster version for read-only edit display when it is no longer creatable.

Test Plan

Unit test

  • Vitest targeted suites: 56 tests passed.
  • tsgo -b, targeted Biome, i18n tracker/key checks, dependency-cruiser, and git diff --check passed.

DB test

  • Not run: UI-only change; no migration or database behavior changed.

E2E test

  • Not run: staged Unit-only validation for this implementation slice. Deployment-backed Quick Start, create, and upgrade flows remain for Step 5.

Risk & Rollback

This UI requires GET /clusters/available_versions to return an eligible default for Quick Start. Roll back by reverting this commit together with the dependent control-plane API change.

@codecov-commenter

codecov-commenter commented Aug 4, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.12698% with 20 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pages/dashboard/QuickStartDialog.tsx 0.00% 15 Missing and 1 partial ⚠️
src/foundation/hooks/use-quick-start.ts 94.93% 3 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@Levi080513 Levi080513 changed the title feat: add cluster release version controls fix(cluster): consume release profile versions Aug 23, 2026
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