Anton Kosyakov
01a9ccde32
fix #2253 : use more specific type for headless task messages
2020-11-25 16:24:46 +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
71643a0ee2
[supervisor] ensure task status order
2020-11-25 16:24:46 +01:00
Anton Kosyakov
2b74b1e742
[dashboard] redirect from prebuild only when it is stopped
2020-11-25 16:24:46 +01:00
Anton Kosyakov
085b896eaf
[supervisor] always run task terminals for regular workspaces
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
Anton Kosyakov
934aa6278c
[supervisor] drop unnecessary line delimiters in tasks' commands
2020-11-25 16:24:46 +01:00
Christian Weichel
e6bc8961dd
[code] Adapt to supervisor port API changes
2020-11-25 15:59:36 +01:00
Christian Weichel
ea1f7d8e93
[theia] Adapt to supervisor port API changes
2020-11-25 15:59:36 +01:00
Christian Weichel
b576c0dbc5
[supervisor] Adapt to port API changes
2020-11-25 15:59:36 +01:00
Christian Weichel
fa8ddb2894
[supervisor-api] Move ports from an incremental to a full update API
2020-11-25 15:59:36 +01:00
Sven Efftinge
7dd708aaa6
[ws-man] avoid 'fatal error: concurrent map read and map write'
2020-11-25 13:09:51 +01:00
Christian Weichel
4ca16ea888
[supervisor] Publish full task updates instead of incremental ones
2020-11-25 11:13:52 +01:00
Christian Weichel
4cbf87b0de
[supervisor] Improve ports concurrency behaviour
2020-11-25 09:52:17 +01:00
Christian Weichel
470b983008
[ws-proxy] Produce a single Cookie header
...
Fixes gitpod-io/gitpod#2121
2020-11-24 17:46:53 +01:00
Christian Weichel
79c8ad5191
[supervisor-api] Correct path for TasksStatus
2020-11-24 09:59:57 +01:00
Christian Weichel
dcbc44e130
[supervisor] Adapt to updated grpc-gateway
2020-11-24 09:59:57 +01:00
Christian Weichel
ff143cf926
[license] Add missing license header
2020-11-24 09:59:57 +01:00
Christian Weichel
caefb5f149
[supervisor-api] Move to latest grpc-gateway
2020-11-24 09:59:57 +01:00
Sven Efftinge
be6acc8e9c
[db] fix a bug in user_db_impl
...
Fixes gitpod-io/gitpod#2047
2020-11-24 08:50:30 +01:00
Sven Efftinge
96c4704e09
[Dashboard] Show ws entry in stopping screen
...
Fixes gitpod-io/gitpod#2084
2020-11-23 14:46:15 +01:00
Christian Weichel
a3e24f8e1e
[ws-daemon] Don't try to collect empty prebuild
2020-11-23 14:17:33 +01:00
Christian Weichel
dd0bc20d9f
[ws-manager-bridge] Properly fail prebuilds
2020-11-23 14:17:33 +01:00
Christian Weichel
ac7e70e361
[supervisor] Fix write on closed channel for instance updates
2020-11-20 08:52:06 +01:00
Christian Weichel
ff1ee29613
[ws-proxy] Serve port-not-found page when port isn't answering
2020-11-20 08:51:57 +01:00
Christian Weichel
2670431afb
[supervisor] Add zombie reaper for reparented processes
2020-11-19 13:41:14 +01:00
Christian Weichel
86e2690270
[seccomp-profile] Allow setns
2020-11-19 10:02:01 +01:00
Christian Weichel
5f59ba05b2
[supervisor] Don't panic when instance updates stop
2020-11-19 10:02:01 +01:00
Christian Weichel
48fe5e606b
[supervisor] Don't use JSON logging for CLI
2020-11-19 08:38:35 +01:00
Christian Weichel
75c45a7b39
[common-go] Remove logging enabled output
...
and make `Init()` work on second call
2020-11-19 08:38:35 +01:00
Anton Kosyakov
b7ee78383b
[dashboard] continue watching on server reconnection
2020-11-19 08:37:47 +01:00
Anton Kosyakov
97aaaf1ce2
[supervisor/theia] consolidate workspace info tracking
2020-11-19 08:37:47 +01:00
Anton Kosyakov
394a880c36
[supervisor] propagate connection events to dashboard iframe
2020-11-19 08:37:47 +01:00
Anton Kosyakov
ef1bd9c3a5
[supervisor/frontend] get rid of bundling inversifyjs/reflect-metadata
2020-11-19 08:37:47 +01:00
Anton Kosyakov
7dcdb7c7da
fix #2187 : never cache redirects to blobserve
...
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
2020-11-18 16:28:36 +01:00
Christian Weichel
b5ccf062c7
[prebuild] Allow different users to start prebuilds on the same context
2020-11-18 15:09:21 +01:00
Christian Weichel
561b4aada2
[dev] Fix supervisor API swagger build
2020-11-18 12:10:43 +01:00
Christian Weichel
b9e6940d39
[db-migration] Fix broken repo whitelist
...
Fixes #2145
2020-11-18 10:58:59 +01:00
Christian Weichel
e89727f677
[ws-daemon] Fix snapshot and prebuild remote content init
2020-11-18 10:58:59 +01:00
Ed L
fa6cbdb56c
fix: theia listing grammar ( #2145 )
...
* fix: theia listing grammar
* [dashboard] Update example repositories
Co-authored-by: Ed L <beartechtalks@gmail.com>
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2020-11-17 16:48:51 +02:00
Christian Weichel
7f04181aa9
[ws-daemon] Make IWS available before content is initialized
...
Fixes gitpod-io/gitpod#2188
2020-11-17 14:13:30 +01:00
Christian Weichel
1cfd7759f7
[server] Respect "feature preview" feature flags
...
and make the IDE image persist on the instance,
not the workspace.
/werft https
2020-11-17 14:10:21 +01:00
Christian Weichel
88df70b960
[dashboard] Allow users to enable preview features
2020-11-17 14:10:21 +01:00
Christian Weichel
09e33777b5
[supervisor] Introduce ring1 shutdown timeout to ensure proper cleanup
...
ring1ShutdownTimeout is the time ring1 gets between SIGTERM and SIGKILL.
We do this to ensure we have enough time left for ring0 to clean up prior
to receiving SIGKILL from the kubelet.
This time must give ring1 enough time to shut down (see time budgets in supervisor.go),
and to talk to ws-daemon within the terminationGracePeriod of the workspace pod.
2020-11-16 12:34:08 +01:00
Christian Weichel
5b13a358ed
[ws-daemon] Disable dynamic CPU limiting by default ( #2168 )
...
Fixes gitpod-io/gitpod#2163
/werft dynamic-cpu-limits
2020-11-16 12:32:33 +01:00
Anton Kosyakov
53774b6f2f
[theia] fix #2159 : support gitpod task terminal process
2020-11-16 11:51:34 +01:00
Christian Weichel
af411ca867
[ws-daemon] Use tar to unarchive backup instead of archive pkg
...
Fixes #2160
2020-11-12 11:05:41 +01:00
Anton Kosyakov
1204ed797d
[supervisor] fix #2158 : reconnect if the server ws is closed
...
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
2020-11-12 09:00:05 +01:00
Christian Weichel
6e2e96e91d
[ws-daemon] Add workaround for containerd ErrNotFound issue
2020-11-12 08:52:35 +01:00