30 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
cbd0718a8c [supervisor] Remove unnecessary log about port already exposed 2021-09-03 07:26:09 +02:00
Manuel Alejandro de Brito Fontes
347ad95d80 Switch from fmt.Errorf to xerrors.Errorf 2021-08-30 02:47:28 -03:00
Anton Kosyakov
57b7b7cfb6 [supervisor] allow retry auto exposing port 2021-06-23 11:43:24 +05:00
Cornelius A. Ludmann
caa322c871 Make port visibility private by default 2021-06-21 16:22:15 +02:00
Manuel Alejandro de Brito Fontes
bd3ba7cdec Refactor port parsing 2021-06-16 10:45:31 -04:00
Anton Kosyakov
f7b2e37cbd [supervisor] support tunneled ports 2021-05-20 09:49:33 +02:00
Manuel Alejandro de Brito Fontes
d3ebfd454b Update golangci-lint 2021-05-11 07:15:24 -04:00
Manuel Alejandro de Brito Fontes
3b4ebc9bad Migrate deprecated methods from ioutil package 2021-03-02 06:37:49 -03:00
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
Anton Kosyakov
2cab99e5e7 [supervisor] handle rate limitting of exposed ports 2021-02-08 14:46:28 +01: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
9336b090be [supervisor] Make reaper terminating during shutdown
Fixes gitpod-io/gitpod#2654
2021-01-15 14:11:21 +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
Christian Weichel
028552b19f [supervisor] Don't nil-deref on broken Gitpod connection 2020-12-17 09:42:52 +01:00
Anton Kosyakov
bdbaca3740 fix flaky port tests 2020-12-16 14:32:59 +01:00
Anton Kosyakov
53591f7d9f [supervisor] ensure that each served port appears only once 2020-12-16 10:06:33 +01:00
Anton Kosyakov
34a1cde10a [supervisor] avoid auto exposing the same port multiple times 2020-12-08 08:50:10 +01:00
Anton Kosyakov
d103bd857c [supervisor] don't drop last ports/tasks updates 2020-11-27 15:36:30 +01:00
Christian Weichel
bb1225bf76 [supervisor] Disable flakey auto expose configured ports test 2020-11-27 14:59:44 +01:00
Anton Kosyakov
a0f4afb928 fix #2290: ensure that clients don't miss ports/tasks status updates 2020-11-27 09:38:20 +01:00
Christian Weichel
b576c0dbc5 [supervisor] Adapt to port API changes 2020-11-25 15:59:36 +01:00
Christian Weichel
4cbf87b0de [supervisor] Improve ports concurrency behaviour 2020-11-25 09:52:17 +01:00
Christian Weichel
dcbc44e130 [supervisor] Adapt to updated grpc-gateway 2020-11-24 09:59:57 +01:00
Christian Weichel
5f59ba05b2 [supervisor] Don't panic when instance updates stop 2020-11-19 10:02:01 +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
Christian Weichel
43e26558bb [merge] Provide instance updates 2020-11-04 05:50:23 +01:00
Christian Weichel
1afe83d3b3 [supervisor] Provide holistic port view
including exposed ports, not just the served ones.
Also, auto-expose newly served ports.
2020-11-04 05:50:23 +01:00