728 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
34e4dcb03b [tracing] Use instanceof as safer alternative to typeof
Co-authored-by: Jan Keromnes <jan.keromnes@typefox.io>
2021-12-08 15:01:33 +01:00
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
Pudong Zheng
f153cbb1b2 [gp-cli] allow to create snapshot 2021-12-07 14:06:32 +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
fa7aadddf5 [gitpod-protocol] Remove HTTP headers from logs
This is to avoid leaking bearer tokens in the logs.

/werft no-preview
2021-11-27 10:17:23 +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
Manuel Alejandro de Brito Fontes
fc0de7566a Fix go dependencies 2021-10-26 08:16:03 +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
Pudong Zheng
40c8138d2b upgrade typescript compiler target to es6 2021-10-21 15:30:59 +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
Christian Weichel
cc38637231 [build] Clean up package structure 2021-10-18 14:39:05 -03:00
Jan Keromnes
bad83721b7 [server][dashboard] Allow cancelling Prebuilds 2021-10-18 05:12:04 -03:00
Anton Kosyakov
9f5270c694 fix #5929: use sync.Cond to notify about gitpod config changes
There was some kind of deadlock while one listener was trying to read a config changes.
I rewrote gitpod config service to use conditional variable to announce changes in gitpod config to avoid synchronization over map of listeners.
I changed clients as well that they don't consider nil config as closed channel and stop reading.
2021-10-14 09:57:01 -03:00
André Duarte
acee90361c Create intellij-backend-plugin 2021-10-14 09:43:01 -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
Christian Weichel
8efac73cba [prow] Add labels to OWNERS files 2021-10-12 09:01:58 -03:00
Cornelius A. Ludmann
0d3202cced [gitpod-protocol] Add Java client implementation
/werft no-preview
2021-10-11 09:58:58 -03:00
Gero Posmyk-Leinemann
48e29e12e0 [protocol] Trigger onClose/onOpen whenever the underlying websocket OPEN/CLOSEs. 2021-10-05 04:44:51 -03:00