172 Commits

Author SHA1 Message Date
Milan Pavlik
d0f11b876c [worspace-instance] Deprecate deployedTime field 2022-06-01 13:59:50 +05:30
Mads Hartmann
2823606369 Ensure we close spans 2022-05-28 23:44:47 +05:30
Andrew Farries
1effe003db Add timeout for building phase 2022-05-26 14:49:44 +05:30
Pavel Tumik
99204170c5 ensure volume snapshot naming consistency 2022-05-25 13:17:39 +05:30
Pavel Tumik
c6910dac35 tie snapshot volumes to workspace instance id 2022-05-25 13:17:39 +05:30
Pavel Tumik
88768f6e50 snapshot volume support 2022-05-25 13:17:39 +05:30
Laurie T. Malau
2bc93c2ed9 Fix to stopping and snapshot state 2022-05-18 18:29:33 +05:30
Andrew Farries
bb0a42a48c Spread update.update 2022-05-16 18:03:31 +05:30
Andrew Farries
d8f3f5c8b5 Revert "Revert "[bridge] prebuild: map "stopping && no snapshot" to "failed" state & test""
This reverts commit 6c4213e0a6e4c426b93f74f9403f5b1f66d1cfdc.
2022-05-16 18:03:31 +05:30
Gero Posmyk-Leinemann
6c4213e0a6 Revert "[bridge] prebuild: map "stopping && no snapshot" to "failed" state & test"
This reverts commit f01aafcbabdd1c33cc9246f04ab56b6174aef72a.
2022-05-16 13:16:31 +05:30
Gero Posmyk-Leinemann
f01aafcbab [bridge] prebuild: map "stopping && no snapshot" to "failed" state & test 2022-05-11 22:03:26 +05:30
Gero Posmyk-Leinemann
16a305f0e2 [bridge] Fix logging 2022-05-11 17:49:26 +05:30
Andrew Farries
35e21783ac [webapp] Introduce new instance phase "building" (part I, back- and forwards-compatible) 2022-04-28 00:51:14 +05:30
Milan Pavlik
829ea6ad28 [ws-manager-bridge] Fix workspace instance update started total metric incrementing 2022-04-25 17:32:37 +05:30
Milan Pavlik
5357c9a670 [ws-man] Add started and completed metrics to track health 2022-04-22 17:02:34 +05:30
Milan Pavlik
9bec4a3b94 [wsman-bridge] Lint typescript files 2022-04-21 18:04:33 +05:30
Milan Pavlik
cbda0c100b [ws-man-bridge] Document when unknown workspace instance occurs 2022-04-20 18:58:33 +05:30
Milan Pavlik
1f302ae9af [ws-manager-bridge] Fix statusVersion comparison 2022-04-11 23:16:24 +05:30
Milan Pavlik
91c518a9ed [ws-manager-bridge] Skip stale prebuild events
This reverts commit 67ad495fd40a16e78de0d5ed6460b29eb633fb86.
2022-04-11 12:31:24 +05:30
Milan Pavlik
67ad495fd4 Revert '[ws-manager-bridge] Skip stale prebuild events' 2022-04-06 20:40:20 +05:30
Milan Pavlik
1fca342a6a [ws-manager-bridge] Log handling of prebuild update events 2022-04-06 20:39:20 +05:30
Milan Pavlik
eb72c2f54f [ws-manager-bridge] Skip stale prebuild events 2022-04-06 12:29:19 +05:30
Milan Pavlik
98526f44ef [ws-manager-bridge] Fix counting of stale prebuild events 2022-04-05 19:25:19 +05:30
Milan Pavlik
1e9b846963 [ws-manager-bridge] Publish metrics with stale prebuild events 2022-04-05 16:27:18 +05:30
Milan Pavlik
6ce0f181d1 [ws-manager-bridge] Add spans for prebuild state and error 2022-04-05 13:03:18 +05:30
Milan Pavlik
d7ebf6b2ee Fix 2022-03-11 20:55:18 +05:30
Milan Pavlik
a83226d407 fix logs 2022-03-11 20:55:18 +05:30
Milan Pavlik
d97c1316fc Improve ws-manager-bridge logging 2022-03-11 20:55:18 +05:30
Sven Efftinge
f619b3e139 [prebuilds] stopping prebuilds are not failed 2022-03-08 21:31:15 +05:30
Sven Efftinge
de84f281c8 [prebuilds] Introduce 'failed' state for prebuilds
Distinguish between failed tasks but finished prebuilds
and fully failed prebuilds (no snapshot)

