-
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
Log warning instead of tracing error span #11830
Conversation
I'm thinking about whether we should handle this kind of error within ws-manager, rather than ws-daemon. We made a similar approach for gitpod/components/ws-manager/pkg/manager/monitor.go Lines 684 to 698 in e40e43d
WDYT? @csweichel @aledbf @kylos101 |
Agreed - handling this in ws-manager is the better way. For one, from ws-daemon's perspective the lifecycle of the workspace has actually ended, and keeping info about that workspace beyond this point doesn't feel "natural". From ws-manaer's perspective it's easier to keep the Git status in memory because the workspace still exists. |
5c19591
to
3f8ecb3
Compare
d829105
to
195ab3a
Compare
Special handling the error message for tracing when we can't find workspace in memory. Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
Description
Log warning instead of tracing error span if the error message contains
cannot find workspace
.Related Issue(s)
Fixes #11710
Fixes #11713
How to test
None
Release Notes
Documentation
None
Werft options: