19 Commits

Author SHA1 Message Date
mustard
f4ea3a56a1 Revert "Revert "[supervisor] use public api in supervisor""
This reverts commit 44dfc5e19be3b89d96ab25f2f83476d57aa7b8ef.
2022-12-12 09:05:22 -03:00
Huiwen
44dfc5e19b Revert "[supervisor] use public api in supervisor"
This reverts commit f3fcfbf003425f947bf3a0a28e452709623b6d74.
2022-12-09 08:21:19 -03:00
mustard
f3fcfbf003 [supervisor] use public api in supervisor
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
Co-authored-by: iQQBot <tianshi8650@gmail.com>
2022-12-08 17:48:18 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
mustard
f68c049786 [supervisor] remove ports for workspace config 2022-11-18 12:17:48 +02:00
mustard
dc3e193358 [supervisor] add test cases and fix workspace configed ports alway on top 2022-11-18 12:17:48 +02:00
mustard
f597a96f05 [supervisor] localify struct of ports sort 2022-11-18 12:17:48 +02:00
mustard
71889fd187 [supervisor] respond PortsStatus with order 2022-10-20 22:01:36 +02:00
mustard
37a1d8ea27 Fix supervisor send empty port name and desc 2022-05-24 12:59:38 +05:30
Manuel Alejandro de Brito Fontes
d70eb53070 [supervisor] Lint code 2021-11-03 14:58:11 +01: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
Manuel Alejandro de Brito Fontes
bd3ba7cdec Refactor port parsing 2021-06-16 10:45:31 -04:00
Manuel Alejandro de Brito Fontes
d3ebfd454b Update golangci-lint 2021-05-11 07:15:24 -04:00
Christian Weichel
6b10ec9eb0 [supervisor] Don't blindly deref port configs
fixes #3007

/werft no-preview
2021-01-28 14:06:01 +01:00
Christian Weichel
7935b7f015 [gitpod-protocol] Move Go server API client to gitpod-protocol
This way it's accessible from packages other than supervisor,
e.g. future integration tests.
2021-01-08 13:40:43 +01:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Anton Kosyakov
49b95bf029 [supervisor] incremental port updates 2020-11-04 05:50:23 +01:00
Anton Kosyakov
94981bd214 [theia] move port handling to the supervisor 2020-11-04 05:50:23 +01:00
Anton Kosyakov
53b6460de7 [supervisor] port config service 2020-11-04 05:50:23 +01:00