{"action":"created","issue":{"url":"https://api.github.com/repos/Strider-CD/strider/issues/745","labels_url":"https://api.github.com/repos/Strider-CD/strider/issues/745/labels{/name}","comments_url":"https://api.github.com/repos/Strider-CD/strider/issues/745/comments","events_url":"https://api.github.com/repos/Strider-CD/strider/issues/745/events","html_url":"https://github.com/Strider-CD/strider/issues/745","id":63249636,"number":745,"title":"Strider crashes on new jobs started from a Pull Request that has been rebased","user":{"login":"bitwit","id":707507,"avatar_url":"https://avatars.githubusercontent.com/u/707507?v=3","gravatar_id":"","url":"https://api.github.com/users/bitwit","html_url":"https://github.com/bitwit","followers_url":"https://api.github.com/users/bitwit/followers","following_url":"https://api.github.com/users/bitwit/following{/other_user}","gists_url":"https://api.github.com/users/bitwit/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwit/subscriptions","organizations_url":"https://api.github.com/users/bitwit/orgs","repos_url":"https://api.github.com/users/bitwit/repos","events_url":"https://api.github.com/users/bitwit/events{/privacy}","received_events_url":"https://api.github.com/users/bitwit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Strider-CD/strider/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Strider-CD/strider/milestones/16","html_url":"https://github.com/Strider-CD/strider/milestones/v1.7.0","labels_url":"https://api.github.com/repos/Strider-CD/strider/milestones/16/labels","id":930077,"number":16,"title":"v1.7.0","description":"","creator":{"login":"knownasilya","id":34726,"avatar_url":"https://avatars.githubusercontent.com/u/34726?v=3","gravatar_id":"","url":"https://api.github.com/users/knownasilya","html_url":"https://github.com/knownasilya","followers_url":"https://api.github.com/users/knownasilya/followers","following_url":"https://api.github.com/users/knownasilya/following{/other_user}","gists_url":"https://api.github.com/users/knownasilya/gists{/gist_id}","starred_url":"https://api.github.com/users/knownasilya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knownasilya/subscriptions","organizations_url":"https://api.github.com/users/knownasilya/orgs","repos_url":"https://api.github.com/users/knownasilya/repos","events_url":"https://api.github.com/users/knownasilya/events{/privacy}","received_events_url":"https://api.github.com/users/knownasilya/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":3,"state":"open","created_at":"2015-01-11T00:03:23Z","updated_at":"2015-03-20T15:44:37Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-03-20T15:30:31Z","updated_at":"2015-03-20T15:48:44Z","closed_at":null,"body":"We've been seeing these for a little while, but it was hard to track down the culprit until enough of a pattern emerged. Jobs started by pull requests, when retriggered by a rebase appear to crash the server. It automatically restarts itself but any in progress or queued job are killed and marked as zombies on restart.\r\n\r\nThe strider log looks like\r\n```\r\n2015-03-20T15:24:18.800Z - ^[[32minfo^[[39m: [runner:simple-runner] Queued new job. Project: flowpress/api Job ID: 550c3ba26f16ea6956253552\r\n\r\n/usr/local/lib/node_modules/strider/lib/backchannel.js:141\r\n        self.waiting[name].forEach(function (item) {\r\n                           ^\r\nTypeError: Cannot call method 'forEach' of undefined\r\n    at /usr/local/lib/node_modules/strider/lib/backchannel.js:141:28\r\n    at /usr/local/lib/node_modules/strider/node_modules/async/lib/async.js:592:17\r\n    at done (/usr/local/lib/node_modules/strider/node_modules/async/lib/async.js:135:19)\r\n    at /usr/local/lib/node_modules/strider/node_modules/async/lib/async.js:32:16\r\n    at Promise.<anonymous> (/usr/local/lib/node_modules/strider/node_modules/async/lib/async.js:589:21)\r\n    at Promise.<anonymous> (/usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mpromise/lib/promise.js:177:8)\r\n    at Promise.EventEmitter.emit (events.js:95:17)\r\n    at Promise.emit (/usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mpromise/lib/promise.js:84:38)\r\n    at Promise.fulfill (/usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mpromise/lib/promise.js:97:20)\r\n    at /usr/local/lib/node_modules/strider/node_modules/mongoose/lib/query.js:1052:26\r\n    at model.Document.init (/usr/local/lib/node_modules/strider/node_modules/mongoose/lib/document.js:250:11)\r\n    at completeMany (/usr/local/lib/node_modules/strider/node_modules/mongoose/lib/query.js:1050:12)\r\n    at Object.cb (/usr/local/lib/node_modules/strider/node_modules/mongoose/lib/query.js:1016:11)\r\n    at Object._onImmediate (/usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mquery/lib/utils.js:137:16)\r\n    at processImmediate [as _immediateCallback] (timers.js:330:15)\r\n22121 died 8 null\r\n22979 forked\r\n```\r\n\r\nHaven't looked much into the core libs of Strider before but if there's someway I can help resolve the issue with more info/tests, let me know. "},"comment":{"url":"https://api.github.com/repos/Strider-CD/strider/issues/comments/84053436","html_url":"https://github.com/Strider-CD/strider/issues/745#issuecomment-84053436","issue_url":"https://api.github.com/repos/Strider-CD/strider/issues/745","id":84053436,"user":{"login":"knownasilya","id":34726,"avatar_url":"https://avatars.githubusercontent.com/u/34726?v=3","gravatar_id":"","url":"https://api.github.com/users/knownasilya","html_url":"https://github.com/knownasilya","followers_url":"https://api.github.com/users/knownasilya/followers","following_url":"https://api.github.com/users/knownasilya/following{/other_user}","gists_url":"https://api.github.com/users/knownasilya/gists{/gist_id}","starred_url":"https://api.github.com/users/knownasilya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knownasilya/subscriptions","organizations_url":"https://api.github.com/users/knownasilya/orgs","repos_url":"https://api.github.com/users/knownasilya/repos","events_url":"https://api.github.com/users/knownasilya/events{/privacy}","received_events_url":"https://api.github.com/users/knownasilya/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T15:48:44Z","updated_at":"2015-03-20T15:48:44Z","body":"Yeah, there were some major bug fixed between 1.6.2 and 1.6.4"}}