Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Improve checkResourceStatus readability #21260

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tangboxuan
Copy link

The previous checkResourceStatus function was not very readable as it listed each combination of watch options for health, and this PR aims to simplify and improve the readability of the heath checks in checkResourceStatus function.

@tangboxuan tangboxuan requested a review from a team as a code owner December 19, 2024 16:24
Copy link

bunnyshell bot commented Dec 19, 2024

🔴 Preview Environment stopped on Bunnyshell

See: Environment Details | Pipeline Logs

Available commands (reply to this comment):

  • 🔵 /bns:start to start the environment
  • 🚀 /bns:deploy to redeploy the environment
  • /bns:delete to remove the environment

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

Can you fix the typo in the PR title?

@tangboxuan tangboxuan changed the title chore: Improve checkResrouceStatus readability chore: Improve checkResourceStatus readability Dec 23, 2024
Signed-off-by: Boxuan Tang <[email protected]>
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.29%. Comparing base (f15e1bc) to head (c487783).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #21260      +/-   ##
==========================================
- Coverage   55.23%   53.29%   -1.95%     
==========================================
  Files         337      337              
  Lines       57055    57047       -8     
==========================================
- Hits        31515    30403    -1112     
- Misses      22847    24000    +1153     
+ Partials     2693     2644      -49     

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

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.

2 participants