7968 Commits

Author SHA1 Message Date
Siddhant Khare
b0596ee60b
chore: Add hashed user ID cookie in analytics controller service (#20226) 2024-09-17 07:58:02 -04:00
Kyle Brennan
2be52daba4
[ws-proxy] introduce RED metrics, including a http_version label (#20196)
* Introduce RED metrics for ws-proxy

Originally from https://github.com/gitpod-io/gitpod/pull/17294

Co-authored-by: Anton Kosyakov <anton@gitpod.io>

* Remove unused var

* [ws-proxy] fix crash loop backoff (WIP)

I think for this value to be populated, we'll need to "bubble up" httpVersion (like what was done with many methods and resource) 🤔 Think of a better way.

* Add namespace and subsystem to metrics

* Set a value for http_version label

* Persist http_version for server metrics

* Code review feedback

---------

Co-authored-by: Anton Kosyakov <anton@gitpod.io>
2024-09-16 11:40:01 -04:00
Filip Troníček
35f53b9386
Enforce minimum scopes in the UI (#20217) 2024-09-16 03:56:02 -04:00
mustard
4b05e71e10
[jb-gha] improve nightly script and update file structure (#20220)
* [jb-gha] draft nightly script and update file structure

* Update GHA with draft script

* Update summary

* Run leeway build

* Fix build and share slack notification

* Add force use dev latest images leeway script
2024-09-14 09:01:00 -04:00
mustard
eb279a9e6e
[gha] fix JetBrains Gateway upgrade script (#20218) 2024-09-14 05:57:59 -04:00
Filip Troníček
c79f478362
Reduce required Bitbucket scopes (#20195) 2024-09-13 03:16:59 -04:00
Gero Posmyk-Leinemann
93f81feb15
[gp] Introduce "gp user-info" showing userId and email (#20206)
* [gp] Introduce "gp user-info" showing userId and email

* [gp] gp user-info: Add --email
2024-09-12 04:36:57 -04:00
Gero Posmyk-Leinemann
feb6058859
[idp] Guarantee stable email address for IDP token for organization-bound users (#20199) 2024-09-12 04:14:57 -04:00
mustard
9070e11035
[JetBrains] Update Platform Version from JetBrains Gateway Plugin (Stable) (#20201)
* Update Platform Version of JetBrains Gateway Plugin (Stable) to

* Fix and update GHA script

* fixup

---------

Co-authored-by: Robo Quat <roboquat@gitpod.io>
2024-09-12 02:28:57 -04:00
mustard
3037306124
[JetBrains] Update IDE images to new build version (#20200)
* [JetBrains] Update IDE images to new build version

* Remove Rider upgrade

* Remove Rider auto upgrade

---------

Co-authored-by: Robo Quat <roboquat@gitpod.io>
2024-09-11 15:19:57 -04:00
Robo Quat
d54058956d
update index (#20178)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-09-11 12:23:57 -04:00
mustard
f8fc9461e6
[ws-proxy] remove cors settings (#20198) 2024-09-11 09:06:57 -04:00
mustard
02b49524eb
Add full clone setting for prebuilds (#20177)
* proto update

Co-authored-by: Filip Troníček <filip@gitpod.io>
Co-authored-by: Gero Posmyk-Leinemann <32448529+geropl@users.noreply.github.com>

* dashboard + server

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
Co-authored-by: Gero Posmyk-Leinemann <32448529+geropl@users.noreply.github.com>
2024-09-11 04:44:57 -04:00
Gero Posmyk-Leinemann
c489f17fc9
[bridge] Actually set deployedTime in ws-manager-bridge (#20194) 2024-09-11 02:58:57 -04:00
Gero Posmyk-Leinemann
d3eccd0169
[gp] Allow update of existing user-scoped env vars (#20193)
* [gp, protocol, server] Remove references to long-deprecated "getEnvVars" API method

* [gp, server] Allow users to update user-scopes env vars
2024-09-11 02:57:56 -04:00
Gero Posmyk-Leinemann
3fdfd128f9
[dashboard] Potential fix for "lost workspace updates" in StartWorkspace.tsx introduced in #20095 (#20189)
It's unclear as to if that's a real bug, fixing it here is good anyway.
2024-09-09 08:16:55 -04:00
mustard
ee9bda60ff
Update stable JetBrains IDEs (#20180)
* [JetBrains] Update IDE images to new build version

* Update how backend-plugin build

---------

Co-authored-by: Robo Quat <roboquat@gitpod.io>
2024-09-06 06:19:49 -04:00
Filip Troníček
8e8a5db974
[PAPI] Retry steams upon not receiving data for 10 seconds (#20172)
* [PAPI] Retry steams upon not receiving data for 10 seconds

* [PAPI] Retry steams upon not receiving data for 10 seconds (#20176)

* debug message

* Do not listen for ws updates globally and do not timeout for those calls

* Timeout signal as a getter

* use ff for disablement

* accesor fn => getter

* send empty initial data in papi for global ws watch requests

---------

Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2024-09-06 04:31:49 -04:00
Gero Posmyk-Leinemann
414ee45983
[supervisor] Frontend: re-try + track "checkReady" (#20175)
* [ws-proxy] Log whenever we can't connect to an upstream

* [protocol] Fix linter error

* [supervisor] Frontend: re-connect every 5s + track behavior

* [supervisor] Frontend: Guard connection re-try with feature flag "supervisor_check_ready_retry"
2024-09-05 10:54:48 -04:00
Robo Quat
a25cbb8a7a
Update Platform Version of JetBrains Gateway Plugin (Stable) to (#20173) 2024-09-03 11:24:46 -04:00
mustard
c5c525506d
[GHA] update JetBrains Gateway stable platform version updating job (#20171) 2024-09-03 03:28:46 -04:00
Robo Quat
4d805b1f0b
[JetBrains] Update Platform Version from JetBrains Backend Plugin (EAP) (#20160)
* Update Platform Version of JetBrains Backend Plugin (EAP) to

* remove unnecessary changes

---------

Co-authored-by: mustard <huiwen@gitpod.io>
2024-09-02 09:36:45 -04:00
mustard
cee438b2e2
[GP-CLI] fix gp preview not outputting stderr and stdout properly (#20166)
* [GP-CLI] fix `gp preview` not outputting stderr and stdout properly

* remove stdout pipe
2024-09-02 08:52:45 -04:00
Filip Troníček
b68fdec640
Verify new organization joinees (#20161) 2024-09-02 04:26:45 -04:00
Filip Troníček
c21595c646
Simplify example repositories (#20156)
* Simplify example repositories

* Actually fix the bug

* Fix resolved repo name

* Fix display names for examples
2024-08-30 13:46:43 -04:00
Filip Troníček
acae8deec5
Lower fetch priority of metrics (#20158)
* Minor improvements to metrics requests

* Fix builds
2024-08-30 11:46:43 -04:00
Filip Troníček
a1ec400db4
Improve frontend handling of many projects (#20151)
* Remove project context fetching

* limit projects returned from `ListSuggestedRepositories`

* Get rid of all projects query

* A WIP state

* Enhance search and normalize links

* Revert find project DB changes

* Make repo finder responsible for current selection

* remove debug

* Comments

* Re-use pagination flattening

* Query improvements

* limit pagination

* Add test about keeping length

* Fix test

* Fix repo ordering

* add normalize comment
2024-08-29 16:38:42 -04:00
mustard
b96fb60398
Fix ws-proxy pending (#20157) 2024-08-29 04:14:41 -04:00
mustard
309a32e82e
Improve CORS settings (#20154)
* Remove allowCredentials

* fix tests

* Revert "Remove allowCredentials"

This reverts commit 06624ee50c7f231e2f1bce6ab96d347ee859be20.

* Use FeatureFlag `ws_proxy_cors_enabled`

* Fix test failed

* fixup

* fix network

* fixup
2024-08-29 03:03:41 -04:00
Pudong
5661c6e701
[gp validate] using gitpod/workspace-full:latest as default image (#20155) 2024-08-28 05:26:41 -04:00
mustard
b6c2db780b
Validate redirect url (#20152)
* Validate redirect url

* Address feedback

* feedback 2
2024-08-27 12:45:40 -04:00
Filip Troníček
1963a8e685
Feature flag for disabling listening for all prebuild updates (#20150) 2024-08-26 04:55:38 -04:00
Thomas Schubart
47370e2ed9
Use supervisor mount namespace for mount (#20144) 2024-08-23 19:01:46 -04:00
mustard
6e78b49260
Fix Rider build on main (#20145)
* test

* Force Rider's verify IDE to use Rider

* Revert build.sh changes
2024-08-23 13:42:46 -04:00
mustard
53299137d9
Fix JetBrains Rider integration (#20141)
* Build rider backend plugin

* Fix leeway build

* fix build
2024-08-23 11:34:23 -04:00
Robo Quat
1126920f16
[JetBrains] Update Platform Version from JetBrains Backend Plugin (EAP) (#20115)
* Update Platform Version of JetBrains Backend Plugin (EAP) to

* Remove unnecessary changes

---------

Co-authored-by: Huiwen <mhqnwt@gmail.com>
2024-08-22 18:22:22 -04:00
mustard
b719360140
[JetBrains] Upgrade Gitpod Gateway plugins and fix integration tests (#20136)
* [JetBrains] Upgrade platform version of stable and latest Gitpod Gateway plugins

* Update integration tests gateway build path
2024-08-22 02:00:21 -04:00
Aminur Rahman
1267ae2404
Update outdated SSO docs link for Enterprise onboarding (#20137) 2024-08-21 05:30:21 -04:00
mustard
f3193519fd
[TB] Update respond data of joinLink2 (#20133) 2024-08-20 02:32:19 -04:00
Robo Quat
d807368121
update index (#20134)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2024-08-20 02:16:19 -04:00
Huiwen
4f6e2cb986
[TB] limit oauth scopes (#20131) 2024-08-16 12:07:18 -04:00
Huiwen
35e4f385c5
Fix incorrect usage of os.Stat (#20125)
* Update main.go

* Fix incorrect stat for link

* add doc
2024-08-16 00:31:18 -04:00
Huiwen
52cb659a7a
Fix JetBrains backend plugin not up-to-date for prebuilds (#20123) 2024-08-15 15:03:18 -04:00
Gero Posmyk-Leinemann
55d1a8b6e4
[dashboard] Remove last unused feature flag references (#20121) 2024-08-15 06:17:17 -04:00
Gero Posmyk-Leinemann
7ae65ce7a4
[image-builder] Detect "429 - Too Many Request" and bubble up as "Unavailable" (#20112) 2024-08-14 02:38:16 -04:00
Thomas Schubart
cd00bab92b
Fix nfs permissions (#20113) 2024-08-13 17:16:16 -04:00
Gero Posmyk-Leinemann
4524c19868
[OIDC] IDP: use workspace.context.normalizedContextUrl to fill the "sub" and "context" claims of the IDToken (#20111)
The motivation is to have more uniform URL shapes to match against e.g. across different IDEs.
2024-08-13 10:41:15 -04:00
Huiwen
2d67254d5a
[JetBrains] bump up latest backend plugin platform version and fix integration tests (#20109)
* Update Platform Version of JetBrains Backend Plugin (EAP) to

* Revert unnecessary changes

* Fix project name and build target name

* Fix integration tests

---------

Co-authored-by: Robo Quat <roboquat@gitpod.io>
2024-08-13 09:54:16 -04:00
Filip Troníček
f5acd61fcd
Organization timeout defaults (#20099)
* Organization timeout defaults proto

* Generated code

* Implement TimeoutSettings on the API layer

* Add timeout setting UI

* Actually change default workspace timeout based on org settings

workspace starter fixes

* Add alert for free plans

* denyUserTimeouts

* [dashboard] Fix check for "timeout config eligibility" by using BillingMode

* [server] Drop FF "disable_set_timeout"

* fix

* Move to team policies

* don't include `timeoutSettings` if not set

* [dashboard] TeamPolicies: Disable "save" if workspace timeouts are disabled

---------

Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2024-08-13 03:51:15 -04:00
Filip Troníček
aa1836d9b1
Fix workspace list grid on Safari (#20107) 2024-08-13 02:46:15 -04:00