{"action":"created","issue":{"url":"https://api.github.com/repos/microsoft/vscode/issues/88051","repository_url":"https://api.github.com/repos/microsoft/vscode","labels_url":"https://api.github.com/repos/microsoft/vscode/issues/88051/labels{/name}","comments_url":"https://api.github.com/repos/microsoft/vscode/issues/88051/comments","events_url":"https://api.github.com/repos/microsoft/vscode/issues/88051/events","html_url":"https://github.com/microsoft/vscode/pull/88051","id":545075164,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU5MDU1NTU0","number":88051,"title":"Use leading flag set to true in debouncing events from extension trees","user":{"login":"solomatov","id":1268556,"node_id":"MDQ6VXNlcjEyNjg1NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1268556?v=4","gravatar_id":"","url":"https://api.github.com/users/solomatov","html_url":"https://github.com/solomatov","followers_url":"https://api.github.com/users/solomatov/followers","following_url":"https://api.github.com/users/solomatov/following{/other_user}","gists_url":"https://api.github.com/users/solomatov/gists{/gist_id}","starred_url":"https://api.github.com/users/solomatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solomatov/subscriptions","organizations_url":"https://api.github.com/users/solomatov/orgs","repos_url":"https://api.github.com/users/solomatov/repos","events_url":"https://api.github.com/users/solomatov/events{/privacy}","received_events_url":"https://api.github.com/users/solomatov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alexr00","id":38270282,"node_id":"MDQ6VXNlcjM4MjcwMjgy","avatar_url":"https://avatars1.githubusercontent.com/u/38270282?v=4","gravatar_id":"","url":"https://api.github.com/users/alexr00","html_url":"https://github.com/alexr00","followers_url":"https://api.github.com/users/alexr00/followers","following_url":"https://api.github.com/users/alexr00/following{/other_user}","gists_url":"https://api.github.com/users/alexr00/gists{/gist_id}","starred_url":"https://api.github.com/users/alexr00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexr00/subscriptions","organizations_url":"https://api.github.com/users/alexr00/orgs","repos_url":"https://api.github.com/users/alexr00/repos","events_url":"https://api.github.com/users/alexr00/events{/privacy}","received_events_url":"https://api.github.com/users/alexr00/received_events","type":"User","site_admin":false},"assignees":[{"login":"alexr00","id":38270282,"node_id":"MDQ6VXNlcjM4MjcwMjgy","avatar_url":"https://avatars1.githubusercontent.com/u/38270282?v=4","gravatar_id":"","url":"https://api.github.com/users/alexr00","html_url":"https://github.com/alexr00","followers_url":"https://api.github.com/users/alexr00/followers","following_url":"https://api.github.com/users/alexr00/following{/other_user}","gists_url":"https://api.github.com/users/alexr00/gists{/gist_id}","starred_url":"https://api.github.com/users/alexr00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexr00/subscriptions","organizations_url":"https://api.github.com/users/alexr00/orgs","repos_url":"https://api.github.com/users/alexr00/repos","events_url":"https://api.github.com/users/alexr00/events{/privacy}","received_events_url":"https://api.github.com/users/alexr00/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/microsoft/vscode/milestones/110","html_url":"https://github.com/microsoft/vscode/milestone/110","labels_url":"https://api.github.com/repos/microsoft/vscode/milestones/110/labels","id":4856564,"node_id":"MDk6TWlsZXN0b25lNDg1NjU2NA==","number":110,"title":"January 2020","description":"","creator":{"login":"isidorn","id":1926584,"node_id":"MDQ6VXNlcjE5MjY1ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1926584?v=4","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false},"open_issues":225,"closed_issues":298,"state":"open","created_at":"2019-11-18T15:37:45Z","updated_at":"2020-01-10T01:32:15Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2020-01-03T17:00:24Z","updated_at":"2020-01-10T02:53:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/microsoft/vscode/pulls/88051","html_url":"https://github.com/microsoft/vscode/pull/88051","diff_url":"https://github.com/microsoft/vscode/pull/88051.diff","patch_url":"https://github.com/microsoft/vscode/pull/88051.patch"},"body":"The trees in the extension host has a problem: all events are debounced by 200ms, thus delaying changes by this amount. This PR sets the leading flag in debounce to true, thus removing this delay for well behaved extensions, i.e. extensions which fire just one change event at the right place, thus improving UX for them.\r\n\r\nFor not so well behaved extensions, this isn't that a big problem, we just make one more tree refresh, which, in my opinion, is a good tradeoff."},"comment":{"url":"https://api.github.com/repos/microsoft/vscode/issues/comments/572850275","html_url":"https://github.com/microsoft/vscode/pull/88051#issuecomment-572850275","issue_url":"https://api.github.com/repos/microsoft/vscode/issues/88051","id":572850275,"node_id":"MDEyOklzc3VlQ29tbWVudDU3Mjg1MDI3NQ==","user":{"login":"solomatov","id":1268556,"node_id":"MDQ6VXNlcjEyNjg1NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1268556?v=4","gravatar_id":"","url":"https://api.github.com/users/solomatov","html_url":"https://github.com/solomatov","followers_url":"https://api.github.com/users/solomatov/followers","following_url":"https://api.github.com/users/solomatov/following{/other_user}","gists_url":"https://api.github.com/users/solomatov/gists{/gist_id}","starred_url":"https://api.github.com/users/solomatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solomatov/subscriptions","organizations_url":"https://api.github.com/users/solomatov/orgs","repos_url":"https://api.github.com/users/solomatov/repos","events_url":"https://api.github.com/users/solomatov/events{/privacy}","received_events_url":"https://api.github.com/users/solomatov/received_events","type":"User","site_admin":false},"created_at":"2020-01-10T02:53:31Z","updated_at":"2020-01-10T02:53:31Z","author_association":"CONTRIBUTOR","body":"@alexr00, I refactored test to test actual production behavior. Found in the process a small bug in event merging in Event.debounce."}}
{"actor":{"display_login":"solomatov"}}