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

fix(controller/ui): fix pod with sidecar state (cherry-pick #19843) #20393

Conversation

linghaoSu
Copy link
Contributor

fix(controller/ui): fix pod with sidecar state (#19843)

  • fix(controller): change pod status calculate with sidecar

Signed-off-by: linghaoSu linghao.su@daocloud.io

  • fix(controller): add restartable sidecar count in total container display

Signed-off-by: linghaoSu linghao.su@daocloud.io

  • fix(controller): update info test case conditions

Co-authored-by: Michael Crenshaw 350466+crenshaw-dev@users.noreply.github.com
Signed-off-by: Linghao Su slh001@live.cn

  • fix(controller): add more test case to cover more conditions

Signed-off-by: linghaoSu linghao.su@daocloud.io

  • fix(ui): check is condition exist before for of

Signed-off-by: linghaoSu linghao.su@daocloud.io

* fix(controller): change pod status calculate with sidecar

Signed-off-by: linghaoSu <linghao.su@daocloud.io>

* fix(controller): add restartable sidecar count in total container display

Signed-off-by: linghaoSu <linghao.su@daocloud.io>

* fix(controller): update info test case conditions

Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Linghao Su <slh001@live.cn>

* fix(controller): add more test case to cover more conditions

Signed-off-by: linghaoSu <linghao.su@daocloud.io>

* fix(ui): check is condition exist before for of

Signed-off-by: linghaoSu <linghao.su@daocloud.io>

---------

Signed-off-by: linghaoSu <linghao.su@daocloud.io>
Signed-off-by: Linghao Su <slh001@live.cn>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@linghaoSu linghaoSu requested a review from a team as a code owner October 16, 2024 02:15
@crenshaw-dev
Copy link
Member

I'm puzzled why this skipped tests...

@crenshaw-dev
Copy link
Member

Transient issue with the changed-files action. Looks like a restart fixed it.

@linghaoSu
Copy link
Contributor Author

image

@crenshaw-dev It seems the generated code check didn't pass. Should I regenerate this locally?

@crenshaw-dev
Copy link
Member

@linghaoSu no need, that check is broken for the release branches. I'm gonna try to get the UI build to pass, then we'll be good to merge.

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 96.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 55.96%. Comparing base (a9a8d0e) to head (1facc1d).
Report is 1 commits behind head on release-2.13.

Files with missing lines Patch % Lines
controller/cache/info.go 96.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release-2.13   #20393      +/-   ##
================================================
+ Coverage         55.88%   55.96%   +0.07%     
================================================
  Files               320      320              
  Lines             44451    44477      +26     
================================================
+ Hits              24843    24892      +49     
+ Misses            17040    17019      -21     
+ Partials           2568     2566       -2     

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

@crenshaw-dev crenshaw-dev merged commit 97a49a2 into argoproj:release-2.13 Oct 17, 2024
21 of 23 checks passed
@linghaoSu linghaoSu deleted the manual-cherrry-pick-e80de49-release-2.13 branch October 17, 2024 01:51
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.

3 participants