Title: Error while canceling job should result in failed; instead results in canceled · Issue #1374 · coder/coder · GitHub
Open Graph Title: Error while canceling job should result in failed; instead results in canceled · Issue #1374 · coder/coder
X Title: Error while canceling job should result in failed; instead results in canceled · Issue #1374 · coder/coder
Description: OS Information coder --version: Coder v0.5.4-devel+d847d2b spotted in code read, c.f. coder/coderd/provisionerjobs.go Line 266 in 2df92e6 job.Status = codersdk.ProvisionerJobCanceled Steps to Reproduce provisioner_job gets a cancel, this...
Open Graph Description: OS Information coder --version: Coder v0.5.4-devel+d847d2b spotted in code read, c.f. coder/coderd/provisionerjobs.go Line 266 in 2df92e6 job.Status = codersdk.ProvisionerJobCanceled Steps to Repro...
X Description: OS Information coder --version: Coder v0.5.4-devel+d847d2b spotted in code read, c.f. coder/coderd/provisionerjobs.go Line 266 in 2df92e6 job.Status = codersdk.ProvisionerJobCanceled Steps to Repro...
Opengraph URL: https://github.com/coder/coder/issues/1374
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error while canceling job should result in failed; instead results in canceled","articleBody":"## OS Information\r\n\r\n- `coder --version`: Coder v0.5.4-devel+d847d2b\r\n\r\nspotted in code read, c.f. https://github.com/coder/coder/blob/2df92e6fd33a5df6551c6822b00a7a073ee2cf22/coderd/provisionerjobs.go#L266\r\n\r\n## Steps to Reproduce\r\n\r\n1. provisioner_job gets a cancel, this sets `canceled_at` and status becomes \"Cancelling\"\r\n2. provisionerd fails and reports an error on the job, this sets `error` and `completed_at`, status becomes \"Canceled\"\r\n\r\n## Expected\r\n\r\nStatus should be Failed\r\n\r\n## Actual\r\n\r\nStatus is Canceled\r\n\r\n## Logs\r\n\r\n## Screenshot\r\n\r\n\u003c!-- Ideally provide a screenshot, gif, video or screen recording. -->\r\n\r\n## Notes\r\n\r\n\u003c!-- Anything else you want to share -->\r\n","author":{"url":"https://github.com/spikecurtis","@type":"Person","name":"spikecurtis"},"datePublished":"2022-05-10T20:31:49Z","url":"https://github.com/coder/coder/issues/1374"}
| 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:f066dfdd-406e-9d78-f9f0-acce1f0c0b94 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F6C:296654:1F015CC:294F00C:6B0176B3 |
| html-safe-nonce | 49a38c69ebae6a77dae7a2c07e824c0ddc12294f61b838b99e92becdff357761 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjZDOjI5NjY1NDoxRjAxNUNDOjI5NEYwMEM6NkIwMTc2QjMiLCJ2aXNpdG9yX2lkIjoiNDcyNzEzNDk1MTU5MjUyMzQ0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 661425f47a35ed86ef94d307d933114259fca14bb711ee9a8fbba56c398d951b |
| hovercard-subject-tag | issue:1231660817 |
| 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/1374/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47feffbb4c5d0ed8944c905ff306af7329273286788b0fcd9dcf9c3cd727ca8d/coder/coder/issues/1374 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47feffbb4c5d0ed8944c905ff306af7329273286788b0fcd9dcf9c3cd727ca8d/coder/coder/issues/1374 |
| og:image:alt | OS Information coder --version: Coder v0.5.4-devel+d847d2b spotted in code read, c.f. coder/coderd/provisionerjobs.go Line 266 in 2df92e6 job.Status = codersdk.ProvisionerJobCanceled Steps to Repro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | spikecurtis |
| 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