-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[fga] extract WorkspaceService.start #18467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
bf39da2
to
7a1394b
Compare
b767d6f
to
3cac29d
Compare
6e2afa6
to
d3739c2
Compare
8ffcb7a
to
76566dd
Compare
@akosyakov I rebased, changed 2 minor things and tested in the preview env. Is there anything specific you wanted to test? |
@geropl not really, mostly workspace create/start and admin operations which we changed for blocking |
Will test the blocking, one sec... |
Works. ✔️ |
landing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️
/unhold |
Description
Extracts api.startWorkspace into WorkspaceService.startWorkspace, and adds some basic tests.
🤖 Generated by Copilot at 7a1394b
This pull request refactors the server-side code for starting and stopping workspaces, by using a new
WorkspaceService
interface that consolidates the logic and checks the permissions, entitlements, limits, and other parameters. It also updates the tests and other components that depend on the oldWorkspaceStarter
interface, and improves the region guessing logic.Related Issue(s)
Fixes EXP-321
How to test
Documentation
Preview status
Gitpod was successfully deployed to your preview environment.
Build Options
Build
Run the build with werft instead of GHA
Run Leeway with
--dont-test
Publish
Installer
Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh
. If enabled,with-preview
andwith-large-vm
will be enabled./hold