File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
components/ws-manager-bridge/src Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,11 @@ export class WorkspaceManagerBridge implements Disposable {
316
316
}
317
317
instance . status . conditions . pullingImages = toBool ( status . conditions . pullingImages ! ) ;
318
318
instance . status . conditions . deployed = toBool ( status . conditions . deployed ) ;
319
+ if ( ! instance . deployedTime && instance . status . conditions . deployed ) {
320
+ // This is the first time we see the workspace pod being deployed.
321
+ // Like all other timestamps, it's set when bridge observes it, not when it actually happened (which only ws-manager could decide).
322
+ instance . deployedTime = new Date ( ) . toISOString ( ) ;
323
+ }
319
324
instance . status . conditions . timeout = status . conditions . timeout ;
320
325
instance . status . conditions . firstUserActivity = mapFirstUserActivity (
321
326
rawStatus . getConditions ( ) ! . getFirstUserActivity ( ) ,
You can’t perform that action at this time.
0 commit comments