Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: allow presets to define prebuilds#363

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
SasSwart wants to merge3 commits intomainfromdk/prebuilds
Closed

Conversation

SasSwart
Copy link
Contributor

@SasSwartSasSwart commentedMar 17, 2025
edited
Loading

This PR introduces the definition of workspace prebuilds into the coder terraform provider.
For a given preset, template authors can now define a desired number of prebuilds. Supported versions of Coder will provision and maintain workspaces in reserve as requested by this parameter. These prebuilds will then be assigned to users when they create new workspaces, thereby reducing the time from first click to workspace use.

closes#362

Signed-off-by: Danny Kopping <danny@coder.com># Conflicts:#provider/agent.go
Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
// This should be a real authentication token!
resourceData.SetId(uuid.NewString())
err := resourceData.Set("token", uuid.NewString())

// CODER_RUNNING_WORKSPACE_AGENT_TOKEN is *only* used for prebuilds. We pass it down when we want to rebuild a prebuilt workspace
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Reminder: we agreed to split the agent part out of this PR since it's logically separate.

@SasSwart
Copy link
ContributorAuthor

Closing in favor of#373

@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 4, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@dannykoppingdannykoppingdannykopping left review comments

@evgeniy-scherbinaevgeniy-scherbinaAwaiting requested review from evgeniy-scherbina

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Add support for defining prebuilds onworkspace_presets
2 participants
@SasSwart@dannykopping

[8]ページ先頭

©2009-2025 Movatter.jp