388 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
fdc317a89b [tracing] Fix null/undefined handling and be more resilient in general 2021-12-08 15:01:33 +01:00
Gero Posmyk-Leinemann
fccd4a7e8a [protocol] Code cleanup 2021-12-08 11:53:33 +01:00
Mads Hartmann
28bf0e6541 component/gitpod-protocol/tracing: Add version tags to all spans
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-12-08 11:30:33 +01:00
Gero Posmyk-Leinemann
56874b6a0f [server, et. al] Add repeat(cb, ms) as replacement for setInterval, and use it across meta components 2021-12-07 18:43:33 +01:00
Gero Posmyk-Leinemann
b7a0264f0f [server] GitHub API: ensure that we don't 2021-12-07 18:43:33 +01:00
Manuel Alejandro de Brito Fontes
537672b058 Enable experimentalNetwork by default 2021-12-07 16:53:33 +01:00
Gero Posmyk-Leinemann
9443de8154 [server, protocol] Improve tracing II
- add TraceContext.setOWI to trace context info just like for Go components, including sessionId
  - change TraceContext.addJsonRPCParameters to accept shapes
 - switch to opt-in tracing for a) parameter names, and b) easier filtering for PII
2021-12-07 09:35:32 +01:00
Gero Posmyk-Leinemann
6207940ffe [tracing] TS: Add addNestedTags to replace jaegerClient.addTags 2021-12-07 09:35:32 +01:00
Gero Posmyk-Leinemann
8e111f6604 [server] Add all arguments to API span 2021-12-01 17:34:27 +01:00
Gero Posmyk-Leinemann
93efd2c8d4 [server] Follow tracing convetions for errors 2021-12-01 17:34:27 +01:00
Gero Posmyk-Leinemann
3a71d2ea07 [server] Use generic API-level TraceContext 2021-12-01 17:34:27 +01:00
Gero Posmyk-Leinemann
67ff0e4f8f [server] Create and inject TraceContext into every API method 2021-12-01 17:34:27 +01:00
Cornelius A. Ludmann
b4fa0fc9ba [server] Serve IDE config via gitpod-protocol 2021-11-30 15:15:26 +01:00
Cornelius A. Ludmann
7e92f6036d [dashboard] Add hint to peferences to workspace ready page 2021-11-24 14:00:20 +01:00
Gero Posmyk-Leinemann
e4d2e268bc [server] Add WebsocketClientContext 2021-11-18 10:50:15 +01:00
Cornelius A. Ludmann
44d50bcd48 [server] Add and use supervisor image config 2021-11-18 10:06:15 +01:00
Jean Pierre
b54521de75 More feedback 2021-11-11 11:00:09 +01:00
Jean Pierre
744af29121 Fixes #6514 2021-11-11 11:00:09 +01:00
Pudong Zheng
c715b3521f remove all private repo check 2021-11-09 12:20:07 +01:00
George Tsiolis
0d444a505b Preserve team scope in dashboard 2021-11-05 15:47:04 +01:00
Manuel Alejandro de Brito Fontes
a30a1bff48 Add ExposedPorts message and remove Target and GlobalPort 2021-11-05 10:33:03 +01:00
Gero Posmyk-Leinemann
9575debc94 [server] Build out SnapshotService 2021-11-04 12:18:12 +01:00
Gero Posmyk-Leinemann
b385af4e38 [server, protocl] Introduce 'waitForSnapshot' 2021-11-04 12:18:12 +01:00
Gero Posmyk-Leinemann
d01d008745 [db] Introduce snapshot.state 2021-11-04 12:18:12 +01:00
Manuel Alejandro de Brito Fontes
9b90bd5f6b Update protoc generated code 2021-11-02 15:50:10 +01:00
Gero Posmyk-Leinemann
7abe78c917 [dev] Upgrade to node.js v16 and all major TS libs
This commit includes the following commits:
 - @iqqbot update dev image to nodejs v16lts
 - @iqqbot update dev-environment-image to use nodejs v16
 - @iqqbot update component to nodejs v16 lts
 - [licensor] Adjust to v16
 - [ts] Bump @types/node to ^16.11.0 accordingly
 - @aledbf Update typescript dependencies
 - @aledbf Update typescript configuration
 - @aledbf / @geropl Update typescript code
 - [server] Fix express/passport types
 - [db] typeorm upgrade 0.1.20 -> 0.2.22: fix compile and runtime issues
 - [db] typeorm upgrade 0.2.22 -> 0.2.38: fix compile and runtime issues
 - [dev] Upgrade amqplib and smaller libs
 - [dev] Upgrade uuid
 - [dev] Update probot
 - [dev] Final yarn.lock
