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

Extract helper function for creating a new workspace build #1401

Closed as not planned
Labels
apiArea: HTTP APIsiteArea: frontend dashboard
@johnstcn

Description

@johnstcn

In the referenced issue, we have duplicated logic to fetch the previous workspace build and provisioner job and insert another provisioner job / workspace build using the same parameters etc. as the previous build.

I wouldn't be opposed to exposing a function like:database.CreateWorkspaceBuild. I'm not a massive fan either, because it certainly conflicts withdatabase.InsertWorkspaceBuild. 🤷

Originally posted by@kylecarbs in#1183 (comment)

When we have another (third) valid use-case for this, extract a helper function to streamline creating a new workspace build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP APIsiteArea: frontend dashboard

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp