-
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
[bridge] Ensure we do not override "failed" instance states (affects prebuilds!) #8596
Comments
@easyCZ This was the issue I tried to refer to: it's relevant for prebuild reliability, but also for other workspaces The |
Thanks! I've also cut #9107.
Are you referring to the |
No, that's the field I meant! 💯 |
The prebuild part of this issue has now landed in #9116. I am going to first validate the effects of this change on Prebuilds before making the corresponding change for Workspace Instance updates. Leaving this open as we still need to make the same change for WorkspaceInstanceStatus updates. |
Using prior work to detect stale events, we can inspect if stale events are a problem for WorkspaceInstance updates also. In practice, we haven't observed stale event updates for prebuilds. The code-flow is as follows:
This means that prebuild updates are a reasonable (but complete) baseline for "stale updates". |
We're fixing this in two steps:
|
It turns out we cannot simply disable this, because there is a host of different cases where we seem to rely on it. We have to investigate the different root causes on workspace side before we can move forward here. How to investigate:
I'm closing this one for now. |
Currently we're seeing that
failed
prebuild instances' status is override by newer instance updates lagging that state (ref).While this is a bug, we should be failsafe here, and basically:
failed
conditionws-manager
version
fieldThe text was updated successfully, but these errors were encountered: