You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
When the bridge handles WorkspaceStatus updates, it doesn't ignore events which have an older status_version. The status_version can allow us to apply a partial order on the WorkspaceStatus events.
To do this, we need to do the following:
Store the status_version we've processed in the WorkspaceInstance (and Prebuild) records
When a new update arrives, check if this is an older update by comparing with the stored version.
Doing this allows us to ensure we do not rely on event ordering inside the message bus and we prevent inconsistent state compared to reality.