Skip to content

Conversation

@cjc7373
Copy link
Contributor

@cjc7373 cjc7373 commented Jan 29, 2026

The current component condition provides very little information about why the component is not healthy.

@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines. label Jan 29, 2026
@apecloud-bot
Copy link
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

@cjc7373 cjc7373 added the pick-1.1 Auto cherry-pick to release-1.1 when PR merged label Jan 29, 2026
@cjc7373 cjc7373 force-pushed the support/refactor-comp-status branch from eae9b69 to 88b0496 Compare January 30, 2026 09:50
@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

❌ Patch coverage is 66.66667% with 45 lines in your changes missing coverage. Please review.
✅ Project coverage is 51.39%. Comparing base (a54d6f6) to head (8038a82).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ers/apps/component/transformer_component_status.go 69.23% 31 Missing and 9 partials ⚠️
pkg/controller/component/available.go 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10032      +/-   ##
==========================================
+ Coverage   51.26%   51.39%   +0.12%     
==========================================
  Files         539      539              
  Lines       58727    58786      +59     
==========================================
+ Hits        30108    30212     +104     
+ Misses      25667    25629      -38     
+ Partials     2952     2945       -7     
Flag Coverage Δ
unittests 51.39% <66.66%> (+0.12%) ⬆️

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.

// TODO: replicas == 0, stopped, updating, abnormal?
WithPhases: pointer.String(string(appsv1.RunningComponentPhase)),
WithPhases: pointer.String(strings.Join(
[]string{string(appsv1.RunningComponentPhase), string(appsv1.UpdatingComponentPhase)},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updating is added as a default available phase, because any pod fail (such as a node down) can cause the phase to become Updating

@cjc7373 cjc7373 force-pushed the support/refactor-comp-status branch from a001419 to 8038a82 Compare February 3, 2026 07:45
@cjc7373 cjc7373 marked this pull request as ready for review February 3, 2026 07:46
@cjc7373 cjc7373 requested a review from a team as a code owner February 3, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pick-1.1 Auto cherry-pick to release-1.1 when PR merged size/L Denotes a PR that changes 100-499 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants