{"action":"created","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/932","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/932/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/932/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/932/events","html_url":"https://github.com/yarnpkg/yarn/issues/932","id":182633582,"number":932,"title":"Native packages rebuilt every time","user":{"login":"jiripospisil","id":20820,"avatar_url":"https://avatars3.githubusercontent.com/u/20820?v=3","gravatar_id":"","url":"https://api.github.com/users/jiripospisil","html_url":"https://github.com/jiripospisil","followers_url":"https://api.github.com/users/jiripospisil/followers","following_url":"https://api.github.com/users/jiripospisil/following{/other_user}","gists_url":"https://api.github.com/users/jiripospisil/gists{/gist_id}","starred_url":"https://api.github.com/users/jiripospisil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiripospisil/subscriptions","organizations_url":"https://api.github.com/users/jiripospisil/orgs","repos_url":"https://api.github.com/users/jiripospisil/repos","events_url":"https://api.github.com/users/jiripospisil/events{/privacy}","received_events_url":"https://api.github.com/users/jiripospisil/received_events","type":"User","site_admin":false},"labels":[{"id":313603437,"url":"https://api.github.com/repos/yarnpkg/yarn/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-10-12T21:03:46Z","updated_at":"2017-05-03T04:52:55Z","closed_at":null,"body":"<!-- *Before creating an issue please make sure you are using the latest version of yarn.* -->\n\n**Do you want to request a _feature_ or report a _bug_?**\n\nBug.\n\n**What is the current behavior?**\n\nIt seems that all native packages are rebuilt every time yarn is asked to either add a new package or just install the currently locked.\n\n**If the current behavior is a bug, please provide the steps to reproduce.**\n1. Add some native packages.\n\n```\nyarn add leveldown bcrypt\n```\n1. Run yarn again and observe that both of the packages will be rebuilt for no reason.\n\n```\nyarn\n```\n\nThe same happens when adding a completely unrelated packages which, as far as I can tell, cannot affect the native packages in any way.\n\n```\nyarn add co\n```\n\n**What is the expected behavior?**\n\nNative packages should not be rebuilt if there's no reason to do that. Note that #248 seems pretty similar.\n\n**Please mention your node.js, yarn and operating system version.**\n\nNode.js 6.7.0\nYarn 0.15.1\nUbuntu 12.04\n"},"comment":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/comments/298822944","html_url":"https://github.com/yarnpkg/yarn/issues/932#issuecomment-298822944","issue_url":"https://api.github.com/repos/yarnpkg/yarn/issues/932","id":298822944,"user":{"login":"zhangjyr","id":486526,"avatar_url":"https://avatars1.githubusercontent.com/u/486526?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangjyr","html_url":"https://github.com/zhangjyr","followers_url":"https://api.github.com/users/zhangjyr/followers","following_url":"https://api.github.com/users/zhangjyr/following{/other_user}","gists_url":"https://api.github.com/users/zhangjyr/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangjyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangjyr/subscriptions","organizations_url":"https://api.github.com/users/zhangjyr/orgs","repos_url":"https://api.github.com/users/zhangjyr/repos","events_url":"https://api.github.com/users/zhangjyr/events{/privacy}","received_events_url":"https://api.github.com/users/zhangjyr/received_events","type":"User","site_admin":false},"created_at":"2017-05-03T04:52:55Z","updated_at":"2017-05-03T04:52:55Z","body":"While 0.21.3 does not rebuild all the packages on add a new package, it rebuilds all the packages on remove. And it seems yarn doesn't regard it a failure if rebuilding fails."}}
{"actor":{"display_login":"zhangjyr"}}