Skip to content

fix: adapt console to operation v2 API - #433

Merged
lixd merged 2 commits into
kubeclipper:masterfrom
lixd:fix/operation-v2-console
Sep 7, 2026
Merged

lixd merged 2 commits into
kubeclipper:masterfrom
lixd:fix/operation-v2-console

Conversation

@lixd

@lixd lixd commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind bug
/kind regression

What this PR does / why we need it:

Adapts the console operation pages and log dialog to the Operation v2 API and
task model. It also keeps Registry optional for offline cluster creation, so
the packaged images can be loaded locally when no Registry resource is chosen.

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

The console branch is based on the current kubeclipper/console master and
intentionally excludes the unrelated CI change from the original local branch.

Does this PR introduced a user-facing change?

Fix operation display and logs with the Operation v2 API, and allow offline
cluster creation without a Registry resource.

Additional documentation, usage docs, etc.:

None.

lixd added 2 commits September 7, 2026 17:36
Signed-off-by: lixd <xueduan.li@gmail.com>
Signed-off-by: lixd <xueduan.li@gmail.com>
@codecov

codecov Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.72093% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.03%. Comparing base (c8ec5fe) to head (617ae25).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
src/utils/object.mapper.js 83.72% 5 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #433      +/-   ##
==========================================
- Coverage   47.30%   45.03%   -2.27%     
==========================================
  Files           7        8       +1     
  Lines         613      766     +153     
  Branches      176      223      +47     
==========================================
+ Hits          290      345      +55     
- Misses        250      334      +84     
- Partials       73       87      +14     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lixd lixd left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

/lgtm

@lixd
lixd merged commit d614f99 into kubeclipper:master Sep 7, 2026
6 checks passed
@lixd
lixd deleted the fix/operation-v2-console branch September 7, 2026 09:45
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