{"action":"created","issue":{"url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/3312","repository_url":"https://api.github.com/repos/rtfd/readthedocs.org","labels_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/3312/labels{/name}","comments_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/3312/comments","events_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/3312/events","html_url":"https://github.com/rtfd/readthedocs.org/pull/3312","id":276481604,"number":3312,"title":"Simple task to finish inactive builds","user":{"login":"humitos","id":244656,"avatar_url":"https://avatars1.githubusercontent.com/u/244656?v=4","gravatar_id":"","url":"https://api.github.com/users/humitos","html_url":"https://github.com/humitos","followers_url":"https://api.github.com/users/humitos/followers","following_url":"https://api.github.com/users/humitos/following{/other_user}","gists_url":"https://api.github.com/users/humitos/gists{/gist_id}","starred_url":"https://api.github.com/users/humitos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humitos/subscriptions","organizations_url":"https://api.github.com/users/humitos/orgs","repos_url":"https://api.github.com/users/humitos/repos","events_url":"https://api.github.com/users/humitos/events{/privacy}","received_events_url":"https://api.github.com/users/humitos/received_events","type":"User","site_admin":false},"labels":[{"id":228777710,"url":"https://api.github.com/repos/rtfd/readthedocs.org/labels/PR:%20ready%20for%20review","name":"PR: ready for review","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"humitos","id":244656,"avatar_url":"https://avatars1.githubusercontent.com/u/244656?v=4","gravatar_id":"","url":"https://api.github.com/users/humitos","html_url":"https://github.com/humitos","followers_url":"https://api.github.com/users/humitos/followers","following_url":"https://api.github.com/users/humitos/following{/other_user}","gists_url":"https://api.github.com/users/humitos/gists{/gist_id}","starred_url":"https://api.github.com/users/humitos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humitos/subscriptions","organizations_url":"https://api.github.com/users/humitos/orgs","repos_url":"https://api.github.com/users/humitos/repos","events_url":"https://api.github.com/users/humitos/events{/privacy}","received_events_url":"https://api.github.com/users/humitos/received_events","type":"User","site_admin":false},"assignees":[{"login":"humitos","id":244656,"avatar_url":"https://avatars1.githubusercontent.com/u/244656?v=4","gravatar_id":"","url":"https://api.github.com/users/humitos","html_url":"https://github.com/humitos","followers_url":"https://api.github.com/users/humitos/followers","following_url":"https://api.github.com/users/humitos/following{/other_user}","gists_url":"https://api.github.com/users/humitos/gists{/gist_id}","starred_url":"https://api.github.com/users/humitos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humitos/subscriptions","organizations_url":"https://api.github.com/users/humitos/orgs","repos_url":"https://api.github.com/users/humitos/repos","events_url":"https://api.github.com/users/humitos/events{/privacy}","received_events_url":"https://api.github.com/users/humitos/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2017-11-23T22:46:05Z","updated_at":"2017-12-07T16:29:48Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/3312","html_url":"https://github.com/rtfd/readthedocs.org/pull/3312","diff_url":"https://github.com/rtfd/readthedocs.org/pull/3312.diff","patch_url":"https://github.com/rtfd/readthedocs.org/pull/3312.patch"},"body":"This is an initial idea to solve these kind of issues and avoid user confusions:\r\n\r\n* Fixes #2795\r\n* Fixes #3308 \r\n* Related #2471\r\n\r\n- [x] I found that we are not running `celery beat` for periodic tasks so we need to define how this will be executed. Maybe it could be done as a django command and ran it by cron (depending how is the current setup at RTD servers)\r\n- [x] We should consider the custom time limit for some project, since if it's more than 45 minutes this task will mark them as finished\r\n- [x] Define how we want to show this custom error\r\n\r\nHere is an example on how this will look like\r\n\r\n![captura de pantalla_2017-11-23_17-45-22](https://user-images.githubusercontent.com/244656/33189986-2b50fb94-d076-11e7-87f0-9bfe69bf78df.png)\r\n"},"comment":{"url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/comments/350020609","html_url":"https://github.com/rtfd/readthedocs.org/pull/3312#issuecomment-350020609","issue_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/3312","id":350020609,"user":{"login":"humitos","id":244656,"avatar_url":"https://avatars1.githubusercontent.com/u/244656?v=4","gravatar_id":"","url":"https://api.github.com/users/humitos","html_url":"https://github.com/humitos","followers_url":"https://api.github.com/users/humitos/followers","following_url":"https://api.github.com/users/humitos/following{/other_user}","gists_url":"https://api.github.com/users/humitos/gists{/gist_id}","starred_url":"https://api.github.com/users/humitos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humitos/subscriptions","organizations_url":"https://api.github.com/users/humitos/orgs","repos_url":"https://api.github.com/users/humitos/repos","events_url":"https://api.github.com/users/humitos/events{/privacy}","received_events_url":"https://api.github.com/users/humitos/received_events","type":"User","site_admin":false},"created_at":"2017-12-07T16:29:48Z","updated_at":"2017-12-07T16:29:48Z","author_association":"MEMBER","body":"This PR should be ready.\r\n\r\nDo I need to do something in particular to enable this task on celery beat?"}}
{"actor":{"display_login":"humitos"}}