2021-11-02 13:59:10 +01:00
Laurie T. Malau
7658c52125 Introduce project slug
Fixes #5847
2021-11-02 11:31:10 +01:00
Gero Posmyk-Leinemann
e5b8c011bb [server] Analytics: catch promises 2021-10-29 10:57:07 +02:00
jakobhero
a89bcf6226 Shift user attributes to indentify calls 2021-10-29 10:57:07 +02:00
Cornelius A. Ludmann
c3f4da4dc2 [server] Pass selected desktop IDE to ws-manager 2021-10-27 14:08:05 +02:00
Cornelius A. Ludmann
75e0a8d60c [server] Add preferences to choose a desktop IDE 2021-10-27 12:05:05 +02:00
Gero Posmyk-Leinemann
46c723781c [server] Add config "experimantalNetwork" which translates to "WORKSPACEKIT_USE_NETNS" 2021-10-26 20:42:04 +02:00
Jan Keromnes
8e9f612703 Replace /workspaces → /projects as default landing page for both users and teams 2021-10-25 11:14:03 +02:00
Gero Posmyk-Leinemann
b463ee43dc [admin] Optimize adminGetWorkspaces 2021-10-21 04:04:58 -03:00
Gero Posmyk-Leinemann
1ac7851271 [protocol] Add matchesInstanceIdExactly and matchesWorkspaceIdExactly 2021-10-21 04:04:58 -03:00
Gero Posmyk-Leinemann
131073e152 [server, dashboard] Unify cookie handling 2021-10-20 14:20:58 -03:00
Jan Keromnes
bad83721b7 [server][dashboard] Allow cancelling Prebuilds 2021-10-18 05:12:04 -03:00
Christian Weichel
9605e0b386 [wsman-bridge] Introduce admission preferences 2021-10-14 06:00:00 -03:00
Manuel Alejandro de Brito Fontes
4425adc68e [gitpod-protocol] Adjust GRPC ping interval 2021-10-13 04:19:00 -03:00
Gero Posmyk-Leinemann
48e29e12e0 [protocol] Trigger onClose/onOpen whenever the underlying websocket OPEN/CLOSEs. 2021-10-05 04:44:51 -03:00
Gero Posmyk-Leinemann
515720ad82 [protocol] connection: buffer messages until reconnect
This avoids Error("Connection got disposed") errors which gobble up to the frontend and block users.
2021-10-05 04:44:51 -03:00
Simon Emms
95c2a87289 [gitpod-protocol]: remove region and namespace 2021-10-04 11:58:51 -03:00
Laurie T. Malau
6ff888883e [dashboard] Team settings page
Fixes #5066
2021-10-04 11:20:51 -03:00
Jan Keromnes
5503c9bbcc [dashboard] Better surface Prebuild errors & fix all 'Run Prebuild' buttons 2021-10-01 04:12:48 -03:00
Jan Keromnes
bbbc3c1f98 [server] Allow re-triggering failed Prebuilds 2021-10-01 04:12:48 -03:00
Sven Efftinge
fe580e88cc [t&p] enable teams and projects ui 2021-09-30 11:23:47 -03:00
Gero Posmyk-Leinemann
5a134c6aed Revert "[protocol] connection: buffer messages until reconnect"
This reverts commit 4f145267485d933677b7cc73b16b3d7607138e04.
2021-09-29 17:05:46 -03:00
Gero Posmyk-Leinemann
2e87607445 Revert "[protocol] Trigger onClose/onOpen whenever the underlying websocket OPEN/CLOSEs."
This reverts commit 05f8d75c79ec2a2ffdf9f67cefb135636f0cedef.
2021-09-29 17:05:46 -03:00
Gero Posmyk-Leinemann
bf6d8a3782 [protocol] Fix log format 2021-09-28 10:27:45 -03:00
Gero Posmyk-Leinemann
cc29602247 [protocol] Trigger onClose/onOpen whenever the underlying websocket OPEN/CLOSEs. 2021-09-28 05:00:45 -03:00