39 Commits

Author SHA1 Message Date
Sven Efftinge
fef62f3e9e [supervisor] shutdown processes gracefully 2022-10-07 13:09:22 +02:00
JenTing Hsiao
9631a0b57b Remove deprecated function
The function grpc.WithInsecure() is deprecated, use
grpc.WithTransportCredentials(insecure.NewCredentials()) instead.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-15 13:07:24 +05:30
Jean Pierre
1dfc504de6 Use xterm-256color when creating terminal 2022-06-13 10:01:22 +05:30
Anton Kosyakov
5d57819830 [supervisor] prevent slow clients to stale tasks in headless workspaces 2022-04-15 12:10:28 +05:30
Pudong Zheng
ce70183fe2 [supervisor] remove unneed "no child process" check 2022-02-17 09:14:57 +01:00
Manuel Alejandro de Brito Fontes
58496c3bf3 Cleanup no child processes running errors 2021-12-01 08:26:26 +01:00
Manuel Alejandro de Brito Fontes
ef6744c441 Skip tests that require a valid username 2021-11-08 13:53:06 +01:00
Manuel Alejandro de Brito Fontes
d70eb53070 [supervisor] Lint code 2021-11-03 14:58:11 +01:00
Manuel Alejandro de Brito Fontes
347ad95d80 Switch from fmt.Errorf to xerrors.Errorf 2021-08-30 02:47:28 -03:00
Anton Kosyakov
33096feed3 fix #4935: open task terminal in correct workspace location 2021-08-19 10:29:18 +02:00
Anton Kosyakov
fc8edff8aa [supervisor] api to set terminal's title and update annotations 2021-06-18 07:11:51 +05:00
Christian Weichel
0851301c52 [supervisor] Skip flaket title tests 2021-05-26 16:02:23 +02:00
Manuel Alejandro de Brito Fontes
d3ebfd454b Update golangci-lint 2021-05-11 07:15:24 -04:00
Christian Weichel
36a1e84190 [supervisor] Forward terminal output to stdout 2021-04-21 13:24:08 +02:00
Christian Weichel
73a77ce051 [supervisor] Run as UID/GID 0 2021-04-21 13:24:08 +02:00
Anton Kosyakov
8b9ce66cb3 [supervisor] thread safe listening to terminals 2021-04-09 16:15:24 +02:00
Manuel Alejandro de Brito Fontes
dfda855db9 Embed the Unimplemented implementation 2021-04-07 07:39:04 -04:00
Anton Kosyakov
1a9fa11344 [supervisor] don't call ServerStream.SendMsg on same stream in different go routines
see d7737376c3/stream.go (L1371-L1373)
2021-03-28 11:24:53 +02:00
Manuel Alejandro de Brito Fontes
043de18e15 Remove terminal data race 2021-03-16 07:35:57 -03:00
Manuel Alejandro de Brito Fontes
7e9da6ce3b [supervisor] Lint code 2021-03-16 07:35:57 -03: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
4cc6245ab8 [supervisor] terminal API enhancements 2021-01-28 09:33:09 +01:00
Christian Weichel
a4956795dc [supervisor] Provide workdir when opening and listing terminals 2021-01-15 14:11:21 +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
e086599357 [supervisor] Add annotations to terminals 2021-01-15 14:11:21 +01:00
Christian Weichel
2e2f00127a [supervisor] Provide the PID of terminal processes 2021-01-15 14:11:21 +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
c3ccf1cab4 [supervisor] Gracefully close terminals on shutdown 2020-11-27 17:41:04 +01:00
Anton Kosyakov
7c0aa2c450 fix #2265: ensure that headless tasks done is reported 2020-11-25 16:24:46 +01:00
Anton Kosyakov
9aa46e4cc9 [supervisor] resolve a terminal reading/writing deadlock 2020-11-25 16:24:46 +01:00
Anton Kosyakov
5a58817915 [supervisor] align default terminal shell with IDE expectations 2020-11-25 16:24:46 +01:00
Christian Weichel
dcbc44e130 [supervisor] Adapt to updated grpc-gateway 2020-11-24 09:59:57 +01:00
Christian Weichel
2ce766b203 [supervisor] Fix terminal test 2020-10-19 10:26:18 +02:00
Anton Kosyakov
75b97c7a6d [supervisor] tasks support 2020-10-14 11:14:31 +02:00
Christian Weichel
0e0bd79918 [supervisor] Add missing license header 2020-09-18 12:32:09 +02:00
Christian Weichel
d44eea1029 [supervisor squash] Time out terminal listener 2020-09-14 11:33:06 +02:00
Christian Weichel
fd29caa500 [supervisor] Add REST API support for terminals 2020-09-14 11:33:06 +02:00
Christian Weichel
8478e61d24 [supervisor] Add terminal multiplexing 2020-09-14 11:33:06 +02:00