4103 Commits

Author SHA1 Message Date
Pavel Tumik
07d80c8fa8 add support for aborting workspaces 2022-08-23 20:20:40 +02:00
Jan Keromnes
5e16a2daa4 [dashboard] Clarify that spending limit is in credits 2/2 2022-08-23 16:40:39 +02:00
Jan Keromnes
e200f77c7d [dashboard] Clarify that spending limit is in credits 2022-08-23 16:26:39 +02:00
Milan Pavlik
1cd0fbfd1d [billing] Add report_id to UpdateInvoices RPC 2022-08-23 15:40:39 +02:00
Manuel Alejandro de Brito Fontes
fe98afcc7d Update buildkit to v0.10.4 2022-08-23 15:05:39 +02:00
Pudong Zheng
a92b8c924c Add ide-metrics http endpoint 2022-08-23 12:40:40 +02:00
Victor Nogueira
6b6bac37c6 Use Java SDK defined on JAVA_HOME by default on JetBrains IDEs 2022-08-23 12:31:39 +02:00
Alex Tugarev
d3147bcb55 regenerate usage-api 2022-08-23 12:08:39 +02:00
Filip Troníček
0d5ef368bc Update components/dashboard/src/teams/TeamUsage.tsx
Co-authored-by: Gero Posmyk-Leinemann <32448529+geropl@users.noreply.github.com>
2022-08-23 11:43:40 +02:00
Filip Troníček
0c777b4456 Use toLocaleString with usage of credits 2022-08-23 11:43:40 +02:00
Laurie T. Malau
1a8512b33d CostCenter model 2022-08-23 11:38:39 +02:00
Manuel Alejandro de Brito Fontes
438ffab694 Update k8s dependencies to v0.24.4 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
f1c968f665 Remove deprecated test (because gsutil) 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
7b4a885ee3 Update k8s dependencies to v0.24.3 2022-08-23 08:18:39 +02:00
utam0k
25fc443625 ws-manager: Consistently use clearInitializerFromMap. 2022-08-23 04:27:39 +02:00
Manuel Alejandro de Brito Fontes
510719c024 Update docker-compose to v2.10.0 2022-08-23 02:00:39 +02:00
utam0k
5bf7449d70 ws-manager: Improve handling of sync.Map during initializing 2022-08-22 21:23:38 +02:00
utam0k
de79559a87 ws-manager: Replace initializerMapLock with sync.Map 2022-08-22 21:23:38 +02:00
Laurie T. Malau
9c22f43920 Add config for billInstancesAfter 2022-08-22 13:09:38 +02:00
George Tsiolis
3361ebffb0 Truncate project variable name 2022-08-22 08:28:38 +02:00
Jan Keromnes
a2cf9d343b [usage] In tests, use slightly different creation/started times and stopping/stopped time 2022-08-22 08:23:38 +02:00
Jan Keromnes
ff7c3d696d [usage] Change instance runtime calculation: creationTime → startedTime, stoppedTime → stoppingTime 2022-08-22 08:23:38 +02:00
utam0k
6042240fba ws-manager: Improve the monitor code. 2022-08-22 07:17:38 +02:00
Pavel Tumik @ GitPod
b7cb20128e [content-init] fix PVC not starting up from prebuild correctly 2022-08-22 02:07:38 +02:00
Pavel Tumik
430bdd3c8b [ws-manager] remove hack that was disabling PVC feature 2022-08-22 02:07:38 +02:00
Pavel Tumik @ GitPod
370ba5eb92 [supervisor] fix chown of /workspace when using PVC 2022-08-20 01:16:36 +02:00
Pavel Tumik @ GitPod
2ee278e7d4 [supervisor] add some additional log to help with content init 2022-08-20 01:16:36 +02:00
utam0k
3917ed82de ws-manager: introduce a DisposalEmpty status. 2022-08-19 19:54:36 +02:00
utam0k
79401fba08 ws-manager: if disposal status is finished, don't run finalizer. 2022-08-19 19:54:36 +02:00
utam0k
bb60d0a24b ws-manager: add a handle if diposeStatus doesn't exist 2022-08-19 19:54:36 +02:00
utam0k
28c7ee2281 ws-manager: update the golden files 2022-08-19 19:54:36 +02:00
utam0k
a01ad87972 ws-manager: refactor the monitor. 2022-08-19 19:54:36 +02:00
utam0k
c2d249a5b5 ws-daemon: Proper use of content.json 2022-08-19 19:38:36 +02:00
George Tsiolis
1ba5329c8a [dashboard] Update spending limit modal on workspace start 2022-08-19 17:56:36 +02:00
Gero Posmyk-Leinemann
18b1a50a07 [server, dashboard] Review comments
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2022-08-19 13:19:35 +02:00
Laurie T. Malau
502a9d59cf Show workspace and user details 2022-08-19 13:19:35 +02:00
Andrea Falzetti
b4edca5b68 feat: move new jetbrains features to stable 2022-08-19 10:12:35 +02:00
Jan Keromnes
1baf1df8fb [dashboard] Improve usage-based billing account selection UX 2022-08-18 15:30:35 +02:00
Jan Keromnes
14f6865d97 [dashboard] Temporarily disable selecting personal account for usage-based billing attribution 2022-08-18 15:30:35 +02:00
roboquat
66d19630ed Update Platform Version of JetBrains Gateway Plugin to 222.3739.54-CUSTOM-SNAPSHOT 2022-08-18 14:40:35 +02:00
Gero Posmyk-Leinemann
d8c91b9d9c [server] Never block getStripePublishableKey/getStripeSetupIntentClientSecret based on BillingMode 2022-08-18 09:48:34 +02:00
Gero Posmyk-Leinemann
d186e8342f [usage] Review comments 2022-08-18 09:47:34 +02:00
Gero Posmyk-Leinemann
c3cd684930 [usage] Test for and fix negative credits in GenerateUsageReport 2022-08-18 09:47:34 +02:00
Pavel Tumik @ GitPod
74eb57b950 [server] fix workspace PVC always restored from prebuild even if backup already exists 2022-08-18 09:12:34 +02:00
Pavel Tumik @ GitPod
715ed4bbee fix race condition when creating notifyPod channel 2022-08-18 01:49:34 +02:00
Pavel Tumik @ GitPod
6687af602c [server] ensure that user that has PVC enabled will not force prebuilds to use them on projects that don't have PVC turned on 2022-08-17 20:02:34 +02:00
Alex Tugarev
5f131386b2 [server] trim rawEvents to avoid DB pollution
fixes #11578
2022-08-17 17:54:34 +02:00
Gero Posmyk-Leinemann
4d7695b76c [dashboard] Fix BillingMode UI glitches 2022-08-17 14:56:34 +02:00
Gero Posmyk-Leinemann
2d2c70f62c [server] BillingMode: Use findCustomerByTeamId 2022-08-17 14:56:34 +02:00
Gero Posmyk-Leinemann
acc216d915 [server] Treat "no CostCenter found" the same as "spending limit reached" 2022-08-17 14:56:34 +02:00