Gero Posmyk-Leinemann
c568be5978
[image-builder] Introduce retry for all resolver requests (timeout 15s, up to 3 times) for all network-related issues ( #20868 )
...
* [image-builder] Fix generate.sh
* [image-builder-api] Add use_retry_client to ResolveBaseImageRequest and BuildRequest
* [image-builder] Use req.GetUseRetryClient() instead of feature flag resolved on startup
[image-builder] Drop superfluous imports
[image-builder] Switch to github.com/hashicorp/go-retryablehttp, incl. better unit tests at orchestrator level!
* [server] Pass "useRetryClient" on all requests to image-builder
2025-06-05 11:30:13 -04:00
Gero Posmyk-Leinemann
5d557f73c8
[spicedb] Fix intermittent "Error: 4 DEADLINE_EXCEEDED...Waiting for LB pick" ( #20637 )
...
* [dev] Bump grpc/grpc-js 1.10.8 -> 1.12.6 and authzed/authzed-node 0.15.0 -> 1.2.2
Tool: gitpod/catfood.gitpod.cloud
* [server] Streamline spicedb gRPC client usage and creation options
- instead of doing retries on two levels, rely on the gRPC-level retries
- to mitigate the loss of insights, introduce createDebugLogInterceptor
- client options: use sane defaults derived from the documentation instead of the excessive ones we had in place before
- use "waitForReady" option: it should a) make our calls for responsive on re-connects, while b) - because we keep re-trying on DEADLINE_EXCEEDED - should be as reliable as before
Tool: gitpod/catfood.gitpod.cloud
* [protocol] Centralize grpc.isConnectionAlive
Tool: gitpod/catfood.gitpod.cloud
* [server] SpiceDB client: retry with new client on "Waiting for LB pick" error
Tool: gitpod/catfood.gitpod.cloud
2025-03-17 05:13:46 -04:00
Gero Posmyk-Leinemann
2686bc2f47
[server, bridge] Bump grpc-js and authzed clients ( #19849 )
...
* [yarn] Bump @grpc/grpc-js to 1.10.8 and @authzed/authzed-node to 0.15.0
* [server] SpiceDB: explicit re-try on UNAVAILABLE
We tried to configured this inside the SpiceDBClientProvider already, but somehow it still surfaced.
* [server, bridge] Configure "grpc.dns_min_time_between_resolutions_ms" to be 2s instead of 30s
2024-06-06 13:57:19 +08:00
Pudong
b2592b14cc
[image-build] refactor image build ( #19474 )
...
* add experimental config for set baseImageRepo and workspaceImageRepo
* use crane speed up build workpace image layer
* refactor image build logic
* Indicate when BuildStarted fails
* Revert "Indicate when BuildStarted fails"
This reverts commit 11f36f1b76164a3777d27430dd35aacb322fe2f4.
* Apply suggestions from code review
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
* update readme
* remove warn
---------
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2024-03-28 13:54:37 +01:00
Thomas Schubart
9f5c35cf45
Extend subassembly service with manifest ( #18896 )
2023-10-09 15:51:17 +03:00
Christian Weichel
f482e0a02d
Add subassembly service API ( #18834 )
...
* Add subassembly service API
* Make workspacekit image configurable
2023-09-28 14:55:07 +03:00
Huiwen
181c983405
[server,dashboard] verify image accessibility when updating org workspace image setting ( #18747 )
...
* [server] verify image accessibility before update settings
* [dashboard] update org settings page
* fixup disable button for members
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* hid change button for members
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: Filip Troníček <filip@gitpod.io>
* update image hint
* Add description to WorkspaceImageButton
* Lighter description
* render desc list
---------
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
Co-authored-by: Filip Troníček <filip@gitpod.io>
2023-09-20 23:01:59 +02:00
Sven Efftinge
841b616c34
[spicedb] fix stale connection handling ( #18631 )
2023-09-01 12:53:58 +02:00
Kyle Brennan
f0617d86ef
[image-builder-api] log more, traces aren't always available ( #18579 )
...
* [image-builder-api] log more, traces aren't always available
* [server] log interesting params for actuallyStartWorkspace
* Log params when starting actuallyStartWorkspace
Co-authored-by: Milan Pavlik <milan@gitpod.io>
* [image-builder-api] don't bother logging source
It's redacted
---------
Co-authored-by: Milan Pavlik <milan@gitpod.io>
2023-08-23 16:32:49 +02:00
Manuel Alejandro de Brito Fontes
64994160d9
Remove FUSE support ( #18536 )
...
* Remove FUSE support
* Update docs
* Remove fuse-overlayfs
* Fix installer validation
2023-08-18 16:13:44 +02:00
Sven Efftinge
7f81d83956
fix watch mode ( #18414 )
2023-08-07 17:04:33 +02:00
Alex Tugarev
afac02330b
Downgrade grpc-js ( #18346 )
...
Current version seems to have issues with tearing down the node processes.
2023-07-26 17:46:42 +08:00
Gero Posmyk-Leinemann
d7acfb662a
Updated outdated dependencies to avoid CVEs ( #18144 )
...
* Update grpc/grpc-js
* Update http-cache-semantics
* decode-uri-component
2023-07-04 16:40:21 +08:00
Gero Posmyk-Leinemann
cc52d25280
Upgrade yarn packages ( #18128 )
...
* [ts] Pin mimimatch and minimist
* [server] Update minio
* [ts] Remove superfluous node-pre-gyp dep
* [ts] Pin jsonwebtoken to 9.0.0
* [grpc] Update grpc-toolsis
* [ts] Upgrade from mocha-typescript to @testdeck/mocha
* fix rimraf
2023-07-03 14:47:19 +08:00
Gero Posmyk-Leinemann
909955d2c4
[db, ts] Introduce a generic db.transaction() ( #17980 )
...
* [ts] Upgrade inversify 5.0.1 -> 6.0.1
* [server, db] Introduce TransactionalDB for User, Workspace, Projects
* Fix tests
2023-06-21 16:12:11 +08:00
Milan Pavlik
0e2ec6cd24
Remove usage of applicationCluster column from WorkspaceCluster ( #16824 )
...
* Remove usage of applicationCluster column from WorkspaceCluster
* fix
* Fix
* fix
* Fix
* fix
* Fix
* fix
* Fix
* Fix
* fix
2023-03-14 13:13:07 +01:00
Gero Posmyk-Leinemann
3a854eb450
[server] Male sure to only ever finish this span once
2023-02-08 16:50:47 +01:00
Sven Efftinge
74aa6db6e4
[ws-manager-api] Add region for cluster selection
2023-02-08 10:51:46 +01:00
Anton Kosyakov
ab0f640656
fix #15266 : decouple deployment of supervisor for image builds
2022-12-12 12:28:22 -03:00
Christian Weichel
478a75e744
Switch license to AGPL
2022-12-08 13:05:19 -03:00
Andrew Farries
2ede9de6e0
Pass applicationCluster everywhere
...
Connect the configured installationShortname aka applicationCluster from
server, ws-manager-bridge, and the image-builder-api to workspace
cluster provider.
2022-10-26 17:26:42 +02:00
Milan Pavlik
560b45cca5
[image-builder] Do not log full request, unless in debug mode
2022-10-21 09:48:36 +02:00
Manuel Alejandro de Brito Fontes
000cadead8
Update grpc code
2022-10-04 15:17:22 +02:00
Jean Pierre
3014435230
Match google-protobuf version across components
2022-08-17 08:14:33 +02:00
Gero Posmyk-Leinemann
2dc450d595
[protocol, et al] Extract gRPC ClientCallMetrics into protocol
2022-07-20 09:31:15 -03:00
Gero Posmyk-Leinemann
6ace17b547
[server] Use workspace cluster as image-builder (feature flag: "movedImageBuilder")
2022-07-12 14:40:59 +05:30
Gero Posmyk-Leinemann
87f2e3d395
[image-builder] Format sugar.ts
2022-07-12 14:40:59 +05:30
Mads Hartmann
2823606369
Ensure we close spans
2022-05-28 23:44:47 +05:30
Thomas Schubart
c5c2bfea3f
Add real owner to imagebuild metadata
2022-04-29 21:50:15 +05:30
Manuel Alejandro de Brito Fontes
ab0d69cfea
Update generated code
2022-04-25 15:52:37 +05:30
Christian Weichel
42215c9302
Support private registries
2022-03-08 22:49:15 +05:30
Gero Posmyk-Leinemann
ce802b8841
[image-builder, et. al] Return the public workspace URL for all imagebuilds (incl. extra headers to access said URL) and store it in workspace
2022-02-02 17:35:24 +01:00
Gero Posmyk-Leinemann
0189125c45
[protocol] Rename TraceContext.log* to TraceContext.set*
2021-12-10 14:26:35 +01:00
Gero Posmyk-Leinemann
a71f9eff17
[image-builder] Call client.close() when no longer used
2021-11-26 11:43:22 +01:00
Manuel Alejandro de Brito Fontes
a30a1bff48
Add ExposedPorts message and remove Target and GlobalPort
2021-11-05 10:33:03 +01:00
Manuel Alejandro de Brito Fontes
353b33eb42
Update typescript dependencies
2021-11-02 15:50:10 +01:00
Manuel Alejandro de Brito Fontes
9b90bd5f6b
Update protoc generated code
2021-11-02 15:50:10 +01:00
Gero Posmyk-Leinemann
7abe78c917
[dev] Upgrade to node.js v16 and all major TS libs
...
This commit includes the following commits:
- @iqqbot update dev image to nodejs v16lts
- @iqqbot update dev-environment-image to use nodejs v16
- @iqqbot update component to nodejs v16 lts
- [licensor] Adjust to v16
- [ts] Bump @types/node to ^16.11.0 accordingly
- @aledbf Update typescript dependencies
- @aledbf Update typescript configuration
- @aledbf / @geropl Update typescript code
- [server] Fix express/passport types
- [db] typeorm upgrade 0.1.20 -> 0.2.22: fix compile and runtime issues
- [db] typeorm upgrade 0.2.22 -> 0.2.38: fix compile and runtime issues
- [dev] Upgrade amqplib and smaller libs
- [dev] Upgrade uuid
- [dev] Update probot
- [dev] Final yarn.lock
2021-11-02 13:59:10 +01:00
Pudong Zheng
40c8138d2b
upgrade typescript compiler target to es6
2021-10-21 15:30:59 +02:00
Manuel Alejandro de Brito Fontes
fb8117655b
[image-builder-mk3] Fix image build error "did not produce a workspace image"
2021-10-14 00:27:00 -03:00
Jan Koehnlein
353ddc20fb
[server] Add gRPC client side metrics for image-builder and ws-manager
2021-09-17 08:34:42 -03:00
Prince Rachit Sinha
a0f4ed58eb
Upgrade grpc-js library
2021-08-31 08:43:29 -03:00
Manuel Alejandro de Brito Fontes
4606a42d03
Update typescript generated code
2021-08-04 15:49:04 +02:00
Manuel Alejandro de Brito Fontes
44d5f0a81f
Update npm dependencies
2021-08-04 15:49:04 +02:00
Christian Weichel
5002453de7
[image-builder-mk3] Adapt to new log infrastructure
2021-07-22 16:32:26 +02:00
Christian Weichel
d2c94886dd
[server] Properly use image builder ref
2021-07-22 16:32:26 +02:00
Cornelius A. Ludmann
cacf3ed66e
[image-builder] Support imagebuild/ context prefix
...
Forces the build of the workspace image.
2021-05-25 09:33:25 +02:00
Jan Keromnes
1b2605ff53
[protoc] Re-run 'leeway run components:generate-code-from-protobuf'
2021-04-20 15:04:10 +02:00
Manuel Alejandro de Brito Fontes
3f070469de
[image-builder-api] Switch to @grpc/grpc-js
2021-04-15 08:54:05 -04:00
Autofix
af51739d34
Autofix: trailing-spaces
2021-04-12 08:29:10 +02:00