Skip to content

Claiming a Prebuilt Workspace for a User #512

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

Closed
Tracked by #516
SasSwart opened this issue Mar 14, 2025 · 0 comments · Fixed by coder/coder#17458
Closed
Tracked by #516

Claiming a Prebuilt Workspace for a User #512

SasSwart opened this issue Mar 14, 2025 · 0 comments · Fixed by coder/coder#17458
Assignees

Comments

@SasSwart
Copy link

SasSwart commented Mar 14, 2025

Once prebuilt workspaces have been provisioned and become eligible to be claimed by users, we need to allow them to be claimed and transfered. Implement the mechanism for users to claim prebuild workspaces, transferring ownership from the system user to the claiming user.

Introduce the AGPL (noop) and Enterprise prebuilds.Claimer implementations.

Use them in the coderd/workspaces.go API endpoints to ensure that prebuilds can be claimed when a user attempts to create a new workspace.
When a claim succeeds, provide the required information about the claimed workspace to the workspace builder. Modify the workspace builder to accept and transform this information to a format which it can then pass on to a provisioner job. Modify the provisionerd server to obtain the post-claim agent token and provide it to provisioners when they acquire new jobs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants