Skip to content

Conversation

@TrafalgarZZZ
Copy link
Member

Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

fixes #XXXX

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
- Move IgnoreAlreadyExists, IgnoreNotFound, and IgnoreNoKindMatchError functions from crtl_utils.go to errors.go

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
- Move GetEnvByKey function from common.go to os_env.go
- Update related test cases from common_test.go to os_env_test.go

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 9, 2025

@codecov
Copy link

codecov bot commented Sep 9, 2025

Codecov Report

❌ Patch coverage is 87.09677% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.51%. Comparing base (22d8041) to head (897fb7d).
⚠️ Report is 22 commits behind head on master.

Files with missing lines Patch % Lines
pkg/utils/affinity.go 60.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5223      +/-   ##
==========================================
- Coverage   55.57%   55.51%   -0.06%     
==========================================
  Files         443      440       -3     
  Lines       30525    30449      -76     
==========================================
- Hits        16963    16903      -60     
+ Misses      12005    11993      -12     
+ Partials     1557     1553       -4     

☔ 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.

Copy link
Collaborator

@cheyang cheyang left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@RongGu RongGu merged commit a4f0d42 into fluid-cloudnative:master Sep 23, 2025
15 of 16 checks passed
@fluid-e2e-bot fluid-e2e-bot bot added the lgtm label Sep 24, 2025
@fluid-e2e-bot
Copy link

fluid-e2e-bot bot commented Sep 24, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheyang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Pikabooboo pushed a commit to Pikabooboo/fluid that referenced this pull request Sep 25, 2025
…re (fluid-cloudnative#5223)

* Clean unused code

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>

* Clean unused code in `ctrl_utils.go`

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>

* refactor(utils): move error handling functions to errors.go

- Move IgnoreAlreadyExists, IgnoreNotFound, and IgnoreNoKindMatchError functions from crtl_utils.go to errors.go

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>

* refactor(utils): remove unused Fluid utility functions

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>

* refactor(utils): move GetEnvByKey function to os_env.go

- Move GetEnvByKey function from common.go to os_env.go
- Update related test cases from common_test.go to os_env_test.go

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>

* refactor(utils): move error handling tests to errors_test.go

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>

---------

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants