{"action":"created","comment":{"url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls/comments/216493298","pull_request_review_id":153987276,"id":216493298,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjQ5MzI5OA==","diff_hunk":"@@ -414,6 +414,16 @@ def finalize(self):\n         self.sha_product_path\n         self.test_run_metadata\n \n+    def serialize_gzip(self, filepath):\n+        \"\"\"Serializes and gzips the in-memory report to a file.\n+\n+        finalize() should be called first.","path":"results-processor/wptreport.py","position":7,"original_position":7,"commit_id":"96482c71beb61e7de0a7e36afda5d45dc0f5aad0","original_commit_id":"96482c71beb61e7de0a7e36afda5d45dc0f5aad0","user":{"login":"foolip","id":498917,"node_id":"MDQ6VXNlcjQ5ODkxNw==","avatar_url":"https://avatars1.githubusercontent.com/u/498917?v=4","gravatar_id":"","url":"https://api.github.com/users/foolip","html_url":"https://github.com/foolip","followers_url":"https://api.github.com/users/foolip/followers","following_url":"https://api.github.com/users/foolip/following{/other_user}","gists_url":"https://api.github.com/users/foolip/gists{/gist_id}","starred_url":"https://api.github.com/users/foolip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foolip/subscriptions","organizations_url":"https://api.github.com/users/foolip/orgs","repos_url":"https://api.github.com/users/foolip/repos","events_url":"https://api.github.com/users/foolip/events{/privacy}","received_events_url":"https://api.github.com/users/foolip/received_events","type":"User","site_admin":false},"body":"What happens otherwise? Can anything be asserted to make sure it has been called?","created_at":"2018-09-10T22:22:06Z","updated_at":"2018-09-10T22:27:24Z","html_url":"https://github.com/web-platform-tests/wpt.fyi/pull/529#discussion_r216493298","pull_request_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls/529","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls/comments/216493298"},"html":{"href":"https://github.com/web-platform-tests/wpt.fyi/pull/529#discussion_r216493298"},"pull_request":{"href":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls/529"}}},"pull_request":{"url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls/529","id":214458847,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NDU4ODQ3","html_url":"https://github.com/web-platform-tests/wpt.fyi/pull/529","diff_url":"https://github.com/web-platform-tests/wpt.fyi/pull/529.diff","patch_url":"https://github.com/web-platform-tests/wpt.fyi/pull/529.patch","issue_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/issues/529","number":529,"state":"open","locked":false,"title":"[processor] Save the merged report","user":{"login":"Hexcles","id":1436812,"node_id":"MDQ6VXNlcjE0MzY4MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1436812?v=4","gravatar_id":"","url":"https://api.github.com/users/Hexcles","html_url":"https://github.com/Hexcles","followers_url":"https://api.github.com/users/Hexcles/followers","following_url":"https://api.github.com/users/Hexcles/following{/other_user}","gists_url":"https://api.github.com/users/Hexcles/gists{/gist_id}","starred_url":"https://api.github.com/users/Hexcles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hexcles/subscriptions","organizations_url":"https://api.github.com/users/Hexcles/orgs","repos_url":"https://api.github.com/users/Hexcles/repos","events_url":"https://api.github.com/users/Hexcles/events{/privacy}","received_events_url":"https://api.github.com/users/Hexcles/received_events","type":"User","site_admin":false},"body":"This change makes the results processor to save the merged report\r\ninstead of just the last chunk of the report if the original report is\r\nchunked when uploaded.\r\n\r\nBesides, it also sets the channel label (stable/experimental) based on a\r\nnew property in the report, `run_info.browser_channel`, introduced in\r\nhttps://github.com/web-platform-tests/wpt/pull/12679 .\r\n\r\n## Review\r\n\r\nThe integration, including the modified upload process for full raw reports, is tested by deploying to staging.wpt.fyi. The heuristics for adding labels are tested in unit tests.","created_at":"2018-09-10T22:10:22Z","updated_at":"2018-09-10T22:27:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b47449e362462e7a0a689aa9e1cbd501e3fc67d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls/529/commits","review_comments_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls/529/comments","review_comment_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/issues/529/comments","statuses_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/statuses/96482c71beb61e7de0a7e36afda5d45dc0f5aad0","head":{"label":"web-platform-tests:save-merged-report","ref":"save-merged-report","sha":"96482c71beb61e7de0a7e36afda5d45dc0f5aad0","user":{"login":"web-platform-tests","id":37226233,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjI2MjMz","avatar_url":"https://avatars0.githubusercontent.com/u/37226233?v=4","gravatar_id":"","url":"https://api.github.com/users/web-platform-tests","html_url":"https://github.com/web-platform-tests","followers_url":"https://api.github.com/users/web-platform-tests/followers","following_url":"https://api.github.com/users/web-platform-tests/following{/other_user}","gists_url":"https://api.github.com/users/web-platform-tests/gists{/gist_id}","starred_url":"https://api.github.com/users/web-platform-tests/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-platform-tests/subscriptions","organizations_url":"https://api.github.com/users/web-platform-tests/orgs","repos_url":"https://api.github.com/users/web-platform-tests/repos","events_url":"https://api.github.com/users/web-platform-tests/events{/privacy}","received_events_url":"https://api.github.com/users/web-platform-tests/received_events","type":"Organization","site_admin":false},"repo":{"id":128905889,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg5MDU4ODk=","name":"wpt.fyi","full_name":"web-platform-tests/wpt.fyi","owner":{"login":"web-platform-tests","id":37226233,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjI2MjMz","avatar_url":"https://avatars0.githubusercontent.com/u/37226233?v=4","gravatar_id":"","url":"https://api.github.com/users/web-platform-tests","html_url":"https://github.com/web-platform-tests","followers_url":"https://api.github.com/users/web-platform-tests/followers","following_url":"https://api.github.com/users/web-platform-tests/following{/other_user}","gists_url":"https://api.github.com/users/web-platform-tests/gists{/gist_id}","starred_url":"https://api.github.com/users/web-platform-tests/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-platform-tests/subscriptions","organizations_url":"https://api.github.com/users/web-platform-tests/orgs","repos_url":"https://api.github.com/users/web-platform-tests/repos","events_url":"https://api.github.com/users/web-platform-tests/events{/privacy}","received_events_url":"https://api.github.com/users/web-platform-tests/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/web-platform-tests/wpt.fyi","description":"web-platform-tests dashboard","fork":false,"url":"https://api.github.com/repos/web-platform-tests/wpt.fyi","forks_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/forks","keys_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/teams","hooks_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/hooks","issue_events_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/issues/events{/number}","events_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/events","assignees_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/assignees{/user}","branches_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/branches{/branch}","tags_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/tags","blobs_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/git/refs{/sha}","trees_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/statuses/{sha}","languages_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/languages","stargazers_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/stargazers","contributors_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/contributors","subscribers_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/subscribers","subscription_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/subscription","commits_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/commits{/sha}","git_commits_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/git/commits{/sha}","comments_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/comments{/number}","issue_comment_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/issues/comments{/number}","contents_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/contents/{+path}","compare_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/merges","archive_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/downloads","issues_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/issues{/number}","pulls_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls{/number}","milestones_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/milestones{/number}","notifications_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/labels{/name}","releases_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/releases{/id}","deployments_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/deployments","created_at":"2018-04-10T09:12:55Z","updated_at":"2018-09-10T22:21:39Z","pushed_at":"2018-09-10T22:21:40Z","git_url":"git://github.com/web-platform-tests/wpt.fyi.git","ssh_url":"git@github.com:web-platform-tests/wpt.fyi.git","clone_url":"https://github.com/web-platform-tests/wpt.fyi.git","svn_url":"https://github.com/web-platform-tests/wpt.fyi","homepage":"https://wpt.fyi/","size":14467,"stargazers_count":10,"watchers_count":10,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":109,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":9,"open_issues":109,"watchers":10,"default_branch":"master"}},"base":{"label":"web-platform-tests:master","ref":"master","sha":"dbcbae5eca30609c8a39dd8c9e022d600fced6e9","user":{"login":"web-platform-tests","id":37226233,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjI2MjMz","avatar_url":"https://avatars0.githubusercontent.com/u/37226233?v=4","gravatar_id":"","url":"https://api.github.com/users/web-platform-tests","html_url":"https://github.com/web-platform-tests","followers_url":"https://api.github.com/users/web-platform-tests/followers","following_url":"https://api.github.com/users/web-platform-tests/following{/other_user}","gists_url":"https://api.github.com/users/web-platform-tests/gists{/gist_id}","starred_url":"https://api.github.com/users/web-platform-tests/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-platform-tests/subscriptions","organizations_url":"https://api.github.com/users/web-platform-tests/orgs","repos_url":"https://api.github.com/users/web-platform-tests/repos","events_url":"https://api.github.com/users/web-platform-tests/events{/privacy}","received_events_url":"https://api.github.com/users/web-platform-tests/received_events","type":"Organization","site_admin":false},"repo":{"id":128905889,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg5MDU4ODk=","name":"wpt.fyi","full_name":"web-platform-tests/wpt.fyi","owner":{"login":"web-platform-tests","id":37226233,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjI2MjMz","avatar_url":"https://avatars0.githubusercontent.com/u/37226233?v=4","gravatar_id":"","url":"https://api.github.com/users/web-platform-tests","html_url":"https://github.com/web-platform-tests","followers_url":"https://api.github.com/users/web-platform-tests/followers","following_url":"https://api.github.com/users/web-platform-tests/following{/other_user}","gists_url":"https://api.github.com/users/web-platform-tests/gists{/gist_id}","starred_url":"https://api.github.com/users/web-platform-tests/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-platform-tests/subscriptions","organizations_url":"https://api.github.com/users/web-platform-tests/orgs","repos_url":"https://api.github.com/users/web-platform-tests/repos","events_url":"https://api.github.com/users/web-platform-tests/events{/privacy}","received_events_url":"https://api.github.com/users/web-platform-tests/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/web-platform-tests/wpt.fyi","description":"web-platform-tests dashboard","fork":false,"url":"https://api.github.com/repos/web-platform-tests/wpt.fyi","forks_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/forks","keys_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/teams","hooks_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/hooks","issue_events_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/issues/events{/number}","events_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/events","assignees_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/assignees{/user}","branches_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/branches{/branch}","tags_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/tags","blobs_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/git/refs{/sha}","trees_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/statuses/{sha}","languages_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/languages","stargazers_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/stargazers","contributors_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/contributors","subscribers_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/subscribers","subscription_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/subscription","commits_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/commits{/sha}","git_commits_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/git/commits{/sha}","comments_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/comments{/number}","issue_comment_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/issues/comments{/number}","contents_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/contents/{+path}","compare_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/merges","archive_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/downloads","issues_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/issues{/number}","pulls_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls{/number}","milestones_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/milestones{/number}","notifications_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/labels{/name}","releases_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/releases{/id}","deployments_url":"https://api.github.com/repos/web-platform-tests/wpt.fyi/deployments","created_at":"2018-04-10T09:12:55Z","updated_at":"2018-09-10T22:21:39Z","pushed_at":"2018-09-10T22:21:40Z","git_url":"git://github.com/web-platform-tests/wpt.fyi.git","ssh_url":"git@github.com:web-platform-tests/wpt.fyi.git","clone_url":"https://github.com/web-platform-tests/wpt.fyi.git","svn_url":"https://github.com/web-platform-tests/wpt.fyi","homepage":"https://wpt.fyi/","size":14467,"stargazers_count":10,"watchers_count":10,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":109,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":9,"open_issues":109,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls/529"},"html":{"href":"https://github.com/web-platform-tests/wpt.fyi/pull/529"},"issue":{"href":"https://api.github.com/repos/web-platform-tests/wpt.fyi/issues/529"},"comments":{"href":"https://api.github.com/repos/web-platform-tests/wpt.fyi/issues/529/comments"},"review_comments":{"href":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls/529/comments"},"review_comment":{"href":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/web-platform-tests/wpt.fyi/pulls/529/commits"},"statuses":{"href":"https://api.github.com/repos/web-platform-tests/wpt.fyi/statuses/96482c71beb61e7de0a7e36afda5d45dc0f5aad0"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"foolip"}}