11481 Commits

Author SHA1 Message Date
Pudong
8dcd0a5fd2
[common-go] reduce configcat info log (#19060) main-gha.19951 2023-11-13 15:12:51 +02:00
Robo Quat
5c7015565b
update index (#19034)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
main-gha.19900
2023-11-11 00:46:48 +02:00
Gero Posmyk-Leinemann
f372e811b6
[spicedb] Change readiness probe to unblock startup (#19058) main-gha.19877 2023-11-10 17:18:48 +02:00
Huiwen
6dd8988acd
Gitpod VS Code Browser Release 1.84.2 (#19055)
* Build stable code

* upgrade stable image

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
main-gha.19873
2023-11-10 17:02:48 +02:00
Wouter Verlaek
185c0428c2
[scrubber] Improve KeyValue performance (#19052)
* [scrubber] Improve KeyValue performance

* Update benchmark comment

* update go mod

* Add metaID to hashed fields

---------

Co-authored-by: Pudong Zheng <pudong@gitpod.io>
main-gha.19869
2023-11-10 16:17:48 +02:00
Manuel Alejandro de Brito Fontes
e4a118c410
We only have CRDs now (#19053) main-gha.19831 2023-11-10 13:46:48 +02:00
Filip Troníček
10dc51f344
Fix hanging streams (#19051)
* Fix hanging streams

* Update README
main-gha.19827
2023-11-10 13:27:48 +02:00
Christian Weichel
bb51f07988
Collect workspace classes from workspace cluster (#19003)
* Extend ws-manager API to support workspace class descriptions

fixes ENG-1065

* Extend  DescribeCluster in ws-manager-mk2

to acurately report the available workspace classes

fixes ENG-1066

* Add workspace classes to cluster in DB

* Intergrate workspace cluster collection in ws-manager-bridge

* Feature flag off discovered workspace class usage

* Fix build

* Add unittest for getSupportedWorkspaceClasses

* Fix workspace class storage

* Adress review feedback
main-gha.19824
2023-11-10 13:13:48 +02:00
Christian Weichel
f48c85484e
Add test for ObserveWorkspaceUntilStarted (#19050) main-gha.19819 2023-11-10 12:17:48 +02:00
Alex Tugarev
f38e12e758
add authprovider.proto to public-api (#19041)
* add authprovider.proto to public-api

* update proto according to guidelines
main-gha.19809
2023-11-10 11:26:47 +02:00
Huiwen
c4354f0e05
local cli: support additional ssh arguments (#19046)
* local cli: support additional ssh arguments

* address

* 1

* add example
main-gha.19802
2023-11-10 10:26:48 +02:00
Alex Tugarev
b2d501842f
[server] move FGA calls into AuthProviderService (#19017)
* [server] move FGA calls into AuthProviderService

* split internal upsert method `updateAuthProvider` into create and update
* refactor: move `getAuthProviders` logic from gitpod-server-impl to auth-provider-service
* adding db tests for auth provider server
* use redacted results in service

* Fix typos

* extract helper functions for scopes

* add more tests

* as regular member, should find org-level providers if no built-in providers present
* as regular member, should find only built-in providers if present

---------

Co-authored-by: Huiwen <mhqnwt@gmail.com>
main-gha.19801
2023-11-10 10:25:47 +02:00
Sven Efftinge
2e3429a4d4
[dashboard] fix EXP-901 (#19043) main-gha.19750 2023-11-09 15:10:47 +02:00
Sven Efftinge
4de380534b
[usage] export creation and stopped time (#19047) main-gha.19748 2023-11-09 14:59:47 +02:00
Christian Weichel
9331ac5507
Add storage metadata to workspace CR (#19044)
* Adding volume fields to workspace CRs

* Move workspace volume details to status

* Add VolumeAttachRequest condition

* Add throughput condition (#18982)

---------

Co-authored-by: Alejandro de Brito Fontes <aledbf@gmail.com>
Co-authored-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
main-gha.19740
2023-11-09 14:06:47 +02:00
Anton Kosyakov
b786da190e
[server] remove gitpod support mention from errors (#19045) main-gha.19721 2023-11-09 11:27:47 +02:00
Brad Harris
df7929ce8a
Adding ConfigurationServiceAPI (#19020)
* adding ConfigurationServiceAPI

* binding config service api to server

* use getConfiguration in dashboard

* adding missing binding

* use ApplicationError's

* add protobuf classes to query client hydration

* fixing pagination param & query

* changing to import statements for consistency and clarity on what the imports are for

* cleanup

* dropping config settings for create for now

* use protobuf field names in error messages

* removing optional on fields

* fixing converters to account for non-optional (undefined) fields

* update test

* adding more tests for findProjectsBySearchTerm

* fixing test to use offset correctly

* convert pagination args correctly
main-gha.19665
2023-11-08 22:42:46 +02:00
Christian Weichel
bf067556cc
Fix workspace creation (#19027) 2023-11-08 18:32:46 +02:00
Christian Weichel
5b6c63d278
Add (out-out) telemetry to CLI (#19033)
* Rename AddApology to MarkExceptional

* Add telemetry

* Improve login failure behaviour

* Fix list format

* Generate identity based on the MAC
main-gha.19643
2023-11-08 17:25:46 +02:00
Huiwen
70a0f126a8
[papi] add watchWorkspace API (#19010)
* [papi] add watch workspace status api

* update import

* 1

* debug commit

* Add workspace_id to proto

* Add unit test for async generator

* Update usage of func

* update test cases

* fix json rpc watch

* 1

* remove test commit and fix missing field
main-gha.19642
2023-11-08 17:24:46 +02:00
Filip Troníček
9f692bb4eb
local cli: better logging for ws stop (#19031)
* local cli: better logging for `ws stop`

* Fix `ws start` status logging

* Fix hangs

* Defer stream closure for status observance
main-gha.19619
2023-11-08 12:02:46 +02:00
Wouter Verlaek
110defe741
Use humanize1024 instead (#19036) main-gha.19616 2023-11-08 11:19:45 +02:00
Wouter Verlaek
7af72bb539
Add GiB left in storage warning (#19035) main-gha.19612 2023-11-08 10:45:45 +02:00
Christian Weichel
1b90b8ac39
Improve log level printing (#19030) main-gha.19589 2023-11-07 22:48:45 +02:00
Christian Weichel
7dfb8840bb
Print information after login (#19029)
* Print information after login

* Adress review feedback
main-gha.19588
2023-11-07 22:47:45 +02:00
Huiwen
d7eae216e3
[LocalCLI] add completion for --class and --editor flags (#19019)
* init

* 1

* 1

* Remove completion in help

* 💄

* Address feedback

* add completion to workspace up
2023-11-07 21:28:45 +02:00
Huiwen
8feb81924a
Gitpod VS Code Browser Release 1.84.1 (#19024)
* [code] build stable

* update stable code

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
main-gha.19549
2023-11-07 17:28:45 +02:00
Huiwen
cf78ae016e
Revert service-waiter for server components on dashboard deployment (#19026) main-gha.19539 2023-11-07 15:31:45 +02:00
Huiwen
ec8766012c
[installer] fix service-waiter bug (#19025) main-gha.19512 2023-11-07 14:03:45 +02:00
Nandaja Varma
6c0bb90a74
Update k3s to gen 106 (#19004) main-gha.19481 2023-11-07 10:26:44 +02:00
Autofix
fe784f73b2
Autofix: trailing-spaces (#18890)
Co-authored-by: Autofix <autofix-bot@users.noreply.github.com>
main-gha.19476
2023-11-07 09:44:45 +02:00
Sven Efftinge
4c35db7587
Add "more elements" hint to repo search. (#19016) main-gha.19459 2023-11-06 23:41:45 +02:00
Siddhant Khare
a55b2b8633
Improve Workspace timeout error UX (#18925) main-gha.19440 2023-11-06 18:46:44 +02:00
Filip Troníček
e51d974c52
Local App v2 :) (#18971)
* Local App v2 :)

* bind variables correctly

* Play around with units

* Port more commands over

* Separate commands (1 per file)

* `gitpod workspace delete`

* Extract login

* Show help text when run without a command

* Fix login

* `gitpod logout`

* Simple logging

* Remove unused import

* Make host use consistent

* Fix GetToken

* Split distribution

* 🤷‍♂️

* Fix paths 🤷🤦

* Change URL of binaries

* Fix proxy binary handling

Co-authored-by: Pudong <tianshi8650@gmail.com>

* Improve logging

* Change workspace list to be up-to-spec

* `gitpod organizations list`

* Simplify table code

* `gitpod workspace get`

* Created at

* `gitpod organization get <id>`

* Hide open for now

* `workspace start --ssh`

* `ws start --open`

* server: OAuth client

* Use OAuth app

* logs

* `gitpod workspace create`

* Rename to follow singular noun semantics

* Fix nil pointers in list and go cmds

* `--field` for `gitpod organizations list`

* `gitpod ws list --field`

* Simplify some of the ws code

* Unify WS data structure

* Allow opening browser-based WSs

* `gitpod workspace open`

* Constants package to get rid of circular dependency issues

* No config file by default

* Guidance when missing in path

* Fix local companion maybe 🤷‍♂️

* Create wait for start by default

* Align scopes

* KeychainName constant

* Provide token via flag instead

* Host in scope error lookup message

* 🤷‍♂️

* Name for consistency

* Editors in go client of papi

* `gitpod workspace list-classes`

* `gitpod config`

* Infer orgs if applicable

* Remove redundant error log

* Retry mechanism for streaming

* More useful error message for unauthed

* README update

* Allow `function:getTeam`

* return org inference errors properly

* Replace config with context

* Fix config file path

* Wrap up pretty printer

* Name changes

* Remove unused vars

* 🇺🇸

* Update README

* Fix login

* [local-app] Add whoami command

* [local-app] Add context management

* Refactor common package

* Harmonise output and formatting

* Add error resolution support

* Improve resolution printing

* Add apology for system exceptions

* Add class resolutions

* Apologise more

* Add unknown field resolution

* Add better login context name

* Make it build

* `gitpod workspace list-editors`

* Fix multiple ws IDs for `ws get`

* Simplify open code

* Update local-app README with usage instructions

* Help for editor options

* Remove unused config code

* Call workspace ID field ID instead of workspace

* Improve long format output

* Fix whoami output

* Streamline workspace listing

* Introduce fancy intro

* Improve set-context feedback

* Remove common package

* Add first unit test

* Harmonise field order

* Consistency across get commands

* Consistency among list command aliases

* Fix column name in whoami

* Fix nil refs for empty hosts

* Make prettyprint writer typesafe

* Add resolutions for no token or no host found

* Fix typo

* Fix CI build

* Properly record org ID on login

* Print orgs in wide format

* Added "workspace up" functionality back in

but hidden

* Make "Git" casing consistent

https://english.stackexchange.com/questions/611711/tech-related-should-i-capitalize-the-word-git-in-this-context-or-not

* Introduce workspace up intermediary

* Fix proxied binary name

---------

Co-authored-by: Pudong <tianshi8650@gmail.com>
Co-authored-by: Christian Weichel (Chris) <chris@gitpod.io>
main-gha.19413
2023-11-06 16:32:44 +02:00
Sven Efftinge
0d19e87ff7
[dashboard] error message on ws-cluster update (#19015) main-gha.19409 2023-11-06 15:59:44 +02:00
Sven Efftinge
f6bf401d38
[dashboard] use organization v2 shapes (#18970) main-gha.19404 2023-11-06 15:18:44 +02:00
Manuel Alejandro de Brito Fontes
0fba511edb
Update kube-rbac-proxy to v0.15.0 (#18984)
* Update kube-rbac-proxy to v0.15.0

* Fix tests
main-gha.19402
2023-11-06 15:07:44 +02:00
Huiwen
1ec7186ff9
Make sure dashboard is deployed after server and public api server (#18995)
* [service-waiter] add cli to wait deployments server and public-api-server

* [installer] make dashboard to wait server and papi

* Implement TODOs

* fixup

* [installer] change service account name

* fix build

* fix rate limit hit

* improve

* remove debug cli env

* Skip with empty image and change attempt duration

* fixup
main-gha.19386
2023-11-06 10:12:44 +02:00
Siddhant Khare
18e04fba56
Add dark mode support to InputWithCopy and (#19011)
TextInputField components
main-gha.19367
2023-11-05 20:04:43 +02:00
Sven Efftinge
59fb058cac
[dashboard] deduplicate repositories (#19013) main-gha.19363 2023-11-05 18:24:43 +02:00
Siddhant Khare
98ea4f6e3d
Handle unknown routes to avoid stack traces leaks (#18972) 2023-11-04 09:41:42 +02:00
Siddhant Khare
9135435186
Detect Kotlin Gradle DSL & populate .gitpod.yml (#18974) main-gha.19301 2023-11-04 09:40:42 +02:00
Sven Efftinge
428c599c69
[dashboard] add title to repo list (#19009) main-gha.19288 2023-11-03 19:12:41 +02:00
Thomas Schubart
c671da1feb
Allow creation of events (#19005) main-gha.19283 2023-11-03 16:09:41 +02:00
Filip Troníček
4316088469
Podkit additions: Button, DropDown, Headings (#18979)
* Init Button, LinkButton, Loading Button, DropDow..
n, DropDownActions, Headings

* Fix new workspace link

* Remove unnecessary className

* Use podkit buttons

* Poof

* Fix button to really be secondary

* More linkbuttons

* Last button fixes, hopefully

* Tooltips

* Pass correct props through LinkButtons

* Copy button same row

* 🤷‍♂️

* f

* 🤫

* Give up on Tooltips for now

* Apply the dropdown hotfix
main-gha.19274
2023-11-03 14:17:41 +02:00
Huiwen
6f35496ff3
Gitpod VS Code Browser Release 1.84 (#19000)
* Build stable

* Fix incorrect product name

* update stable image
main-gha.19242
2023-11-02 23:37:41 +02:00
Filip Troníček
35b4d6a2c4
Fix normalized case-sensitive search params (#18992) main-gha.19239 2023-11-02 22:26:41 +02:00
Kyle Brennan
5b13b510ec
[obs] remove GitpodImagebuildStartSuccess warning (#19002)
This expression has dips regularly, and does not provide value as a notification in its current form.
main-gha.19237
2023-11-02 22:09:40 +02:00
Nandaja Varma
7121dcd64d
Update containerd and buildkit deps for gen 106 (#18999) main-gha.19202 2023-11-02 16:44:40 +02:00
Robo Quat
7f0275a206
Update Platform Version of JetBrains Backend Plugin (EAP) to 233.11361-EAP-CANDIDATE-SNAPSHOT (#18967) main-gha.19188 2023-11-02 10:23:40 +02:00