{"action":"opened","number":155,"pull_request":{"url":"https://api.github.com/repos/facebook/jscodeshift/pulls/155","id":86635342,"html_url":"https://github.com/facebook/jscodeshift/pull/155","diff_url":"https://github.com/facebook/jscodeshift/pull/155.diff","patch_url":"https://github.com/facebook/jscodeshift/pull/155.patch","issue_url":"https://api.github.com/repos/facebook/jscodeshift/issues/155","number":155,"state":"open","locked":false,"title":"Add concurrency to jscodeshift-test to make runtime go from 55s to 25s","user":{"login":"vjeux","id":197597,"avatar_url":"https://avatars.githubusercontent.com/u/197597?v=3","gravatar_id":"","url":"https://api.github.com/users/vjeux","html_url":"https://github.com/vjeux","followers_url":"https://api.github.com/users/vjeux/followers","following_url":"https://api.github.com/users/vjeux/following{/other_user}","gists_url":"https://api.github.com/users/vjeux/gists{/gist_id}","starred_url":"https://api.github.com/users/vjeux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjeux/subscriptions","organizations_url":"https://api.github.com/users/vjeux/orgs","repos_url":"https://api.github.com/users/vjeux/repos","events_url":"https://api.github.com/users/vjeux/events{/privacy}","received_events_url":"https://api.github.com/users/vjeux/received_events","type":"User","site_admin":false},"body":"Jest 16 will have it.concurrent which lets you run all the promises at once and not serially. It turns out that the implementation is just a few lines of js that we can embed while it gets released.\r\n\r\nThere were two issues to make them actually concurrent:\r\n1) sources was a variable inside of describe that shouldn't be shared anymore\r\n2) createTempFileWith when passed the same filename would result in the same path which conflicted with other tests. Now it's unique (as it should have been to begin with)","created_at":"2016-09-25T00:34:40Z","updated_at":"2016-09-25T00:34:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/facebook/jscodeshift/pulls/155/commits","review_comments_url":"https://api.github.com/repos/facebook/jscodeshift/pulls/155/comments","review_comment_url":"https://api.github.com/repos/facebook/jscodeshift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/jscodeshift/issues/155/comments","statuses_url":"https://api.github.com/repos/facebook/jscodeshift/statuses/b2b29f0d2c857b8351ea8d2eabe77ec338777c53","head":{"label":"vjeux:current_2","ref":"current_2","sha":"b2b29f0d2c857b8351ea8d2eabe77ec338777c53","user":{"login":"vjeux","id":197597,"avatar_url":"https://avatars.githubusercontent.com/u/197597?v=3","gravatar_id":"","url":"https://api.github.com/users/vjeux","html_url":"https://github.com/vjeux","followers_url":"https://api.github.com/users/vjeux/followers","following_url":"https://api.github.com/users/vjeux/following{/other_user}","gists_url":"https://api.github.com/users/vjeux/gists{/gist_id}","starred_url":"https://api.github.com/users/vjeux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjeux/subscriptions","organizations_url":"https://api.github.com/users/vjeux/orgs","repos_url":"https://api.github.com/users/vjeux/repos","events_url":"https://api.github.com/users/vjeux/events{/privacy}","received_events_url":"https://api.github.com/users/vjeux/received_events","type":"User","site_admin":false},"repo":{"id":68464538,"name":"jscodeshift","full_name":"vjeux/jscodeshift","owner":{"login":"vjeux","id":197597,"avatar_url":"https://avatars.githubusercontent.com/u/197597?v=3","gravatar_id":"","url":"https://api.github.com/users/vjeux","html_url":"https://github.com/vjeux","followers_url":"https://api.github.com/users/vjeux/followers","following_url":"https://api.github.com/users/vjeux/following{/other_user}","gists_url":"https://api.github.com/users/vjeux/gists{/gist_id}","starred_url":"https://api.github.com/users/vjeux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjeux/subscriptions","organizations_url":"https://api.github.com/users/vjeux/orgs","repos_url":"https://api.github.com/users/vjeux/repos","events_url":"https://api.github.com/users/vjeux/events{/privacy}","received_events_url":"https://api.github.com/users/vjeux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vjeux/jscodeshift","description":"A JavaScript codemod toolkit.","fork":true,"url":"https://api.github.com/repos/vjeux/jscodeshift","forks_url":"https://api.github.com/repos/vjeux/jscodeshift/forks","keys_url":"https://api.github.com/repos/vjeux/jscodeshift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vjeux/jscodeshift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vjeux/jscodeshift/teams","hooks_url":"https://api.github.com/repos/vjeux/jscodeshift/hooks","issue_events_url":"https://api.github.com/repos/vjeux/jscodeshift/issues/events{/number}","events_url":"https://api.github.com/repos/vjeux/jscodeshift/events","assignees_url":"https://api.github.com/repos/vjeux/jscodeshift/assignees{/user}","branches_url":"https://api.github.com/repos/vjeux/jscodeshift/branches{/branch}","tags_url":"https://api.github.com/repos/vjeux/jscodeshift/tags","blobs_url":"https://api.github.com/repos/vjeux/jscodeshift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vjeux/jscodeshift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vjeux/jscodeshift/git/refs{/sha}","trees_url":"https://api.github.com/repos/vjeux/jscodeshift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vjeux/jscodeshift/statuses/{sha}","languages_url":"https://api.github.com/repos/vjeux/jscodeshift/languages","stargazers_url":"https://api.github.com/repos/vjeux/jscodeshift/stargazers","contributors_url":"https://api.github.com/repos/vjeux/jscodeshift/contributors","subscribers_url":"https://api.github.com/repos/vjeux/jscodeshift/subscribers","subscription_url":"https://api.github.com/repos/vjeux/jscodeshift/subscription","commits_url":"https://api.github.com/repos/vjeux/jscodeshift/commits{/sha}","git_commits_url":"https://api.github.com/repos/vjeux/jscodeshift/git/commits{/sha}","comments_url":"https://api.github.com/repos/vjeux/jscodeshift/comments{/number}","issue_comment_url":"https://api.github.com/repos/vjeux/jscodeshift/issues/comments{/number}","contents_url":"https://api.github.com/repos/vjeux/jscodeshift/contents/{+path}","compare_url":"https://api.github.com/repos/vjeux/jscodeshift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vjeux/jscodeshift/merges","archive_url":"https://api.github.com/repos/vjeux/jscodeshift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vjeux/jscodeshift/downloads","issues_url":"https://api.github.com/repos/vjeux/jscodeshift/issues{/number}","pulls_url":"https://api.github.com/repos/vjeux/jscodeshift/pulls{/number}","milestones_url":"https://api.github.com/repos/vjeux/jscodeshift/milestones{/number}","notifications_url":"https://api.github.com/repos/vjeux/jscodeshift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vjeux/jscodeshift/labels{/name}","releases_url":"https://api.github.com/repos/vjeux/jscodeshift/releases{/id}","deployments_url":"https://api.github.com/repos/vjeux/jscodeshift/deployments","created_at":"2016-09-17T16:40:26Z","updated_at":"2016-09-17T16:40:27Z","pushed_at":"2016-09-25T00:31:53Z","git_url":"git://github.com/vjeux/jscodeshift.git","ssh_url":"git@github.com:vjeux/jscodeshift.git","clone_url":"https://github.com/vjeux/jscodeshift.git","svn_url":"https://github.com/vjeux/jscodeshift","homepage":"","size":227,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"dad65e60d409941067c2818a87f71d60ba1199ac","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":31795422,"name":"jscodeshift","full_name":"facebook/jscodeshift","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/jscodeshift","description":"A JavaScript codemod toolkit.","fork":false,"url":"https://api.github.com/repos/facebook/jscodeshift","forks_url":"https://api.github.com/repos/facebook/jscodeshift/forks","keys_url":"https://api.github.com/repos/facebook/jscodeshift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/jscodeshift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/jscodeshift/teams","hooks_url":"https://api.github.com/repos/facebook/jscodeshift/hooks","issue_events_url":"https://api.github.com/repos/facebook/jscodeshift/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/jscodeshift/events","assignees_url":"https://api.github.com/repos/facebook/jscodeshift/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/jscodeshift/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/jscodeshift/tags","blobs_url":"https://api.github.com/repos/facebook/jscodeshift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/jscodeshift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/jscodeshift/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/jscodeshift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/jscodeshift/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/jscodeshift/languages","stargazers_url":"https://api.github.com/repos/facebook/jscodeshift/stargazers","contributors_url":"https://api.github.com/repos/facebook/jscodeshift/contributors","subscribers_url":"https://api.github.com/repos/facebook/jscodeshift/subscribers","subscription_url":"https://api.github.com/repos/facebook/jscodeshift/subscription","commits_url":"https://api.github.com/repos/facebook/jscodeshift/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/jscodeshift/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/jscodeshift/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/jscodeshift/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/jscodeshift/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/jscodeshift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/jscodeshift/merges","archive_url":"https://api.github.com/repos/facebook/jscodeshift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/jscodeshift/downloads","issues_url":"https://api.github.com/repos/facebook/jscodeshift/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/jscodeshift/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/jscodeshift/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/jscodeshift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/jscodeshift/labels{/name}","releases_url":"https://api.github.com/repos/facebook/jscodeshift/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/jscodeshift/deployments","created_at":"2015-03-07T00:32:16Z","updated_at":"2016-09-23T22:24:03Z","pushed_at":"2016-09-24T16:13:39Z","git_url":"git://github.com/facebook/jscodeshift.git","ssh_url":"git@github.com:facebook/jscodeshift.git","clone_url":"https://github.com/facebook/jscodeshift.git","svn_url":"https://github.com/facebook/jscodeshift","homepage":"","size":288,"stargazers_count":1467,"watchers_count":1467,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":78,"mirror_url":null,"open_issues_count":28,"forks":78,"open_issues":28,"watchers":1467,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/jscodeshift/pulls/155"},"html":{"href":"https://github.com/facebook/jscodeshift/pull/155"},"issue":{"href":"https://api.github.com/repos/facebook/jscodeshift/issues/155"},"comments":{"href":"https://api.github.com/repos/facebook/jscodeshift/issues/155/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/jscodeshift/pulls/155/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/jscodeshift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/jscodeshift/pulls/155/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/jscodeshift/statuses/b2b29f0d2c857b8351ea8d2eabe77ec338777c53"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":50,"deletions":32,"changed_files":2}}
{"actor":{"display_login":"vjeux"}}