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: rollout should skip timeout when paused #3711

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

Conversation

wangli1030
Copy link

@wangli1030 wangli1030 commented Jul 10, 2024

fix for issue #3534
Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
  • The title of the PR is (a) conventional with a list of types and scopes found here, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
  • I've signed my commits with DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My builds are green. Try syncing with master if they are not.

Copy link
Contributor

github-actions bot commented Jul 10, 2024

Go Published Test Results

2 171 tests   2 171 ✅  2m 54s ⏱️
  119 suites      0 💤
    1 files        0 ❌

Results for commit b996a85.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Jul 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.87%. Comparing base (bfef7f0) to head (648aa25).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3711      +/-   ##
==========================================
+ Coverage   83.86%   83.87%   +0.01%     
==========================================
  Files         163      163              
  Lines       18560    18560              
==========================================
+ Hits        15565    15567       +2     
+ Misses       2121     2120       -1     
+ Partials      874      873       -1     

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

Copy link
Contributor

github-actions bot commented Jul 10, 2024

E2E Tests Published Test Results

  4 files    4 suites   3h 23m 50s ⏱️
111 tests 105 ✅  6 💤 0 ❌
444 runs  420 ✅ 24 💤 0 ❌

Results for commit b996a85.

♻️ This comment has been updated with latest results.

@wangli1030 wangli1030 changed the title fix: rollout should timeout when paused fix: rollout should skip timeout when paused Jul 11, 2024
@wangli1030
Copy link
Author

Hi @zachaller, could you help to review this PR? This issue really trouble us when user did not promote Rollouts in certain timeframe(progressDeadlineSeconds) and controller will mark it as timeout, hence ArgoCD will mark it as Sync Failed. Also in Rollout spec, it clearly states that # Note that progress will not be estimated during the time a rollout is paused.. Let me know if you need more proof on this. Thank you.

@zachaller zachaller assigned zachaller and unassigned zachaller Jul 23, 2024
@zachaller
Copy link
Collaborator

Can you add a unit or e2e test for this?

@wangli1030
Copy link
Author

Can you add a unit or e2e test for this?

Sure, will add it.

@brianwarner brianwarner force-pushed the fix-skip-timeout-when-rollout-is-paused branch from b996a85 to 6b73de9 Compare August 8, 2024 13:25
Copy link
Contributor

github-actions bot commented Aug 8, 2024

Published E2E Test Results

  4 files    4 suites   3h 17m 32s ⏱️
113 tests 102 ✅  7 💤 4 ❌
456 runs  424 ✅ 28 💤 4 ❌

For more details on these failures, see this check.

Results for commit 648aa25.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Aug 8, 2024

Published Unit Test Results

2 277 tests   2 277 ✅  2m 59s ⏱️
  128 suites      0 💤
    1 files        0 ❌

Results for commit 648aa25.

♻️ This comment has been updated with latest results.

@brianwarner brianwarner force-pushed the fix-skip-timeout-when-rollout-is-paused branch from e9cce70 to afaf96e Compare August 8, 2024 18:20
@wangli1030
Copy link
Author

Hi @zachaller , UTs have been added. Please review it. Thank you.

@wangli1030 wangli1030 force-pushed the fix-skip-timeout-when-rollout-is-paused branch from 04bd09b to 648aa25 Compare August 28, 2024 02:02
Copy link

sonarcloud bot commented Aug 28, 2024

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