355 Commits

Author SHA1 Message Date
Anton Kosyakov
91d8c41e50
[supervisor] small fixes of previous leftovers (#17315) 2023-04-21 17:41:42 +08:00
Anton Kosyakov
45d1ac8305
[supervisor] log potentially leaking grpc streams (#17243) 2023-04-18 03:51:49 +08:00
Anton Kosyakov
ffa75e5536 [jb] support running tests agaist latest backend version 2023-03-29 09:58:31 +02:00
Manuel Alejandro de Brito Fontes
846510d06b
Fix supervisor memory and CPU stats (#16861)
* Fix supervisor memory and CPU stats

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

* Update supervisor go modules

---------

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-03-27 16:33:25 +02:00
Huiwen
260497b107
[supervisor] fix open access control not working when git permission missed (#16987)
- Update `runAsGitpodUser` to append correct env
- Fix .gitignore make whole supervisor component unsearchable
2023-03-24 14:48:16 +01:00
Pudong
b465d06617
Uniformly use proxy to get the configuration of configcat (#16942)
* Uniformly use proxy to get the configuration of configcat

* Add configcat enabled in workspace info api

* enabled configcat in ide-service
2023-03-23 11:01:15 +01:00
Anton Kosyakov
f260c31439
[rebuild] decoule IDE env vars from registry-facade (#16812)
by moving in supervisor-ide-config.json
2023-03-13 13:24:48 +01:00
Jean Pierre
ca02b3f83b
Add custom supervisor metrics (#16745)
* Add custom supervisor metrics

Co-authored-by: Huiwen <mustard-mh@users.noreply.github.com>

* Add to allowlist

* Normalize error

---------

Co-authored-by: Huiwen <mustard-mh@users.noreply.github.com>
2023-03-10 20:54:46 +01:00
Manuel Alejandro de Brito Fontes
5c7eac6d3e
Allow TLS v1.2 (#16774) 2023-03-09 16:34:45 +01:00
Anton Kosyakov
00b723df59
[supservisor] configurable SSH log level (#16713)
as well rate limit SSH stdout
2023-03-07 19:38:05 +01:00
Huiwen
b48dc338f8
Add x-client in ide-metrics component (#16701)
* [ide-metrics] add to add global client header to metrics

* [ide-metrics] fix default value fallback

* [installer] update ide-metrics configmap

* [supervisor] report metrics with `x-client`
2023-03-07 11:36:04 +01:00
Huiwen
6f58ed728e
[supervisor] instance update fatal if no permission (#16620) 2023-03-01 17:20:59 +01:00
Pudong
884a177f4d
[inner-loop] run Isolated docker in debug workspace (#16363) 2023-02-25 04:32:54 +01:00
Anton Kosyakov
b117862d0e
[supervisor] gracefully close public API connection (#16566)
also log unavailable
2023-02-24 17:52:54 +01:00
Anton Kosyakov
ad26ca1a57
[rebuild] fix 16535: auto manage windows (#16561) 2023-02-24 15:52:54 +01:00
Anton Kosyakov
f0d1d1f1ad
[supervisor] analyze image file changes (#16513) 2023-02-24 15:19:54 +01:00
Huiwen
46fc709cf6
[supervisor] reconnect to publicapi after 7m (#16504) 2023-02-23 09:48:53 +01:00
Anton Kosyakov
44f60692d0 [rebuild] map workspace location properly 2023-02-21 16:33:51 +01:00
Anton Kosyakov
c5dcc42eb9 Revert "[supervisor] improve config watch logging"
This reverts commit 224077d6569960e643c553d916cd45cf7d8b3f2c.
2023-02-20 10:22:50 +01:00
Anton Kosyakov
4172d04429 [supervisor] track workspaces with activated docker 2023-02-17 18:49:22 +01:00
Huiwen
224077d656 [supervisor] improve config watch logging 2023-02-09 19:18:14 +01:00
Jean Pierre
7ed2514e8f Add missing stream api metrics 2023-02-06 19:52:44 +01:00
Anton Kosyakov
9b3f8a2cc4 gp rebuild with isolated debug workspace
Co-authored-by: Pudong Zheng <tianshi8650@gmail.com>
2023-02-06 14:47:44 +01:00
Jean Pierre
a4af8b34d1 [supervisor] Do not log error when it has Canceled code 2023-01-23 19:15:31 +01:00
Jean Pierre
3ebdc3204a Do not log error when it has Unavailable code 2023-01-20 18:25:28 +01:00
Jean Pierre
396b8f3ca5 Delete GetOwnerID and use OwnerId from config 2023-01-18 23:00:26 +01:00
Andrea Falzetti
1c5296e0f5 gitpod-cli: call segement directly for analytics 2023-01-18 18:40:26 +01:00
Jean Pierre
9940061d30 [supervisor] Remove trackEvent api calls 2023-01-18 04:03:25 +01:00
Huiwen
e147452a00 [supervisor] improve instance updates 2023-01-17 01:19:24 +01:00
Huiwen
bed406cf56 [supervisor] fix backoff forever with ctx cancel 2023-01-13 11:30:52 +01:00
Huiwen
7c311483dc [supervisor] fix stuck on get config value
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
2023-01-13 11:30:52 +01:00
Huiwen
228cf59ac2 Use workspaceStatus stream rpc in supervisor
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
2023-01-12 11:01:52 +01:00
Jean Pierre
71e705c395 Improve terminal close 2023-01-11 20:24:51 +01:00
Pavel Tumik
1512a765b1 show user friendly error if git is not found 2023-01-09 21:52:49 +01:00
Anton Kosyakov
697696029b [gp-run] experimental workspace config debug mode
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Victor Nogueira <victor@gitpod.io>
Co-authored-by: Andrea Falzetti <andrea@gitpod.io>
2023-01-09 06:32:48 +01:00
Anton Kosyakov
ddd43f1fd1 [supervisor] make it compatible with run-gp 2022-12-23 11:32:32 -03:00
Anton Kosyakov
47074a060b [supervisor] don't report metrics for ephemeral clusters 2022-12-22 08:13:31 -03: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
George Tsiolis
f41eb438b2 Replace prebuild duration message emoji 2022-12-15 11:56:25 -03:00
George Tsiolis
d97e72029b Replace prebuild message emoji 2022-12-15 11:55:24 -03:00
mustard
f0bf7b3e15 [supervisor] fix imagebuild failed when tkns is nil 2022-12-12 09:05:22 -03:00
Anton Kosyakov
f99e986b3c [supervisor] add global panic handler 2022-12-12 09:05:22 -03:00
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
Thomas Schubart
d0ccc7f044 [content-service] Log filesystem usage error 2022-12-05 07:01:15 -03:00
Thomas Schubart
fdcf0397f6 [supervisor] Provide initializer metrics for PVC 2022-12-05 07:01:15 -03:00
Anton Kosyakov
c57c4850d0 [supervisor] give 1s window between content and tasks for IDE startup
Co-authored-by: mustard <mhqnwt@gmail.com>
2022-11-30 03:32:59 -03:00
Pudong Zheng
7550c5ef69 [supervisor] add some bucket for supervisor_ide_ready_duration_total 2022-11-30 02:43:59 -03:00