32 Commits

Author SHA1 Message Date
Filip Troníček
a4c1a319cf
Implement gp tasks stop --force-success (#20067)
* Implement `gp tasks stop --force-success`

* Fix potential race
2024-07-26 22:21:48 +02:00
Gero Posmyk-Leinemann
504189b123
[supervisor] Fix race on terminal listener closing (#19774) 2024-05-24 19:59:05 +08:00
Pudong
27b9a40d08
[supervisor] concurrent map writes when terminals close (#17859)
* [supervisor] concurrent map writes when terminals close

* Update components/supervisor/pkg/terminal/terminal.go

* switch to waitgroup

* remove error in Close
2023-06-07 17:21:57 +08:00
Anton Kosyakov
b9b9065abc
fix IDE-16: run terminal tests with timeout (#17830) 2023-06-06 20:22:57 +08:00
Jean Pierre
71e705c395 Improve terminal close 2023-01-11 20:24:51 +01:00
Jean Pierre
6f29dd45b4 Set default cols and rows when creating a pty
Align attributes with node-pty

Related https://github.com/gitpod-io/gitpod/issues/8055
2022-12-20 05:46:29 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Sven Efftinge
fef62f3e9e [supervisor] shutdown processes gracefully 2022-10-07 13:09:22 +02:00
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
Anton Kosyakov
fc8edff8aa [supervisor] api to set terminal's title and update annotations 2021-06-18 07:11:51 +05: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
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
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
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
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