fixes https://github.com/gitpod-io/gitpod/issues/8592
2022-03-07 20:06:14 +05:30
Manuel Alejandro de Brito Fontes
90fe82a508 Remove ghost from the codebase 2022-02-28 14:17:07 +05:30
Kyle Brennan
aa52b3ecb0 [ws-manager-bridge] improve error handling for workspace cluster registration and update
Prevent duplicate workspace cluster registration & improve error message for update when workspace cluster doesn't exist
2022-02-22 09:37:01 +05:30
Kyle Brennan
efd72d8065 [ws-manager-bridge] include has-more-resources and has-user-level on cluster list 2022-02-22 09:37:01 +05:30
Gero Posmyk-Leinemann
a81c23ee50 [ts] Update network-facing libs like express (et al.), node-fetch, p-throttle 2022-02-21 22:34:01 +05:30
Gero Posmyk-Leinemann
f35571976f [bridge] Binding for PreparingUpdateEmulator 2022-02-17 16:03:57 +01:00
Gero Posmyk-Leinemann
8c6d938de0 [bridge] Fix PreparingUpdateEmulator initialization 2022-02-17 13:42:57 +01:00
Gero Posmyk-Leinemann
a3d1b614f8 [ws-manager-bridge] Emulate InstanceUpdates for 'Preparing' phase to decouple messagebus 2022-02-17 11:43:57 +01:00
Gero Posmyk-Leinemann
3179adc802 [ws-manager-bridge] Fix logging/metrics errors 2022-02-17 11:43:57 +01:00
Gero Posmyk-Leinemann
feb7907da1 [ws-manager-bridge] Make non-governing bridges distribute updates locally 2022-02-17 11:43:57 +01:00
Gero Posmyk-Leinemann
ddaea0e1c2 [messagebus] Remove shovel config, and all non-local (or outdated) exchanges 2022-02-17 11:43:57 +01:00
Gero Posmyk-Leinemann
caa8a23300 [ws-manager-api, protocol] Slight refactor of cluster selection
1. Generalized cluster selection for "HasPermission" AdmissionConstraints
 Before the "constraintNewWorkspaceCluster" was seen as special case, that also was too general. This way it's straight forward to extend to other permissions

 2. Separated "cluster authorization" into a separate Constraint which is applied to all ClusterSets. Before the authoritzation was more an optimization of the cluster precedence
2022-02-15 10:37:36 +01:00
Mads Hartmann
dd8b5b728a Remove OWNERS related files
Fixes https://github.com/gitpod-io/ops/issues/844
2022-02-08 09:15:30 +01:00
Gero Posmyk-Leinemann
3bd683e6ea [server] Run 'yarn lint' on every build 2022-02-04 14:29:26 +01:00
Prince Rachit Sinha
6b87feda1f Print audit logs when client header is set 2022-02-04 08:54:26 +01:00
Alex Tugarev
4a564067cd [ws-manager-bridge] update prebuild state properly 2022-02-03 13:54:25 +01:00
Christian Weichel
b67e3ecdb7 [workspace-cluster] Introduce has-more-resources constraint 2022-02-02 18:46:24 +01:00
Christian Weichel
dbeeafafd0 [workspace cluster] Remove admission preferences 2022-02-02 18:46:24 +01:00
George Tsiolis
31dfc5bd6b Update WebApp team label in component owners 2022-01-26 10:17:18 +01:00
Jan Koehnlein
d30815e685 [owners] rename team meta to webapp 2022-01-26 08:27:17 +01:00
Gero Posmyk-Leinemann
89e94030f9 Revert "[server, et al] Remove PrebuildStatusMaintainer and subsequent unused code"
This reverts commit 6dfe5520fc96757387d52237f35df9cf8a77943e.
2022-01-10 16:02:04 +01:00