René's URL Explorer Experiment


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

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@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-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f066dfdd-406e-9d78-f9f0-acce1f0c0b94
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8F6C:296654:1F015CC:294F00C:6B0176B3
html-safe-nonce49a38c69ebae6a77dae7a2c07e824c0ddc12294f61b838b99e92becdff357761
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjZDOjI5NjY1NDoxRjAxNUNDOjI5NEYwMEM6NkIwMTc2QjMiLCJ2aXNpdG9yX2lkIjoiNDcyNzEzNDk1MTU5MjUyMzQ0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac661425f47a35ed86ef94d307d933114259fca14bb711ee9a8fbba56c398d951b
hovercard-subject-tagissue:1231660817
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/1374/issue_layout
twitter:imagehttps://opengraph.githubassets.com/47feffbb4c5d0ed8944c905ff306af7329273286788b0fcd9dcf9c3cd727ca8d/coder/coder/issues/1374
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/47feffbb4c5d0ed8944c905ff306af7329273286788b0fcd9dcf9c3cd727ca8d/coder/coder/issues/1374
og:image:altOS 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamespikecurtis
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/coder/issues/1374#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F1374
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F1374
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/issues/1374
Reloadhttps://github.com/coder/coder/issues/1374
Reloadhttps://github.com/coder/coder/issues/1374
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/1374
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/1374
#3101https://github.com/coder/coder/pull/3101
Error while canceling job should result in failed; instead results in canceledhttps://github.com/coder/coder/issues/1374#top
#3101https://github.com/coder/coder/pull/3101
https://github.com/Kira-Pilot
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
cliArea: CLIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22cli%22
Community MVPhttps://github.com/coder/coder/milestone/2
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
on May 10, 2022https://github.com/coder/coder/issues/1374#issue-1231660817
coder/coderd/provisionerjobs.gohttps://github.com/coder/coder/blob/2df92e6fd33a5df6551c6822b00a7a073ee2cf22/coderd/provisionerjobs.go#L266
2df92e6https://github.com/coder/coder/commit/2df92e6fd33a5df6551c6822b00a7a073ee2cf22
spikecurtishttps://github.com/spikecurtis
bug 🐛https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22bug%20%3Abug%3A%22
needs grooming 🪒https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%20%3Arazor%3A%22
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
on May 10, 2022https://github.com/coder/coder/issues/1374#event-6584982453
missknisshttps://github.com/misskniss
needs grooming 🪒https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%20%3Arazor%3A%22
needs grooming 🪒https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%20%3Arazor%3A%22
on May 12, 2022https://github.com/coder/coder/issues/1374#event-6595271565
https://github.com/tjcran
tjcranhttps://github.com/tjcran
on May 16, 2022https://github.com/coder/coder/issues/1374#issuecomment-1127192132
tjcranhttps://github.com/tjcran
cliArea: CLIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22cli%22
brainbreak 🧠https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22brainbreak%20%3Abrain%3A%22
Enterprise MVP 🏁https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22Enterprise%20MVP%20%3Acheckered_flag%3A%22
needs grooming 🪒https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%20%3Arazor%3A%22
on May 16, 2022https://github.com/coder/coder/issues/1374#event-6612789184
tjcranhttps://github.com/tjcran
Enterprise MVP https://github.com/coder/coder/milestone/5
on May 16, 2022https://github.com/coder/coder/issues/1374#event-6612789873
tjcranhttps://github.com/tjcran
Community MVP 🏁https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22Community%20MVP%20%3Acheckered_flag%3A%22
Enterprise MVP 🏁https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22Enterprise%20MVP%20%3Acheckered_flag%3A%22
on Jun 4, 2022https://github.com/coder/coder/issues/1374#event-6742424770
tjcranhttps://github.com/tjcran
Enterprise MVP https://github.com/coder/coder/milestone/5
Community MVPhttps://github.com/coder/coder/milestone/2
on Jun 4, 2022https://github.com/coder/coder/issues/1374#event-6742424854
kylecarbshttps://github.com/kylecarbs
on Jun 7, 2022https://github.com/coder/coder/issues/1374#event-6757240809
missknisshttps://github.com/misskniss
nice-to-havehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22nice-to-have%22
on Jun 7, 2022https://github.com/coder/coder/issues/1374#event-6762479932
Kira-Pilothttps://github.com/Kira-Pilot
on Jul 18, 2022https://github.com/coder/coder/issues/1374#event-7013447058
kylecarbshttps://github.com/kylecarbs
brainbreakhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22brainbreak%22
nice-to-havehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22nice-to-have%22
on Jul 18, 2022https://github.com/coder/coder/issues/1374#event-7015145917
Kira-Pilothttps://github.com/Kira-Pilot
on Jul 20, 2022https://github.com/coder/coder/issues/1374#event-7029002358
set a failed canceled job status correctlyhttps://github.com/coder/coder/commit/aafd8e50124337d61ecfd39e0779fd4143dc3571
https://docs.github.com/articles/closing-issues-via-commit-messages
aafd8e5https://github.com/coder/coder/commit/aafd8e50124337d61ecfd39e0779fd4143dc3571
missknisshttps://github.com/misskniss
Community MVPhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22Community%20MVP%22
on Jul 21, 2022https://github.com/coder/coder/issues/1374#event-7040827975
Kira-Pilothttps://github.com/Kira-Pilot
on Jul 21, 2022https://github.com/coder/coder/issues/1374#event-7041002177
set a failed canceled job status correctlyhttps://github.com/coder/coder/commit/14009c983ff33e22034492dfa044ef3ff4db7c93
https://docs.github.com/articles/closing-issues-via-commit-messages
14009c9https://github.com/coder/coder/commit/14009c983ff33e22034492dfa044ef3ff4db7c93
set a failed canceled job status correctlyhttps://github.com/coder/coder/commit/b4f8c53b93f78d69d053ce101bcc4799b1b977a6
https://docs.github.com/articles/closing-issues-via-commit-messages
b4f8c53https://github.com/coder/coder/commit/b4f8c53b93f78d69d053ce101bcc4799b1b977a6
Kira-Pilothttps://github.com/Kira-Pilot
completedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#3101https://github.com/coder/coder/pull/3101
on Jul 21, 2022https://github.com/coder/coder/issues/1374#event-7041353476
Kira-Pilothttps://github.com/Kira-Pilot
on Jul 21, 2022https://github.com/coder/coder/issues/1374#event-7041353488
fix: set a failed canceled job status correctly (#3101)https://github.com/coder/coder/commit/0aa8c2efeb38da5495bc11b828b53a0cab76d6c8
#3101https://github.com/coder/coder/pull/3101
https://docs.github.com/articles/closing-issues-via-commit-messages
0aa8c2ehttps://github.com/coder/coder/commit/0aa8c2efeb38da5495bc11b828b53a0cab76d6c8
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/1374
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/1374
Kira-Pilothttps://github.com/Kira-Pilot
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
cliArea: CLIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22cli%22
Community MVPhttps://github.com/coder/coder/milestone/2
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.