-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[ws-manager] Stop workspaces timing out during backup #4943
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4943 +/- ##
=========================================
+ Coverage 0 36.37% +36.37%
=========================================
Files 0 13 +13
Lines 0 3736 +3736
=========================================
+ Hits 0 1359 +1359
- Misses 0 2261 +2261
- Partials 0 116 +116
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/auto-cc |
/werft run 👍 started the job as gitpod-build-csweichel-ws-manager-properly-stop-4937.3 |
While testing I see the screen above (timeout) but the pod is still dangling in "Terminating". Last line of the ws log is:
|
during offline discussion with @meysholdt we figured that for now we should match the prior 1h timeout for |
This strikes me as a separate issue because this PR does not change that behaviour. I have filed #4955 |
/hold need to update timeout |
/hold cancel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, tested and works as expected.
LGTM label has been added. Git tree hash: 955eee5239067876259569ec38bbd79235991c16
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: csweichel, geropl The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Prior to this change workspaces that timed out during backup would never actually stop. Also, the
contentFinalization
timeout was not used during backup.How to test
contentFinalization
timeout inws-manager-config
to1s
(quicker testing)affinity
)You should see the workspace actually stopping, e.g.
![image](https://user-images.githubusercontent.com/3210701/126914465-accda18c-4236-4ced-a8a1-59de92505bfe.png)
fixes #4937
Note: this change will affect prod configuration, as we're now using the correct timeout for content finalization/backup (15m instead of 1h).
/cc @meysholdt