{"action":"created","comment":{"url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments/78421578","id":78421578,"diff_hunk":"@@ -0,0 +1,68 @@\n+﻿Describe \"InvokeOnRunspace method argument error handling\" -tags \"CI\" {\n+","path":"test/powershell/Host/HostUtilities.Tests.ps1","position":1,"original_position":2,"commit_id":"b374eb6637a52e2f80fa5ebe424e235045f73100","original_commit_id":"b374eb6637a52e2f80fa5ebe424e235045f73100","user":{"login":"lzybkr","id":2148248,"avatar_url":"https://avatars.githubusercontent.com/u/2148248?v=3","gravatar_id":"","url":"https://api.github.com/users/lzybkr","html_url":"https://github.com/lzybkr","followers_url":"https://api.github.com/users/lzybkr/followers","following_url":"https://api.github.com/users/lzybkr/following{/other_user}","gists_url":"https://api.github.com/users/lzybkr/gists{/gist_id}","starred_url":"https://api.github.com/users/lzybkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzybkr/subscriptions","organizations_url":"https://api.github.com/users/lzybkr/orgs","repos_url":"https://api.github.com/users/lzybkr/repos","events_url":"https://api.github.com/users/lzybkr/events{/privacy}","received_events_url":"https://api.github.com/users/lzybkr/received_events","type":"User","site_admin":false},"body":"These tests are fast, but unlikely to ever break, so I wouldn't make them `CI`.","created_at":"2016-09-12T17:55:54Z","updated_at":"2016-09-12T17:55:54Z","html_url":"https://github.com/PowerShell/PowerShell/pull/2213#discussion_r78421578","pull_request_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2213","_links":{"self":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments/78421578"},"html":{"href":"https://github.com/PowerShell/PowerShell/pull/2213#discussion_r78421578"},"pull_request":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2213"}}},"pull_request":{"url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2213","id":84526312,"html_url":"https://github.com/PowerShell/PowerShell/pull/2213","diff_url":"https://github.com/PowerShell/PowerShell/pull/2213.diff","patch_url":"https://github.com/PowerShell/PowerShell/pull/2213.patch","issue_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/2213","number":2213,"state":"open","locked":false,"title":"Fix for Linux remote script debugging hang","user":{"login":"PaulHigin","id":14019529,"avatar_url":"https://avatars.githubusercontent.com/u/14019529?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulHigin","html_url":"https://github.com/PaulHigin","followers_url":"https://api.github.com/users/PaulHigin/followers","following_url":"https://api.github.com/users/PaulHigin/following{/other_user}","gists_url":"https://api.github.com/users/PaulHigin/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulHigin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulHigin/subscriptions","organizations_url":"https://api.github.com/users/PaulHigin/orgs","repos_url":"https://api.github.com/users/PaulHigin/repos","events_url":"https://api.github.com/users/PaulHigin/events{/privacy}","received_events_url":"https://api.github.com/users/PaulHigin/received_events","type":"User","site_admin":false},"body":"This is a fix for issue #1531 (Linux -> Windows remote debugging does not work).\r\n\r\nTrying to remote debug a script from a Linux client would result in a hang.  The hang was in the PSReadLine GetPrompt() method because it tried to run the \"prompt\" function in a remote session that was stopped in the debugger, with the result that the \"prompt\" command was queued on the remote session for when the debugger stop is released.\r\n\r\nCommands should always be run through the Debugger API when a runspace is in debug stop mode.  The fix is to provide a new public helper method that invokes a command correctly on a runspace depending on its current state, and update PSReadLine to use the new helper method.  The new method is intended to help other console host implementations that need to run commands on a its runspace for user display.","created_at":"2016-09-08T18:12:38Z","updated_at":"2016-09-12T17:55:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3073024e3d96616fd085002088a313fc508dfd1e","assignee":{"login":"lzybkr","id":2148248,"avatar_url":"https://avatars.githubusercontent.com/u/2148248?v=3","gravatar_id":"","url":"https://api.github.com/users/lzybkr","html_url":"https://github.com/lzybkr","followers_url":"https://api.github.com/users/lzybkr/followers","following_url":"https://api.github.com/users/lzybkr/following{/other_user}","gists_url":"https://api.github.com/users/lzybkr/gists{/gist_id}","starred_url":"https://api.github.com/users/lzybkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzybkr/subscriptions","organizations_url":"https://api.github.com/users/lzybkr/orgs","repos_url":"https://api.github.com/users/lzybkr/repos","events_url":"https://api.github.com/users/lzybkr/events{/privacy}","received_events_url":"https://api.github.com/users/lzybkr/received_events","type":"User","site_admin":false},"assignees":[{"login":"lzybkr","id":2148248,"avatar_url":"https://avatars.githubusercontent.com/u/2148248?v=3","gravatar_id":"","url":"https://api.github.com/users/lzybkr","html_url":"https://github.com/lzybkr","followers_url":"https://api.github.com/users/lzybkr/followers","following_url":"https://api.github.com/users/lzybkr/following{/other_user}","gists_url":"https://api.github.com/users/lzybkr/gists{/gist_id}","starred_url":"https://api.github.com/users/lzybkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzybkr/subscriptions","organizations_url":"https://api.github.com/users/lzybkr/orgs","repos_url":"https://api.github.com/users/lzybkr/repos","events_url":"https://api.github.com/users/lzybkr/events{/privacy}","received_events_url":"https://api.github.com/users/lzybkr/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2213/commits","review_comments_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2213/comments","review_comment_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/2213/comments","statuses_url":"https://api.github.com/repos/PowerShell/PowerShell/statuses/b374eb6637a52e2f80fa5ebe424e235045f73100","head":{"label":"PaulHigin:LinuxRemoteDebug","ref":"LinuxRemoteDebug","sha":"b374eb6637a52e2f80fa5ebe424e235045f73100","user":{"login":"PaulHigin","id":14019529,"avatar_url":"https://avatars.githubusercontent.com/u/14019529?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulHigin","html_url":"https://github.com/PaulHigin","followers_url":"https://api.github.com/users/PaulHigin/followers","following_url":"https://api.github.com/users/PaulHigin/following{/other_user}","gists_url":"https://api.github.com/users/PaulHigin/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulHigin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulHigin/subscriptions","organizations_url":"https://api.github.com/users/PaulHigin/orgs","repos_url":"https://api.github.com/users/PaulHigin/repos","events_url":"https://api.github.com/users/PaulHigin/events{/privacy}","received_events_url":"https://api.github.com/users/PaulHigin/received_events","type":"User","site_admin":false},"repo":{"id":66098512,"name":"PowerShell","full_name":"PaulHigin/PowerShell","owner":{"login":"PaulHigin","id":14019529,"avatar_url":"https://avatars.githubusercontent.com/u/14019529?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulHigin","html_url":"https://github.com/PaulHigin","followers_url":"https://api.github.com/users/PaulHigin/followers","following_url":"https://api.github.com/users/PaulHigin/following{/other_user}","gists_url":"https://api.github.com/users/PaulHigin/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulHigin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulHigin/subscriptions","organizations_url":"https://api.github.com/users/PaulHigin/orgs","repos_url":"https://api.github.com/users/PaulHigin/repos","events_url":"https://api.github.com/users/PaulHigin/events{/privacy}","received_events_url":"https://api.github.com/users/PaulHigin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PaulHigin/PowerShell","description":"PowerShell for every system!","fork":true,"url":"https://api.github.com/repos/PaulHigin/PowerShell","forks_url":"https://api.github.com/repos/PaulHigin/PowerShell/forks","keys_url":"https://api.github.com/repos/PaulHigin/PowerShell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PaulHigin/PowerShell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PaulHigin/PowerShell/teams","hooks_url":"https://api.github.com/repos/PaulHigin/PowerShell/hooks","issue_events_url":"https://api.github.com/repos/PaulHigin/PowerShell/issues/events{/number}","events_url":"https://api.github.com/repos/PaulHigin/PowerShell/events","assignees_url":"https://api.github.com/repos/PaulHigin/PowerShell/assignees{/user}","branches_url":"https://api.github.com/repos/PaulHigin/PowerShell/branches{/branch}","tags_url":"https://api.github.com/repos/PaulHigin/PowerShell/tags","blobs_url":"https://api.github.com/repos/PaulHigin/PowerShell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PaulHigin/PowerShell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PaulHigin/PowerShell/git/refs{/sha}","trees_url":"https://api.github.com/repos/PaulHigin/PowerShell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PaulHigin/PowerShell/statuses/{sha}","languages_url":"https://api.github.com/repos/PaulHigin/PowerShell/languages","stargazers_url":"https://api.github.com/repos/PaulHigin/PowerShell/stargazers","contributors_url":"https://api.github.com/repos/PaulHigin/PowerShell/contributors","subscribers_url":"https://api.github.com/repos/PaulHigin/PowerShell/subscribers","subscription_url":"https://api.github.com/repos/PaulHigin/PowerShell/subscription","commits_url":"https://api.github.com/repos/PaulHigin/PowerShell/commits{/sha}","git_commits_url":"https://api.github.com/repos/PaulHigin/PowerShell/git/commits{/sha}","comments_url":"https://api.github.com/repos/PaulHigin/PowerShell/comments{/number}","issue_comment_url":"https://api.github.com/repos/PaulHigin/PowerShell/issues/comments{/number}","contents_url":"https://api.github.com/repos/PaulHigin/PowerShell/contents/{+path}","compare_url":"https://api.github.com/repos/PaulHigin/PowerShell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PaulHigin/PowerShell/merges","archive_url":"https://api.github.com/repos/PaulHigin/PowerShell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PaulHigin/PowerShell/downloads","issues_url":"https://api.github.com/repos/PaulHigin/PowerShell/issues{/number}","pulls_url":"https://api.github.com/repos/PaulHigin/PowerShell/pulls{/number}","milestones_url":"https://api.github.com/repos/PaulHigin/PowerShell/milestones{/number}","notifications_url":"https://api.github.com/repos/PaulHigin/PowerShell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PaulHigin/PowerShell/labels{/name}","releases_url":"https://api.github.com/repos/PaulHigin/PowerShell/releases{/id}","deployments_url":"https://api.github.com/repos/PaulHigin/PowerShell/deployments","created_at":"2016-08-19T17:04:02Z","updated_at":"2016-08-19T17:04:10Z","pushed_at":"2016-09-09T19:41:54Z","git_url":"git://github.com/PaulHigin/PowerShell.git","ssh_url":"git@github.com:PaulHigin/PowerShell.git","clone_url":"https://github.com/PaulHigin/PowerShell.git","svn_url":"https://github.com/PaulHigin/PowerShell","homepage":"https://microsoft.com/powershell","size":18506,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"PowerShell:master","ref":"master","sha":"fe08ab64ee9e58cdbaea247e93b90ceaabd53dd3","user":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"repo":{"id":49609581,"name":"PowerShell","full_name":"PowerShell/PowerShell","owner":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerShell/PowerShell","description":"PowerShell for every system!","fork":false,"url":"https://api.github.com/repos/PowerShell/PowerShell","forks_url":"https://api.github.com/repos/PowerShell/PowerShell/forks","keys_url":"https://api.github.com/repos/PowerShell/PowerShell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerShell/PowerShell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerShell/PowerShell/teams","hooks_url":"https://api.github.com/repos/PowerShell/PowerShell/hooks","issue_events_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/events{/number}","events_url":"https://api.github.com/repos/PowerShell/PowerShell/events","assignees_url":"https://api.github.com/repos/PowerShell/PowerShell/assignees{/user}","branches_url":"https://api.github.com/repos/PowerShell/PowerShell/branches{/branch}","tags_url":"https://api.github.com/repos/PowerShell/PowerShell/tags","blobs_url":"https://api.github.com/repos/PowerShell/PowerShell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerShell/PowerShell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerShell/PowerShell/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerShell/PowerShell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerShell/PowerShell/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerShell/PowerShell/languages","stargazers_url":"https://api.github.com/repos/PowerShell/PowerShell/stargazers","contributors_url":"https://api.github.com/repos/PowerShell/PowerShell/contributors","subscribers_url":"https://api.github.com/repos/PowerShell/PowerShell/subscribers","subscription_url":"https://api.github.com/repos/PowerShell/PowerShell/subscription","commits_url":"https://api.github.com/repos/PowerShell/PowerShell/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerShell/PowerShell/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerShell/PowerShell/contents/{+path}","compare_url":"https://api.github.com/repos/PowerShell/PowerShell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerShell/PowerShell/merges","archive_url":"https://api.github.com/repos/PowerShell/PowerShell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerShell/PowerShell/downloads","issues_url":"https://api.github.com/repos/PowerShell/PowerShell/issues{/number}","pulls_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerShell/PowerShell/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerShell/PowerShell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/labels{/name}","releases_url":"https://api.github.com/repos/PowerShell/PowerShell/releases{/id}","deployments_url":"https://api.github.com/repos/PowerShell/PowerShell/deployments","created_at":"2016-01-13T23:41:35Z","updated_at":"2016-09-12T17:52:30Z","pushed_at":"2016-09-12T17:44:57Z","git_url":"git://github.com/PowerShell/PowerShell.git","ssh_url":"git@github.com:PowerShell/PowerShell.git","clone_url":"https://github.com/PowerShell/PowerShell.git","svn_url":"https://github.com/PowerShell/PowerShell","homepage":"https://microsoft.com/powershell","size":24589,"stargazers_count":5041,"watchers_count":5041,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":530,"mirror_url":null,"open_issues_count":424,"forks":530,"open_issues":424,"watchers":5041,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2213"},"html":{"href":"https://github.com/PowerShell/PowerShell/pull/2213"},"issue":{"href":"https://api.github.com/repos/PowerShell/PowerShell/issues/2213"},"comments":{"href":"https://api.github.com/repos/PowerShell/PowerShell/issues/2213/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2213/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2213/commits"},"statuses":{"href":"https://api.github.com/repos/PowerShell/PowerShell/statuses/b374eb6637a52e2f80fa5ebe424e235045f73100"}}}}
{"actor":{"display_login":"lzybkr"}}