28 Commits

Author SHA1 Message Date
Huiwen
7ff5edaf69
[cleanup] remove FF for supervisor publicapi (#19894) 2024-06-14 13:53:10 +08:00
Gero Posmyk-Leinemann
4fb0c38c86
Cap length of GitStatus updates (#19810)
* [server] ValidateGitStatusLength (max: 4096)

Behind feature flag api_validate_git_status_length

* [supervisor] Cap length of GitStatus message

* [supervisor] cap gitstatus test
2024-05-31 18:14:12 +08:00
Huiwen
a7bd49fb34
[supervisor] Remove default image fetch to improve IDE startup performance (#18993)
* [supervisor] Remove default image fetch to improve IDE startup performance

* fix build

* address feedback
2023-11-02 08:30:40 +02:00
Huiwen
bee03a113e
[supervisor] fix panic with runGP option (#18777)
* [supervisor] fix panic with runGP option

* Check if `s` is nil to avoid adding guards outside
2023-09-22 15:24:01 +02:00
Huiwen
62c573a453
Add default image get to PAPI and improve Dashboard (#18767)
* [server] update getDefaultWorkspaceImage api

* [dashboard] api usage update

* [protocol] add go definition

* [papi] add getDefaultWorkspaceImage method

* fixup

* [dashboard] add org image warning to start workspace page

* fix error wrap

* Update supervisor to use publicApi

* [dashboard] always show default image and remove tag width limit

* fixup

* move new warning to StartPage

* Update components/dashboard/src/teams/TeamSettings.tsx

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>

* Address feedback

---------

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2023-09-22 11:58:01 +02:00
Anton Kosyakov
b3ae12f956
git real time (#18323) 2023-08-03 20:51:28 +08:00
Jean Pierre
6652c98a1a
Add WorkspaceUpdates method (#17728)
* Add WorkspaceUpdates method

* Replace InstanceUpdates
2023-05-30 23:56:04 +08:00
Pudong
176393a0c8
Add support to forward https protocol port (#17644)
* add support to forward https protocol port

* Update components/ws-proxy/pkg/proxy/routes.go

Co-authored-by: Kyle Brennan <kyle@gitpod.io>

---------

Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2023-05-19 15:22:53 +08: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
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
Huiwen
6f58ed728e
[supervisor] instance update fatal if no permission (#16620) 2023-03-01 17:20:59 +01:00
Anton Kosyakov
b117862d0e
[supervisor] gracefully close public API connection (#16566)
also log unavailable
2023-02-24 17:52:54 +01:00
Huiwen
46fc709cf6
[supervisor] reconnect to publicapi after 7m (#16504) 2023-02-23 09:48:53 +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
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
mustard
f0bf7b3e15 [supervisor] fix imagebuild failed when tkns is nil 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