| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:1cfe77f6-6471-7473-0364-40bf5669f61c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A212:1F2D:1F89C2F:27F1D42:6B01A1E3 |
| html-safe-nonce | 4892bd1e63e264040c51c3215f3d6216414166f28991b8bfbe056ce477d431d3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjEyOjFGMkQ6MUY4OUMyRjoyN0YxRDQyOjZCMDFBMUUzIiwidmlzaXRvcl9pZCI6IjQ3Mjk3Mzc0MzU0ODU5MzgxNDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 698c7c6f56328ecf6672f5498006acb9eb84bc4ace0f16a20654122888420cac |
| hovercard-subject-tag | pull_request:1125834047 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/5115/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/abee673dea45bd929316586d19370e9a00a36be1e6f4f5dedd54e1b39afedc0c/coder/coder/pull/5115 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/abee673dea45bd929316586d19370e9a00a36be1e6f4f5dedd54e1b39afedc0c/coder/coder/pull/5115 |
| og:image:alt | Fixes: #5035
This PR adds a condition to workspacebuilds to allow/block cancel requests to workspace jobs. If the flag allow_user_cancel_workspace_jobs is disabled, only users with the "owner&... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mtojek |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| 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 | pull-requests |
| Skip to content | https://github.com/coder/coder/pull/5115#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F5115 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F5115 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fcoder |
| Reload | https://github.com/coder/coder/pull/5115 |
| Reload | https://github.com/coder/coder/pull/5115 |
| Reload | https://github.com/coder/coder/pull/5115 |
| coder | https://github.com/coder |
| coder | https://github.com/coder/coder |
| Code | https://github.com/coder/coder |
| Issues320 (320) | https://github.com/coder/coder/issues |
| Pull requests470 (470) | https://github.com/coder/coder/pulls |
| Discussions | https://github.com/coder/coder/discussions |
| Actions | https://github.com/coder/coder/actions |
| Projects | https://github.com/coder/coder/projects |
| Security and quality49 (49) | https://github.com/coder/coder/security |
| Insights | https://github.com/coder/coder/insights |
| https://github.com/coder/coder |
| mtojek | https://github.com/mtojek |
| coder:main | https://github.com/coder/coder/tree/main |
| mtojek:5035-allow-user-cancel | https://github.com/mtojek/coder/tree/5035-allow-user-cancel |
| Conversation | https://github.com/coder/coder/pull/5115 |
| Commits19 (19) | https://github.com/coder/coder/pull/5115/commits |
| Checks | https://github.com/coder/coder/pull/5115/checks |
| Files changed | https://github.com/coder/coder/pull/5115/files |
| feat: Allow user to cancel workspace jobs | https://github.com/coder/coder/pull/5115#top |
| mtojek | https://github.com/mtojek |
| coder:main | https://github.com/coder/coder/tree/main |
| mtojek:5035-allow-user-cancel | https://github.com/mtojek/coder/tree/5035-allow-user-cancel |
|
| https://github.com/mtojek |
| mtojek | https://github.com/mtojek |
| Nov 17, 2022 | https://github.com/coder/coder/pull/5115#issue-1453161321 |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
| #5035 | https://github.com/coder/coder/issues/5035 |
| https://user-images.githubusercontent.com/14044910/202715463-c363e687-3b43-4eaa-997a-ff774c9073ae.png |
| https://user-images.githubusercontent.com/14044910/202715569-ec2c646c-fd90-4e20-9831-5996118dd63c.png |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
| mtojek | https://github.com/mtojek |
| November 17, 2022 10:50 | https://github.com/coder/coder/pull/5115#commits-pushed-4dcbf5c |
|
| https://github.com/mtojek |
| Add database column allow_user_cancel_workspace_jobs | https://github.com/coder/coder/pull/5115/commits/4dcbf5c98e315fdf67a4a2b391275d296c9c8dcd |
| 4dcbf5c | https://github.com/coder/coder/pull/5115/commits/4dcbf5c98e315fdf67a4a2b391275d296c9c8dcd |
|
| https://github.com/mtojek |
| Adjust API | https://github.com/coder/coder/pull/5115/commits/400413ebb9d5d061403bd15bde5804dcf91380fe |
| 400413e | https://github.com/coder/coder/pull/5115/commits/400413ebb9d5d061403bd15bde5804dcf91380fe |
|
| https://github.com/mtojek |
| site: typesGenerated.ts | https://github.com/coder/coder/pull/5115/commits/7f8dcaad571d313467fcec1a25925ed3e8a4b116 |
| 7f8dcaa | https://github.com/coder/coder/pull/5115/commits/7f8dcaad571d313467fcec1a25925ed3e8a4b116 |
|
| https://github.com/mtojek |
| Expose template.allow_ in Workspaces API | https://github.com/coder/coder/pull/5115/commits/3f76534f9d7336fd095cc97a8d1924cd94b16439 |
| 3f76534 | https://github.com/coder/coder/pull/5115/commits/3f76534f9d7336fd095cc97a8d1924cd94b16439 |
|
| https://github.com/mtojek |
| Fix: site tests | https://github.com/coder/coder/pull/5115/commits/64b8bf377f20f28247202e145a9772e1323b2248 |
| 64b8bf3 | https://github.com/coder/coder/pull/5115/commits/64b8bf377f20f28247202e145a9772e1323b2248 |
|
| https://github.com/mtojek |
| Fix: make fmt/prettier | https://github.com/coder/coder/pull/5115/commits/73431c9d63d1df385be92b5f67434ff04b7411e0 |
| 73431c9 | https://github.com/coder/coder/pull/5115/commits/73431c9d63d1df385be92b5f67434ff04b7411e0 |
| https://github.com/mtojek |
| mtojek | https://github.com/mtojek |
| Nov 17, 2022 | https://github.com/coder/coder/pull/5115#event-7832813470 |
| https://github.com/mtojek |
| mtojek | https://github.com/mtojek |
| Nov 17, 2022 | https://github.com/coder/coder/pull/5115#event-7832815103 |
| mtojek | https://github.com/mtojek |
| November 17, 2022 12:23 | https://github.com/coder/coder/pull/5115#commits-pushed-ba5c06b |
|
| https://github.com/mtojek |
| Fix: enterprise | https://github.com/coder/coder/pull/5115/commits/ba5c06bf7677b5e0da6affafbf6e5bc25f0a3ee3 |
| ba5c06b | https://github.com/coder/coder/pull/5115/commits/ba5c06bf7677b5e0da6affafbf6e5bc25f0a3ee3 |
|
| https://github.com/mtojek |
| Database tests | https://github.com/coder/coder/pull/5115/commits/9be6b1f1059ab7402506fb8c6eb076cd4d1b3db7 |
| 9be6b1f | https://github.com/coder/coder/pull/5115/commits/9be6b1f1059ab7402506fb8c6eb076cd4d1b3db7 |
|
| https://github.com/mtojek |
| Add CLI tests | https://github.com/coder/coder/pull/5115/commits/8579883730268a7dc66bb39ecaea03fff83864f1 |
| 8579883 | https://github.com/coder/coder/pull/5115/commits/8579883730268a7dc66bb39ecaea03fff83864f1 |
|
| https://github.com/mtojek |
| Add checkbox | https://github.com/coder/coder/pull/5115/commits/3fe5beff799814ab51a211a543fa44f04df4228f |
| 3fe5bef | https://github.com/coder/coder/pull/5115/commits/3fe5beff799814ab51a211a543fa44f04df4228f |
|
| https://github.com/mtojek |
| i18n | https://github.com/coder/coder/pull/5115/commits/9a303b5561cd56a21942565760bdf4786f4eb38e |
| 9a303b5 | https://github.com/coder/coder/pull/5115/commits/9a303b5561cd56a21942565760bdf4786f4eb38e |
|
| https://github.com/mtojek |
| Logic: block cancelling | https://github.com/coder/coder/pull/5115/commits/ba443ebdb22856c1fb17345fa11c4783515b87be |
| ba443eb | https://github.com/coder/coder/pull/5115/commits/ba443ebdb22856c1fb17345fa11c4783515b87be |
|
| https://github.com/mtojek |
| Unit tests for conditional cancel | https://github.com/coder/coder/pull/5115/commits/7d36b2d1b2832c12c0259b60445c1a5f1b003287 |
| 7d36b2d | https://github.com/coder/coder/pull/5115/commits/7d36b2d1b2832c12c0259b60445c1a5f1b003287 |
|
| https://github.com/mtojek |
| Fix: message | https://github.com/coder/coder/pull/5115/commits/472fee8cd15daf9a63351dd722d09169fe75338a |
| 472fee8 | https://github.com/coder/coder/pull/5115/commits/472fee8cd15daf9a63351dd722d09169fe75338a |
|
| https://github.com/mtojek |
| Merge branch 'main' into 5035-allow-user-cancel | https://github.com/coder/coder/pull/5115/commits/056894a5251eaab13475bcb809813d772cbe6a3a |
| 056894a | https://github.com/coder/coder/pull/5115/commits/056894a5251eaab13475bcb809813d772cbe6a3a |
| https://github.com/mtojek |
| mtojek | https://github.com/mtojek |
| November 18, 2022 13:29 | https://github.com/coder/coder/pull/5115#event-7843801107 |
| https://github.com/mtojek |
| mtojek | https://github.com/mtojek |
| November 18, 2022 13:29 | https://github.com/coder/coder/pull/5115#event-7843802842 |
| https://github.com/mtojek |
| mtojek | https://github.com/mtojek |
| code owner | https://github.com/coder/coder/blob/5866ca48a938614222c32fae9deeb5e7de30d420/.github/CODEOWNERS#L1 |
| November 18, 2022 13:29 | https://github.com/coder/coder/pull/5115#event-7843802895 |
| https://github.com/mtojek |
| mtojek | https://github.com/mtojek |
| BrunoQuaresma | https://github.com/BrunoQuaresma |
| November 18, 2022 13:29 | https://github.com/coder/coder/pull/5115#event-7843802931 |
| https://github.com/BrunoQuaresma |
| BrunoQuaresma | https://github.com/BrunoQuaresma |
|
Nov 18, 2022
| https://github.com/coder/coder/pull/5115#pullrequestreview-1186439057 |
|
View reviewed changes
| https://github.com/coder/coder/pull/5115/files/056894a5251eaab13475bcb809813d772cbe6a3a |
| BrunoQuaresma | https://github.com/BrunoQuaresma |
| https://github.com/coder/coder/pull/5115#pullrequestreview-1186439057 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
|
| https://github.com/mtojek |
| Address PR comment | https://github.com/coder/coder/pull/5115/commits/4ec5aabf3ea7113135d291209d16cb419f9886de |
| 4ec5aab | https://github.com/coder/coder/pull/5115/commits/4ec5aabf3ea7113135d291209d16cb419f9886de |
| https://github.com/mtojek |
| mtojek | https://github.com/mtojek |
| Nov 18, 2022 | https://github.com/coder/coder/pull/5115#issuecomment-1320379085 |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
|
Nov 21, 2022
| https://github.com/coder/coder/pull/5115#pullrequestreview-1187853228 |
|
View reviewed changes
| https://github.com/coder/coder/pull/5115/files/4ec5aabf3ea7113135d291209d16cb419f9886de |
| mafredri | https://github.com/mafredri |
| https://github.com/coder/coder/pull/5115#pullrequestreview-1187853228 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
| coderd/database/migrations/000081_template_allow_user_cancel_workspace_jobs.up.sql | https://github.com/coder/coder/pull/5115/files/4ec5aabf3ea7113135d291209d16cb419f9886de#diff-2e91eb29921a5d4238801f9e97ad411358825380bcffb9bff0599e1f0f9b5688 |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
| coderd/workspacebuilds.go | https://github.com/coder/coder/pull/5115/files/4ec5aabf3ea7113135d291209d16cb419f9886de#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
| coderd/workspacebuilds.go | https://github.com/coder/coder/pull/5115/files/4ec5aabf3ea7113135d291209d16cb419f9886de#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab |
| mafredri | https://github.com/mafredri |
| Nov 21, 2022 | https://github.com/coder/coder/pull/5115#discussion_r1027786139 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
| mtojek | https://github.com/mtojek |
| Nov 21, 2022 | https://github.com/coder/coder/pull/5115#discussion_r1027826641 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
| mafredri | https://github.com/mafredri |
| Nov 21, 2022 | https://github.com/coder/coder/pull/5115#discussion_r1027841643 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
| codersdk/templates.go | https://github.com/coder/coder/pull/5115/files/4ec5aabf3ea7113135d291209d16cb419f9886de#diff-b9e34422b1b14571ab97a9e8f1d061337aebbc749c251f5adcd13ddcada9d4b1 |
| mafredri | https://github.com/mafredri |
| Nov 21, 2022 | https://github.com/coder/coder/pull/5115#discussion_r1027791899 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
| mtojek | https://github.com/mtojek |
| Nov 21, 2022 | https://github.com/coder/coder/pull/5115#discussion_r1027829258 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #5066 | https://github.com/coder/coder/issues/5066 |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
| mtojek | https://github.com/mtojek |
| November 21, 2022 11:18 | https://github.com/coder/coder/pull/5115#commits-pushed-c215f5a |
|
| https://github.com/mtojek |
| Address PR comments | https://github.com/coder/coder/pull/5115/commits/c215f5ae123296ba3e5318eb99b49de029197100 |
| c215f5a | https://github.com/coder/coder/pull/5115/commits/c215f5ae123296ba3e5318eb99b49de029197100 |
|
| https://github.com/mtojek |
| Merge branch 'main' into 5035-allow-user-cancel | https://github.com/coder/coder/pull/5115/commits/69c544f9e0421b2f7e15e6bdf956748604523b07 |
| 69c544f | https://github.com/coder/coder/pull/5115/commits/69c544f9e0421b2f7e15e6bdf956748604523b07 |
|
| https://github.com/mtojek |
| Fix: make | https://github.com/coder/coder/pull/5115/commits/4e5ee76b7a712d09f8edcd65ac46d5455114b555 |
| 4e5ee76 | https://github.com/coder/coder/pull/5115/commits/4e5ee76b7a712d09f8edcd65ac46d5455114b555 |
| https://github.com/mtojek |
| mtojek | https://github.com/mtojek |
| e86539d | https://github.com/coder/coder/commit/e86539db11f7d57ab8adae3ae32c2f55a26e6c84 |
| Nov 21, 2022 | https://github.com/coder/coder/pull/5115#event-7856148919 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Nov 21, 2022 | https://github.com/coder/coder/pull/5115#event-7856151033 |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F5115 |
|
| https://github.com/mafredri |
|
mafredri
| https://github.com/mafredri |
|
| https://github.com/coder/coder/pull/5115/files/4ec5aabf3ea7113135d291209d16cb419f9886de |
|
| https://github.com/BrunoQuaresma |
|
BrunoQuaresma
| https://github.com/BrunoQuaresma |
|
| https://github.com/coder/coder/pull/5115/files/056894a5251eaab13475bcb809813d772cbe6a3a |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
|
| https://github.com/mtojek |
|
mtojek
| https://github.com/mtojek |
|
Ability to disable unprivileged users from canceling workspace builds at the template level?
| https://github.com/coder/coder/issues/5035 |
| Please reload this page | https://github.com/coder/coder/pull/5115 |
|
| https://github.com/mtojek |
|
| https://github.com/mafredri |
|
| https://github.com/BrunoQuaresma |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |