Title: Extract helper function for creating a new workspace build · Issue #1401 · coder/coder · GitHub
Open Graph Title: Extract helper function for creating a new workspace build · Issue #1401 · coder/coder
X Title: Extract helper function for creating a new workspace build · Issue #1401 · coder/coder
Description: 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 ...
Open Graph Description: 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 th...
X Description: 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 th...
Opengraph URL: https://github.com/coder/coder/issues/1401
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Extract helper function for creating a new workspace build","articleBody":"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.\r\n\r\n> 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`. 🤷\r\n\r\n_Originally posted by @kylecarbs in https://github.com/coder/coder/pull/1183#discussion_r869675170_\r\n\r\nWhen we have another (third) valid use-case for this, extract a helper function to streamline creating a new workspace build. ","author":{"url":"https://github.com/johnstcn","@type":"Person","name":"johnstcn"},"datePublished":"2022-05-11T21:46:43Z","url":"https://github.com/coder/coder/issues/1401"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0559ce85-b6d6-768a-0de7-eacdb4cb7b2f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D00C:7A60E:220547C:2B8FFEB:6B0170A3 |
| html-safe-nonce | 032f376d564ceb94bd35e4f28857f4de839cd2d82362db05e5a1b095554af456 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDBDOjdBNjBFOjIyMDU0N0M6MkI4RkZFQjo2QjAxNzBBMyIsInZpc2l0b3JfaWQiOiI1MzUxNzY5NjA3NTcxMDc1MjM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5612701b2d69bbb894cd18669f705c5106a3f6f16c8b2528fba666d5b07e374f |
| hovercard-subject-tag | issue:1233215585 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/1401/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30d9b3fb5e3b04b0a29bacf7dc7239a4a1bc188acdfacfbab64c1444fe8c32e7/coder/coder/issues/1401 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30d9b3fb5e3b04b0a29bacf7dc7239a4a1bc188acdfacfbab64c1444fe8c32e7/coder/coder/issues/1401 |
| og:image:alt | 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 th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johnstcn |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width