Skip to content

chore: refactor ops to centralize workload resource access#10159

Merged
leon-ape merged 6 commits intomainfrom
support/ops-runtime-abstraction
Apr 24, 2026
Merged

chore: refactor ops to centralize workload resource access#10159
leon-ape merged 6 commits intomainfrom
support/ops-runtime-abstraction

Conversation

@leon-ape
Copy link
Copy Markdown
Contributor

No description provided.

@leon-ape leon-ape added this to the Release 1.2.0 milestone Apr 22, 2026
@leon-ape leon-ape added the nopick Not auto cherry-pick when PR merged label Apr 22, 2026
@apecloud-bot
Copy link
Copy Markdown
Collaborator

Auto Cherry-pick Instructions

Usage:
  - /nopick: Not auto cherry-pick when PR merged.
  - /pick: release-x.x [release-x.x]: Auto cherry-pick to the specified branch when PR merged.

Example:
  - /nopick
  - /pick release-1.1

@github-actions github-actions Bot added the size/XXL Denotes a PR that changes 1000+ lines. label Apr 22, 2026
@leon-ape leon-ape force-pushed the support/ops-runtime-abstraction branch from ecd7cdb to a8d9030 Compare April 22, 2026 11:32
@leon-ape leon-ape changed the title chore: refactor ops runtime abstraction chore: refactor ops to centralize workload resource access Apr 22, 2026
@leon-ape leon-ape marked this pull request as ready for review April 23, 2026 04:00
@leon-ape leon-ape requested review from a team and wangyelei as code owners April 23, 2026 04:00
@leon-ape
Copy link
Copy Markdown
Contributor Author

/approve

@apecloud-bot apecloud-bot added the approved PR Approved Test label Apr 24, 2026
@apecloud-bot apecloud-bot removed the approved PR Approved Test label Apr 24, 2026
@leon-ape
Copy link
Copy Markdown
Contributor Author

#10129

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2026

Codecov Report

❌ Patch coverage is 58.97436% with 272 lines in your changes missing coverage. Please review.
✅ Project coverage is 52.49%. Comparing base (769e4ce) to head (a179c02).
⚠️ Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
pkg/operations/ops_runtime.go 61.41% 108 Missing and 39 partials ⚠️
pkg/operations/rebuild_instance.go 41.37% 24 Missing and 10 partials ⚠️
pkg/operations/switchover.go 37.93% 10 Missing and 8 partials ⚠️
controllers/operations/opsrequest_controller.go 30.00% 13 Missing and 1 partial ⚠️
pkg/operations/ops_progress_util.go 79.71% 7 Missing and 7 partials ⚠️
pkg/operations/horizontal_scaling.go 53.57% 8 Missing and 5 partials ⚠️
pkg/operations/ops_manager.go 52.63% 6 Missing and 3 partials ⚠️
pkg/operations/volume_expansion.go 72.22% 3 Missing and 2 partials ⚠️
pkg/operations/type.go 50.00% 3 Missing and 1 partial ⚠️
pkg/operations/upgrade.go 42.85% 2 Missing and 2 partials ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10159      +/-   ##
==========================================
+ Coverage   52.15%   52.49%   +0.34%     
==========================================
  Files         529      531       +2     
  Lines       60078    60889     +811     
==========================================
+ Hits        31335    31966     +631     
- Misses      25623    25699      +76     
- Partials     3120     3224     +104     
Flag Coverage Δ
unittests 52.49% <58.97%> (+0.34%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@leon-ape
Copy link
Copy Markdown
Contributor Author

/approve

@apecloud-bot apecloud-bot added the approved PR Approved Test label Apr 24, 2026
@apecloud-bot apecloud-bot removed the approved PR Approved Test label Apr 24, 2026
@leon-ape
Copy link
Copy Markdown
Contributor Author

/approve

@apecloud-bot apecloud-bot added the approved PR Approved Test label Apr 24, 2026
@leon-ape leon-ape merged commit 2f1c34b into main Apr 24, 2026
36 checks passed
@leon-ape leon-ape deleted the support/ops-runtime-abstraction branch April 24, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved PR Approved Test nopick Not auto cherry-pick when PR merged size/XXL Denotes a PR that changes 1000+ lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants