{"action":"opened","number":437,"pull_request":{"url":"https://api.github.com/repos/postcss/autoprefixer/pulls/437","id":33124961,"html_url":"https://github.com/postcss/autoprefixer/pull/437","diff_url":"https://github.com/postcss/autoprefixer/pull/437.diff","patch_url":"https://github.com/postcss/autoprefixer/pull/437.patch","issue_url":"https://api.github.com/repos/postcss/autoprefixer/issues/437","number":437,"state":"open","locked":false,"title":"Ensure all output is written before exiting (stops truncation)","user":{"login":"mhart","id":367936,"avatar_url":"https://avatars.githubusercontent.com/u/367936?v=3","gravatar_id":"","url":"https://api.github.com/users/mhart","html_url":"https://github.com/mhart","followers_url":"https://api.github.com/users/mhart/followers","following_url":"https://api.github.com/users/mhart/following{/other_user}","gists_url":"https://api.github.com/users/mhart/gists{/gist_id}","starred_url":"https://api.github.com/users/mhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhart/subscriptions","organizations_url":"https://api.github.com/users/mhart/orgs","repos_url":"https://api.github.com/users/mhart/repos","events_url":"https://api.github.com/users/mhart/events{/privacy}","received_events_url":"https://api.github.com/users/mhart/received_events","type":"User","site_admin":false},"body":"This surfaces in cases where `process.exit()` is called (from `endWork`) before all writes have flushed.\r\n\r\nReproducible on io.js when piping a large output to another process, eg, tail – the output ends up truncated.\r\n\r\nThere are a number of other places where providing a callback to `print` or even `error` should be done, but I only fixed the one where the problem is likely to occur – and that's when outputting to stdout – all other areas in the code *could* have problems, but are unlikely to (because they'll always likely output less than a buffer's worth of data at a time).","created_at":"2015-04-12T19:28:29Z","updated_at":"2015-04-12T19:28:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/postcss/autoprefixer/pulls/437/commits","review_comments_url":"https://api.github.com/repos/postcss/autoprefixer/pulls/437/comments","review_comment_url":"https://api.github.com/repos/postcss/autoprefixer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/postcss/autoprefixer/issues/437/comments","statuses_url":"https://api.github.com/repos/postcss/autoprefixer/statuses/e08ae7b760754888ed68f263ca99e7ceb57ba673","head":{"label":"mhart:ensure-output-flushed","ref":"ensure-output-flushed","sha":"e08ae7b760754888ed68f263ca99e7ceb57ba673","user":{"login":"mhart","id":367936,"avatar_url":"https://avatars.githubusercontent.com/u/367936?v=3","gravatar_id":"","url":"https://api.github.com/users/mhart","html_url":"https://github.com/mhart","followers_url":"https://api.github.com/users/mhart/followers","following_url":"https://api.github.com/users/mhart/following{/other_user}","gists_url":"https://api.github.com/users/mhart/gists{/gist_id}","starred_url":"https://api.github.com/users/mhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhart/subscriptions","organizations_url":"https://api.github.com/users/mhart/orgs","repos_url":"https://api.github.com/users/mhart/repos","events_url":"https://api.github.com/users/mhart/events{/privacy}","received_events_url":"https://api.github.com/users/mhart/received_events","type":"User","site_admin":false},"repo":{"id":33830316,"name":"autoprefixer","full_name":"mhart/autoprefixer","owner":{"login":"mhart","id":367936,"avatar_url":"https://avatars.githubusercontent.com/u/367936?v=3","gravatar_id":"","url":"https://api.github.com/users/mhart","html_url":"https://github.com/mhart","followers_url":"https://api.github.com/users/mhart/followers","following_url":"https://api.github.com/users/mhart/following{/other_user}","gists_url":"https://api.github.com/users/mhart/gists{/gist_id}","starred_url":"https://api.github.com/users/mhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhart/subscriptions","organizations_url":"https://api.github.com/users/mhart/orgs","repos_url":"https://api.github.com/users/mhart/repos","events_url":"https://api.github.com/users/mhart/events{/privacy}","received_events_url":"https://api.github.com/users/mhart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mhart/autoprefixer","description":" Parse CSS and add vendor prefixes to rules by Can I Use","fork":true,"url":"https://api.github.com/repos/mhart/autoprefixer","forks_url":"https://api.github.com/repos/mhart/autoprefixer/forks","keys_url":"https://api.github.com/repos/mhart/autoprefixer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mhart/autoprefixer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mhart/autoprefixer/teams","hooks_url":"https://api.github.com/repos/mhart/autoprefixer/hooks","issue_events_url":"https://api.github.com/repos/mhart/autoprefixer/issues/events{/number}","events_url":"https://api.github.com/repos/mhart/autoprefixer/events","assignees_url":"https://api.github.com/repos/mhart/autoprefixer/assignees{/user}","branches_url":"https://api.github.com/repos/mhart/autoprefixer/branches{/branch}","tags_url":"https://api.github.com/repos/mhart/autoprefixer/tags","blobs_url":"https://api.github.com/repos/mhart/autoprefixer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mhart/autoprefixer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mhart/autoprefixer/git/refs{/sha}","trees_url":"https://api.github.com/repos/mhart/autoprefixer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mhart/autoprefixer/statuses/{sha}","languages_url":"https://api.github.com/repos/mhart/autoprefixer/languages","stargazers_url":"https://api.github.com/repos/mhart/autoprefixer/stargazers","contributors_url":"https://api.github.com/repos/mhart/autoprefixer/contributors","subscribers_url":"https://api.github.com/repos/mhart/autoprefixer/subscribers","subscription_url":"https://api.github.com/repos/mhart/autoprefixer/subscription","commits_url":"https://api.github.com/repos/mhart/autoprefixer/commits{/sha}","git_commits_url":"https://api.github.com/repos/mhart/autoprefixer/git/commits{/sha}","comments_url":"https://api.github.com/repos/mhart/autoprefixer/comments{/number}","issue_comment_url":"https://api.github.com/repos/mhart/autoprefixer/issues/comments{/number}","contents_url":"https://api.github.com/repos/mhart/autoprefixer/contents/{+path}","compare_url":"https://api.github.com/repos/mhart/autoprefixer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mhart/autoprefixer/merges","archive_url":"https://api.github.com/repos/mhart/autoprefixer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mhart/autoprefixer/downloads","issues_url":"https://api.github.com/repos/mhart/autoprefixer/issues{/number}","pulls_url":"https://api.github.com/repos/mhart/autoprefixer/pulls{/number}","milestones_url":"https://api.github.com/repos/mhart/autoprefixer/milestones{/number}","notifications_url":"https://api.github.com/repos/mhart/autoprefixer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mhart/autoprefixer/labels{/name}","releases_url":"https://api.github.com/repos/mhart/autoprefixer/releases{/id}","created_at":"2015-04-12T19:23:35Z","updated_at":"2015-04-12T19:23:35Z","pushed_at":"2015-04-12T19:24:18Z","git_url":"git://github.com/mhart/autoprefixer.git","ssh_url":"git@github.com:mhart/autoprefixer.git","clone_url":"https://github.com/mhart/autoprefixer.git","svn_url":"https://github.com/mhart/autoprefixer","homepage":"https://twitter.com/autoprefixer","size":4679,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"postcss:master","ref":"master","sha":"92623ca18ecd7c92dbf8b7d2732b78015dabaf88","user":{"login":"postcss","id":8296347,"avatar_url":"https://avatars.githubusercontent.com/u/8296347?v=3","gravatar_id":"","url":"https://api.github.com/users/postcss","html_url":"https://github.com/postcss","followers_url":"https://api.github.com/users/postcss/followers","following_url":"https://api.github.com/users/postcss/following{/other_user}","gists_url":"https://api.github.com/users/postcss/gists{/gist_id}","starred_url":"https://api.github.com/users/postcss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postcss/subscriptions","organizations_url":"https://api.github.com/users/postcss/orgs","repos_url":"https://api.github.com/users/postcss/repos","events_url":"https://api.github.com/users/postcss/events{/privacy}","received_events_url":"https://api.github.com/users/postcss/received_events","type":"Organization","site_admin":false},"repo":{"id":8768406,"name":"autoprefixer","full_name":"postcss/autoprefixer","owner":{"login":"postcss","id":8296347,"avatar_url":"https://avatars.githubusercontent.com/u/8296347?v=3","gravatar_id":"","url":"https://api.github.com/users/postcss","html_url":"https://github.com/postcss","followers_url":"https://api.github.com/users/postcss/followers","following_url":"https://api.github.com/users/postcss/following{/other_user}","gists_url":"https://api.github.com/users/postcss/gists{/gist_id}","starred_url":"https://api.github.com/users/postcss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postcss/subscriptions","organizations_url":"https://api.github.com/users/postcss/orgs","repos_url":"https://api.github.com/users/postcss/repos","events_url":"https://api.github.com/users/postcss/events{/privacy}","received_events_url":"https://api.github.com/users/postcss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/postcss/autoprefixer","description":" Parse CSS and add vendor prefixes to rules by Can I Use","fork":false,"url":"https://api.github.com/repos/postcss/autoprefixer","forks_url":"https://api.github.com/repos/postcss/autoprefixer/forks","keys_url":"https://api.github.com/repos/postcss/autoprefixer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/postcss/autoprefixer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/postcss/autoprefixer/teams","hooks_url":"https://api.github.com/repos/postcss/autoprefixer/hooks","issue_events_url":"https://api.github.com/repos/postcss/autoprefixer/issues/events{/number}","events_url":"https://api.github.com/repos/postcss/autoprefixer/events","assignees_url":"https://api.github.com/repos/postcss/autoprefixer/assignees{/user}","branches_url":"https://api.github.com/repos/postcss/autoprefixer/branches{/branch}","tags_url":"https://api.github.com/repos/postcss/autoprefixer/tags","blobs_url":"https://api.github.com/repos/postcss/autoprefixer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/postcss/autoprefixer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/postcss/autoprefixer/git/refs{/sha}","trees_url":"https://api.github.com/repos/postcss/autoprefixer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/postcss/autoprefixer/statuses/{sha}","languages_url":"https://api.github.com/repos/postcss/autoprefixer/languages","stargazers_url":"https://api.github.com/repos/postcss/autoprefixer/stargazers","contributors_url":"https://api.github.com/repos/postcss/autoprefixer/contributors","subscribers_url":"https://api.github.com/repos/postcss/autoprefixer/subscribers","subscription_url":"https://api.github.com/repos/postcss/autoprefixer/subscription","commits_url":"https://api.github.com/repos/postcss/autoprefixer/commits{/sha}","git_commits_url":"https://api.github.com/repos/postcss/autoprefixer/git/commits{/sha}","comments_url":"https://api.github.com/repos/postcss/autoprefixer/comments{/number}","issue_comment_url":"https://api.github.com/repos/postcss/autoprefixer/issues/comments{/number}","contents_url":"https://api.github.com/repos/postcss/autoprefixer/contents/{+path}","compare_url":"https://api.github.com/repos/postcss/autoprefixer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/postcss/autoprefixer/merges","archive_url":"https://api.github.com/repos/postcss/autoprefixer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/postcss/autoprefixer/downloads","issues_url":"https://api.github.com/repos/postcss/autoprefixer/issues{/number}","pulls_url":"https://api.github.com/repos/postcss/autoprefixer/pulls{/number}","milestones_url":"https://api.github.com/repos/postcss/autoprefixer/milestones{/number}","notifications_url":"https://api.github.com/repos/postcss/autoprefixer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/postcss/autoprefixer/labels{/name}","releases_url":"https://api.github.com/repos/postcss/autoprefixer/releases{/id}","created_at":"2013-03-14T05:04:51Z","updated_at":"2015-04-12T19:18:12Z","pushed_at":"2015-04-11T16:36:29Z","git_url":"git://github.com/postcss/autoprefixer.git","ssh_url":"git@github.com:postcss/autoprefixer.git","clone_url":"https://github.com/postcss/autoprefixer.git","svn_url":"https://github.com/postcss/autoprefixer","homepage":"https://twitter.com/autoprefixer","size":4679,"stargazers_count":5701,"watchers_count":5701,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":242,"mirror_url":null,"open_issues_count":11,"forks":242,"open_issues":11,"watchers":5701,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/postcss/autoprefixer/pulls/437"},"html":{"href":"https://github.com/postcss/autoprefixer/pull/437"},"issue":{"href":"https://api.github.com/repos/postcss/autoprefixer/issues/437"},"comments":{"href":"https://api.github.com/repos/postcss/autoprefixer/issues/437/comments"},"review_comments":{"href":"https://api.github.com/repos/postcss/autoprefixer/pulls/437/comments"},"review_comment":{"href":"https://api.github.com/repos/postcss/autoprefixer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/postcss/autoprefixer/pulls/437/commits"},"statuses":{"href":"https://api.github.com/repos/postcss/autoprefixer/statuses/e08ae7b760754888ed68f263ca99e7ceb57ba673"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":5,"changed_files":1}}