Alex Tugarev
46feeac4c9
[projects] Add Prebuild Events
2021-09-01 04:27:30 -03:00
Manuel Alejandro de Brito Fontes
77ef3cae47
[ws-manager-bridge] Remove unused grpc dependency
2021-08-31 09:20:30 -03:00
Yauhen Pyl
a6d7ed4a5f
Missed semicolon
2021-08-30 02:34:28 -03:00
Manuel Alejandro de Brito Fontes
1545241295
[ws-manager-bridge] Sync node grpc options with go counterpart
2021-08-23 18:05:22 +02:00
Simon Emms
a169bc0239
[workspace]: update force-stop logs
2021-08-23 12:53:22 +02:00
Sven Efftinge
f0fab5bcf9
[ws-man-bridge] don't update stopped workspaces
...
back to stopping.
2021-08-17 10:04:13 +02:00
Simon Emms
f35e762354
[workspace]: add force-stop check on stopping workspaces
...
Since #4910 stopped counting "stopping" workspaces for billing purposes,
any workspace caught in a "stopping" phase would never be force-stopped.
This adds a conditional "includeStopping" boolean (defaulting to `false`)
to the DB implementation and the meta-instance-controller simply includes
that phase in the search.
It was discovered that ~200 workspaces were caught in this phase (90%
prebuilds) so this phase is necessary to force-stop.
2021-08-13 13:12:12 +02:00
Christian Weichel
871f550d80
[ws-manager-bridge] Remove VERSION
...
logging is not a good enough reason to restart bridge so often
2021-08-12 18:00:12 +02:00
Christian Weichel
cce91040ec
[ws-manager-bridge] Set stopping/stopped time
...
when forcing the phase from preparing or unknown
2021-08-06 16:32:05 +02:00
Simon Emms
031111f700
fix(workspace): force-stop workspaces stuck in a bad state
2021-08-06 13:19:05 +02:00
Christian Weichel
7df1a3ff1a
[ws-manager-bridge] Don't interpret failed tasks as aborted prebuild
2021-07-29 10:12:32 +02:00
Christian Weichel
140c897d0d
Remove old headless log infrastructure
2021-07-28 12:33:31 +02:00
Gero Posmyk-Leinemann
be64af383f
[db, bridge] Review comments
2021-07-20 11:31:24 +02:00
Christian Weichel
d63f0f4585
[bridge] Set stoppingTime when workspace is stopping
...
there's no need to include the time our workspaces take to stop into account
when computing workspace runtime (which is accounting relevant).
2021-07-20 11:31:24 +02:00
Gero Posmyk-Leinemann
64289cee1f
[bridge] Fix removal of "has-permission" admission constraint
2021-07-15 13:32:12 +02:00
Christian Weichel
c8eb943822
[prow] Add OWNERS files
2021-07-15 11:29:47 +02:00
Christian Weichel
53bc9e96e3
[server] Add trackEvent to support dashboard analytics
2021-07-09 10:02:02 +02:00
Gero Posmyk-Leinemann
8f0c24af66
[ws-manager, supervisor, bridge] Prebuild workspaces are done when their container stops
2021-07-08 09:27:34 +02:00
Mike Nikles
334c135d50
Spell "instance" correctly.
2021-07-08 09:01:34 +02:00
Christian Weichel
eaa6e80038
[build] Tag images with commit hash instead of leeway pkg version
2021-06-16 18:34:51 +02:00
Christian Weichel
f9a2ae3a45
[versions] Produce helm chart compatible versions file
2021-06-13 19:22:45 +02:00
Autofix
e8762f258e
Autofix: trailing-spaces
2021-06-09 12:52:57 +02:00
Alex Tugarev
7a7793c878
bump dependencies
...
[server/probot] update probot and other dependencies
fix authorized API calls for the GH App.
2021-06-08 09:45:10 +02:00
Christian Weichel
015b38ff06
[build] Produce version manifest
2021-06-03 15:17:16 +02:00
Gero Posmyk-Leinemann
1ca6b44d06
[analytics] Fix segment assertion error
2021-05-26 14:40:41 +02:00
Christian Weichel
c81c348070
[PWC] Prevent deregistering non-empty cluster
2021-05-11 07:54:52 +02:00
Christian Weichel
61c466b8e0
[gpctl] List static workspace cluster, too
2021-05-07 08:23:08 +02:00
Christian Weichel
83cc11aee3
[pwc] Add admission constraints to gpctl
2021-05-07 08:23:08 +02:00
Christian Weichel
d063fb7153
[pwc] Support admission constraints
...
when selecting a workspace cluster for starting a workspace.
2021-05-07 08:23:08 +02:00
Christian Weichel
129816f619
[server] Add analytics support
2021-05-06 16:21:40 +02:00
Manuel Alejandro de Brito Fontes
be65e4404e
[manager-bridge] Update GRPCError definition
2021-04-15 08:54:05 -04:00
Manuel Alejandro de Brito Fontes
6e8551ba34
[ws-manager-bridge] Update grpc code
2021-04-15 08:54:05 -04:00
Autofix
af51739d34
Autofix: trailing-spaces
2021-04-12 08:29:10 +02:00
ArthurSens
a8da492f24
Introduce gitpod_server_topic_read_total counter metrics, which counts the amount of times that server reads messagebus topic for each workspace.
...
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-04-07 13:55:46 -03:00
Christian Weichel
0f60c1757b
[ws-manager-bridge] Improve initial connection error handling
...
Prior we might return `UNAVAILABLE` which would make some
gRPC clients retry.
2021-04-07 10:59:56 +02:00
Christian Weichel
869a8d4710
[ws-manager-bridge] Don't reject a 0 cluster score
2021-04-07 10:59:56 +02:00
Christian Weichel
37af476ad5
[ws-manager-bridge] Fix governed in cluster list
2021-04-07 10:59:56 +02:00
Gero Posmyk-Leinemann
0af1980f8c
[gpctl, bridge, db, protocol, server, ws-proxy] Dynamic WorkspaceCluster
2021-04-01 14:47:31 +02:00
Cornelius A. Ludmann
1853887236
[ws-manager-bridge] Add cluster service API (mocked)
2021-04-01 14:47:31 +02:00
Alex Tugarev
9ccc557b3a
fix yarn.lock, typescript, supervisor-api gen, etc.
2021-03-22 18:32:12 +01:00
Gero Posmyk-Leinemann
9be229e4a2
[admin] More runtime info: podName and nodeIp ( #3197 )
...
* [admin] Render additional workspace properties
* [protocol] add instance.status.podName
* [protocol] Introduce instance.status.nodeIp
2021-02-23 10:19:26 +01:00
Christian Weichel
47c7d9a8c9
[leeway] Run leeway fmt
2021-02-12 09:11:53 +01:00
ArthurSens
986bd94858
Reconfigure Prometheus buckets for workspace startup time histograms
...
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-02-08 10:10:41 -03:00
Christian Weichel
b7dda84ad0
[license] Update license header from TypeFox GmbH to Gitpod GmbH
2021-01-04 15:12:02 +01:00
Christian Weichel
2245ed77ba
[ws-manager-bridge] Ignore ghost workspaces
2020-12-08 16:35:44 +01:00
Alex Tugarev
27568b10b9
[server] bump gitlab
2020-12-03 09:20:39 +01:00
Christian Weichel
5a5812f38d
[ws-manager-bridge] Append breakline to headless status message
...
Fixes gitpod-io/gitpod#2279
2020-11-26 11:58:16 +01:00
Christian Weichel
dd0bc20d9f
[ws-manager-bridge] Properly fail prebuilds
2020-11-23 14:17:33 +01:00
Anton Kosyakov
3fd8113c9b
[server] fix leaking listeners
2020-11-11 09:17:07 +01:00
Christian Weichel
6d93dd8348
[ws-daemon] Rename ws-sync to ws-daemon
2020-10-19 07:46:04 +02:00