kubeblocks icon indicating copy to clipboard operation
kubeblocks copied to clipboard

chore: move h-scale lifecycle into ITS

Open leon-ape opened this issue 8 months ago • 4 comments

Summary

  • Move horizontal scale lifecycle ownership into the workload controller.
  • Add pod-centric lifecycle state and execution for data load, member join, and member leave in InstanceSet.
  • Turn component into a compatibility shell that translates intent and consumes InstanceSet state, while removing the old replicas-status and task-event based execution path.

leon-ape avatar Mar 25 '26 03:03 leon-ape

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

apecloud-bot avatar Mar 25 '26 03:03 apecloud-bot

/nopick

leon-ape avatar Mar 25 '26 03:03 leon-ape

Codecov Report

:x: Patch coverage is 63.13725% with 94 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 51.86%. Comparing base (edbff89) to head (5c8daef). :warning: Report is 142 commits behind head on main.

Files with missing lines Patch % Lines
...oller/instanceset/reconciler_instance_alignment.go 57.14% 50 Missing and 19 partials :warning:
apis/workloads/v1/instanceset_types.go 0.00% 10 Missing :warning:
...ers/apps/component/transformer_component_status.go 25.00% 4 Missing and 2 partials :warning:
pkg/controller/builder/builder_instance_set.go 0.00% 3 Missing :warning:
pkg/controller/lifecycle/lfa_data.go 66.66% 2 Missing and 1 partial :warning:
...ps/component/transformer_component_workload_ops.go 71.42% 1 Missing and 1 partial :warning:
...s/apps/component/transformer_component_workload.go 66.66% 0 Missing and 1 partial :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10105      +/-   ##
==========================================
+ Coverage   51.60%   51.86%   +0.25%     
==========================================
  Files         525      524       -1     
  Lines       58397    57980     -417     
==========================================
- Hits        30138    30069      -69     
+ Misses      25305    24970     -335     
+ Partials     2954     2941      -13     
Flag Coverage Δ
unittests 51.86% <63.13%> (+0.25%) :arrow_up:

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

:umbrella: View full report in Codecov by Harness.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Mar 25 '26 03:03 codecov[bot]

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment

github-actions[bot] avatar May 11 '26 00:05 github-actions[bot]