Skip to content

Commit ca00844

Browse files
committed
Fix create workspace missing project id
1 parent 874a733 commit ca00844

File tree

4 files changed

+45
-0
lines changed

4 files changed

+45
-0
lines changed

components/dashboard/src/service/json-rpc-workspace-client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export class JsonRpcWorkspaceClient implements PromiseClient<typeof WorkspaceSer
136136
contextUrl: request.source.value,
137137
forceDefaultConfig: request.forceDefaultConfig,
138138
workspaceClass: request.workspaceClass,
139+
projectId: request.configurationId,
139140
ideSettings: {
140141
defaultIde: request.editor.name,
141142
useLatestVersion: request.editor.version === "latest",

components/public-api/go/v1/scm_grpc.pb.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/public-api/go/v1/v1connect/scm.connect.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/public-api/typescript/src/gitpod/v1/scm_connect.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export const SCMService = {
1919
typeName: "gitpod.v1.SCMService",
2020
methods: {
2121
/**
22+
* SearchSCMTokens allows clients to retrieve SCM tokens based on the
23+
* specified host.
24+
*
2225
* @generated from rpc gitpod.v1.SCMService.SearchSCMTokens
2326
*/
2427
searchSCMTokens: {
@@ -28,6 +31,9 @@ export const SCMService = {
2831
kind: MethodKind.Unary,
2932
},
3033
/**
34+
* GuessTokenScopes allows clients to retrieve scopes their SCM token would
35+
* require for the specified git command.
36+
*
3137
* @generated from rpc gitpod.v1.SCMService.GuessTokenScopes
3238
*/
3339
guessTokenScopes: {
@@ -37,6 +43,9 @@ export const SCMService = {
3743
kind: MethodKind.Unary,
3844
},
3945
/**
46+
* SearchRepositories allows clients to search for suggested repositories of
47+
* SCM providers they are connected with.
48+
*
4049
* @generated from rpc gitpod.v1.SCMService.SearchRepositories
4150
*/
4251
searchRepositories: {
@@ -46,6 +55,9 @@ export const SCMService = {
4655
kind: MethodKind.Unary,
4756
},
4857
/**
58+
* ListSuggestedRepositories allows clients to list suggested repositories
59+
* based on recent workspaces and accessible repo configurations.
60+
*
4961
* @generated from rpc gitpod.v1.SCMService.ListSuggestedRepositories
5062
*/
5163
listSuggestedRepositories: {

0 commit comments

Comments
 (0)