{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/1059","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/1059/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/1059/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/1059/events","html_url":"https://github.com/dotnet/cli/issues/1059","id":129011840,"number":1059,"title":"Command Output Forwarding misses some output","user":{"login":"piotrpMSFT","id":2379589,"avatar_url":"https://avatars.githubusercontent.com/u/2379589?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrpMSFT","html_url":"https://github.com/piotrpMSFT","followers_url":"https://api.github.com/users/piotrpMSFT/followers","following_url":"https://api.github.com/users/piotrpMSFT/following{/other_user}","gists_url":"https://api.github.com/users/piotrpMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrpMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrpMSFT/subscriptions","organizations_url":"https://api.github.com/users/piotrpMSFT/orgs","repos_url":"https://api.github.com/users/piotrpMSFT/repos","events_url":"https://api.github.com/users/piotrpMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/piotrpMSFT/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"brthor","id":14280892,"avatar_url":"https://avatars.githubusercontent.com/u/14280892?v=3","gravatar_id":"","url":"https://api.github.com/users/brthor","html_url":"https://github.com/brthor","followers_url":"https://api.github.com/users/brthor/followers","following_url":"https://api.github.com/users/brthor/following{/other_user}","gists_url":"https://api.github.com/users/brthor/gists{/gist_id}","starred_url":"https://api.github.com/users/brthor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brthor/subscriptions","organizations_url":"https://api.github.com/users/brthor/orgs","repos_url":"https://api.github.com/users/brthor/repos","events_url":"https://api.github.com/users/brthor/events{/privacy}","received_events_url":"https://api.github.com/users/brthor/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/3","html_url":"https://github.com/dotnet/cli/milestones/RC2-Feb","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/3/labels","id":1343748,"number":3,"title":"RC2-Feb","description":"","creator":{"login":"Sridhar-MS","id":9423246,"avatar_url":"https://avatars.githubusercontent.com/u/9423246?v=3","gravatar_id":"","url":"https://api.github.com/users/Sridhar-MS","html_url":"https://github.com/Sridhar-MS","followers_url":"https://api.github.com/users/Sridhar-MS/followers","following_url":"https://api.github.com/users/Sridhar-MS/following{/other_user}","gists_url":"https://api.github.com/users/Sridhar-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/Sridhar-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sridhar-MS/subscriptions","organizations_url":"https://api.github.com/users/Sridhar-MS/orgs","repos_url":"https://api.github.com/users/Sridhar-MS/repos","events_url":"https://api.github.com/users/Sridhar-MS/events{/privacy}","received_events_url":"https://api.github.com/users/Sridhar-MS/received_events","type":"User","site_admin":false},"open_issues":104,"closed_issues":77,"state":"open","created_at":"2015-10-08T01:23:25Z","updated_at":"2016-02-04T02:28:02Z","due_on":"2016-02-19T08:00:00Z","closed_at":null},"comments":4,"created_at":"2016-01-27T02:52:19Z","updated_at":"2016-02-04T20:24:02Z","closed_at":null,"body":"During NuGet push we faced an issue where NuGet was returning '1' despite no error messages. It was later discovered that this was due to a WriteLine from NuGet not being forwarded out through the CLI. I suspect this has to do with stream flushing behavior near process exit. We need to improve StreamForwarderTests to cover these scenarios."},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/180033128","html_url":"https://github.com/dotnet/cli/issues/1059#issuecomment-180033128","issue_url":"https://api.github.com/repos/dotnet/cli/issues/1059","id":180033128,"user":{"login":"brthor","id":14280892,"avatar_url":"https://avatars.githubusercontent.com/u/14280892?v=3","gravatar_id":"","url":"https://api.github.com/users/brthor","html_url":"https://github.com/brthor","followers_url":"https://api.github.com/users/brthor/followers","following_url":"https://api.github.com/users/brthor/following{/other_user}","gists_url":"https://api.github.com/users/brthor/gists{/gist_id}","starred_url":"https://api.github.com/users/brthor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brthor/subscriptions","organizations_url":"https://api.github.com/users/brthor/orgs","repos_url":"https://api.github.com/users/brthor/repos","events_url":"https://api.github.com/users/brthor/events{/privacy}","received_events_url":"https://api.github.com/users/brthor/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T20:24:02Z","updated_at":"2016-02-04T20:24:02Z","body":"Tried to repro this in the following ways:\r\n* A command which throws unhandled exceptions, WriteLining before\r\n* A command which handles exceptions and prints messages, with Writes before and after\r\n* Interleaving StdOut and StdErr in a command\r\n* Nesting a command two processes deep and printing 100,000+ Lines\r\n\r\nIn all cases I compared output to the output of the process if run directly (`dotnet cmd` vs `dotnet-cmd.exe`). \r\n\r\nI did not see messages being dropped in any cases. I did see significant misordering of the writes, more in line with the issue in #925 \r\n\r\nWould recommend closing this out unless we see it repro again."}}