You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extract helper function for creating a new workspace build #1401
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 with database.InsertWorkspaceBuild. 🤷
changed the title [-]chore: extract helper function for creating a new workspace build[/-][+]Extract helper function for creating a new workspace build[/+]on Jun 7, 2022
Activity
tjcran commentedon May 16, 2022
@johnstcn is this something needed for the Community MVP? Or is this a
laterthing?johnstcn commentedon May 16, 2022
@tjcran this is just a code hygiene thing and not required for any functionality in particular.
[-]chore: extract helper function for creating a new workspace build[/-][+]Extract helper function for creating a new workspace build[/+]