{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/10645","labels_url":"https://api.github.com/repos/atom/atom/issues/10645/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/10645/comments","events_url":"https://api.github.com/repos/atom/atom/issues/10645/events","html_url":"https://github.com/atom/atom/pull/10645","id":130520072,"number":10645,"title":"Use electron version only in fingerprint","user":{"login":"kevinsawicki","id":671378,"avatar_url":"https://avatars.githubusercontent.com/u/671378?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinsawicki","html_url":"https://github.com/kevinsawicki","followers_url":"https://api.github.com/users/kevinsawicki/followers","following_url":"https://api.github.com/users/kevinsawicki/following{/other_user}","gists_url":"https://api.github.com/users/kevinsawicki/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinsawicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinsawicki/subscriptions","organizations_url":"https://api.github.com/users/kevinsawicki/orgs","repos_url":"https://api.github.com/users/kevinsawicki/repos","events_url":"https://api.github.com/users/kevinsawicki/events{/privacy}","received_events_url":"https://api.github.com/users/kevinsawicki/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-01T23:37:46Z","updated_at":"2016-02-01T23:39:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/atom/atom/pulls/10645","html_url":"https://github.com/atom/atom/pull/10645","diff_url":"https://github.com/atom/atom/pull/10645.diff","patch_url":"https://github.com/atom/atom/pull/10645.patch"},"body":"Previously the CI fingerprint used a SHA-1 of the entire `package.json` contents to determine when to clear the `node_modules` folder.\r\n\r\nThis would cause lots of clearings of that folder on CI since `master`, `beta`, and `stable` branches all have different `version` values that can change often.\r\n\r\nNow only the `electronVersion` value is used in the fingerprint meaning that `node_modules` will only be cleared when the minor version of Electron changes which is why I believe this clearing was originally added before the fingerprint check was incorporated.\r\n\r\n/cc @thedaniel @maxbrunsfeld "},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/178257783","html_url":"https://github.com/atom/atom/pull/10645#issuecomment-178257783","issue_url":"https://api.github.com/repos/atom/atom/issues/10645","id":178257783,"user":{"login":"kevinsawicki","id":671378,"avatar_url":"https://avatars.githubusercontent.com/u/671378?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinsawicki","html_url":"https://github.com/kevinsawicki","followers_url":"https://api.github.com/users/kevinsawicki/followers","following_url":"https://api.github.com/users/kevinsawicki/following{/other_user}","gists_url":"https://api.github.com/users/kevinsawicki/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinsawicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinsawicki/subscriptions","organizations_url":"https://api.github.com/users/kevinsawicki/orgs","repos_url":"https://api.github.com/users/kevinsawicki/repos","events_url":"https://api.github.com/users/kevinsawicki/events{/privacy}","received_events_url":"https://api.github.com/users/kevinsawicki/received_events","type":"User","site_admin":true},"created_at":"2016-02-01T23:39:44Z","updated_at":"2016-02-01T23:39:44Z","body":"This should save around 10 minutes on the build since that is how longer installing packages on CI seems to take currently.\r\n\r\n/cc @iolsen "}}