{"action":"closed","issue":{"url":"https://api.github.com/repos/bem/bem-tools/issues/397","labels_url":"https://api.github.com/repos/bem/bem-tools/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/bem/bem-tools/issues/397/comments","events_url":"https://api.github.com/repos/bem/bem-tools/issues/397/events","html_url":"https://github.com/bem/bem-tools/issues/397","id":16302207,"number":397,"title":"\"builds two targets\" test in test/bem-make.js fails every third time","user":{"login":"diunko","id":169559,"avatar_url":"https://avatars.githubusercontent.com/u/169559?v=3","gravatar_id":"","url":"https://api.github.com/users/diunko","html_url":"https://github.com/diunko","followers_url":"https://api.github.com/users/diunko/followers","following_url":"https://api.github.com/users/diunko/following{/other_user}","gists_url":"https://api.github.com/users/diunko/gists{/gist_id}","starred_url":"https://api.github.com/users/diunko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diunko/subscriptions","organizations_url":"https://api.github.com/users/diunko/orgs","repos_url":"https://api.github.com/users/diunko/repos","events_url":"https://api.github.com/users/diunko/events{/privacy}","received_events_url":"https://api.github.com/users/diunko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bem/bem-tools/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/bem/bem-tools/labels/won't%20fix","name":"won't fix","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-07-03T05:30:07Z","updated_at":"2015-06-21T13:38:05Z","closed_at":"2015-06-21T13:38:05Z","body":"Preconditions: `node 0.10` `bem-tools 0.6.5` (and probably some earlier revisions).\r\n\r\nPresumably, it's due to some make process race condition, which is now exposed with the new behavior of `process.nextTick()`.\r\n\r\nWorkaround: use `setImmediate()` instead of `nextTick()` in `q` module.\r\n\r\nNot sure what the actual fix would be.\r\n\r\n/cc @arikon \r\n"}}