{"action":"created","issue":{"url":"https://api.github.com/repos/drone/drone/issues/1360","labels_url":"https://api.github.com/repos/drone/drone/issues/1360/labels{/name}","comments_url":"https://api.github.com/repos/drone/drone/issues/1360/comments","events_url":"https://api.github.com/repos/drone/drone/issues/1360/events","html_url":"https://github.com/drone/drone/issues/1360","id":119992683,"number":1360,"title":"unable to cancel builds if the worker node no longer exists","user":{"login":"macb","id":1611098,"avatar_url":"https://avatars.githubusercontent.com/u/1611098?v=3","gravatar_id":"","url":"https://api.github.com/users/macb","html_url":"https://github.com/macb","followers_url":"https://api.github.com/users/macb/followers","following_url":"https://api.github.com/users/macb/following{/other_user}","gists_url":"https://api.github.com/users/macb/gists{/gist_id}","starred_url":"https://api.github.com/users/macb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macb/subscriptions","organizations_url":"https://api.github.com/users/macb/orgs","repos_url":"https://api.github.com/users/macb/repos","events_url":"https://api.github.com/users/macb/events{/privacy}","received_events_url":"https://api.github.com/users/macb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-02T17:20:51Z","updated_at":"2015-12-03T21:54:16Z","closed_at":null,"body":"I have a few builds that have been running for over a day. It appears they were placed on a worker that was ultimately destroyed, so no longer exists in the DB. It's now impossible to stop the build via the UI or API.\r\n\r\nRelevant code: https://github.com/drone/drone/blob/master/controller/build.go#L138-L142\r\n\r\ne: After poking around in the code I realized the cancel would only stop the container and wouldn't necessarily cleanup any of the state in the DB (such as marking the build as a failure). Would this be another part that would fix that state?"},"comment":{"url":"https://api.github.com/repos/drone/drone/issues/comments/161796854","html_url":"https://github.com/drone/drone/issues/1360#issuecomment-161796854","issue_url":"https://api.github.com/repos/drone/drone/issues/1360","id":161796854,"user":{"login":"chaseadamsio","id":1024544,"avatar_url":"https://avatars.githubusercontent.com/u/1024544?v=3","gravatar_id":"","url":"https://api.github.com/users/chaseadamsio","html_url":"https://github.com/chaseadamsio","followers_url":"https://api.github.com/users/chaseadamsio/followers","following_url":"https://api.github.com/users/chaseadamsio/following{/other_user}","gists_url":"https://api.github.com/users/chaseadamsio/gists{/gist_id}","starred_url":"https://api.github.com/users/chaseadamsio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaseadamsio/subscriptions","organizations_url":"https://api.github.com/users/chaseadamsio/orgs","repos_url":"https://api.github.com/users/chaseadamsio/repos","events_url":"https://api.github.com/users/chaseadamsio/events{/privacy}","received_events_url":"https://api.github.com/users/chaseadamsio/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T21:54:16Z","updated_at":"2015-12-03T21:54:16Z","body":"@bradrydzewski this may be related to the issue I was experiencing as well that we discussed."}}