{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/test-infra/pulls/comments/170689697","pull_request_review_id":99409746,"id":170689697,"diff_hunk":"@@ -168,24 +195,50 @@ func (da *DashboardAgent) HandleUserDashboard(queryHandler PullRequestQueryHandl\n \n // Query function that returns a list of open pull requests owned by the user whose access token\n // is consumed by the github client.\n-func (da *DashboardAgent) Query(ctx context.Context, ghc githubClient) ([]PullRequest, error) {\n-\tvar prs = []PullRequest{}\n+func (da *DashboardAgent) Query(ctx context.Context, ghc githubClient, query string) ([]PullRequest, error) {","path":"prow/userdashboard/userdashboard.go","position":127,"original_position":127,"commit_id":"6fd17961f5a312cc4657360bc106898257de73c4","original_commit_id":"6fd17961f5a312cc4657360bc106898257de73c4","user":{"login":"cjwagner","id":5334145,"avatar_url":"https://avatars3.githubusercontent.com/u/5334145?v=4","gravatar_id":"","url":"https://api.github.com/users/cjwagner","html_url":"https://github.com/cjwagner","followers_url":"https://api.github.com/users/cjwagner/followers","following_url":"https://api.github.com/users/cjwagner/following{/other_user}","gists_url":"https://api.github.com/users/cjwagner/gists{/gist_id}","starred_url":"https://api.github.com/users/cjwagner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjwagner/subscriptions","organizations_url":"https://api.github.com/users/cjwagner/orgs","repos_url":"https://api.github.com/users/cjwagner/repos","events_url":"https://api.github.com/users/cjwagner/events{/privacy}","received_events_url":"https://api.github.com/users/cjwagner/received_events","type":"User","site_admin":false},"body":"Rename this to distinguish it from `ghc.Query` which is not PR specific. Maybe `QueryPullRequests`?","created_at":"2018-02-26T18:31:11Z","updated_at":"2018-02-26T18:37:07Z","html_url":"https://github.com/kubernetes/test-infra/pull/6990#discussion_r170689697","pull_request_url":"https://api.github.com/repos/kubernetes/test-infra/pulls/6990","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/comments/170689697"},"html":{"href":"https://github.com/kubernetes/test-infra/pull/6990#discussion_r170689697"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/6990"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/test-infra/pulls/6990","id":171208097,"html_url":"https://github.com/kubernetes/test-infra/pull/6990","diff_url":"https://github.com/kubernetes/test-infra/pull/6990.diff","patch_url":"https://github.com/kubernetes/test-infra/pull/6990.patch","issue_url":"https://api.github.com/repos/kubernetes/test-infra/issues/6990","number":6990,"state":"open","locked":false,"title":"Filters out repos that are not configured with Prow from user dashboard","user":{"login":"qhuynh96","id":24363693,"avatar_url":"https://avatars1.githubusercontent.com/u/24363693?v=4","gravatar_id":"","url":"https://api.github.com/users/qhuynh96","html_url":"https://github.com/qhuynh96","followers_url":"https://api.github.com/users/qhuynh96/followers","following_url":"https://api.github.com/users/qhuynh96/following{/other_user}","gists_url":"https://api.github.com/users/qhuynh96/gists{/gist_id}","starred_url":"https://api.github.com/users/qhuynh96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qhuynh96/subscriptions","organizations_url":"https://api.github.com/users/qhuynh96/orgs","repos_url":"https://api.github.com/users/qhuynh96/repos","events_url":"https://api.github.com/users/qhuynh96/events{/privacy}","received_events_url":"https://api.github.com/users/qhuynh96/received_events","type":"User","site_admin":false},"body":"Changes the query method of `user-data.js` endpoint. Instead of querying pull request directly from `viewer`, the endpoint nows uses `search` to retrieve pull requests that match criteria.\r\n* Fixes #6958 ","created_at":"2018-02-25T02:10:24Z","updated_at":"2018-02-26T18:37:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6757cae3ba4c6a958198888b0d404b167858a27","assignee":{"login":"cjwagner","id":5334145,"avatar_url":"https://avatars3.githubusercontent.com/u/5334145?v=4","gravatar_id":"","url":"https://api.github.com/users/cjwagner","html_url":"https://github.com/cjwagner","followers_url":"https://api.github.com/users/cjwagner/followers","following_url":"https://api.github.com/users/cjwagner/following{/other_user}","gists_url":"https://api.github.com/users/cjwagner/gists{/gist_id}","starred_url":"https://api.github.com/users/cjwagner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjwagner/subscriptions","organizations_url":"https://api.github.com/users/cjwagner/orgs","repos_url":"https://api.github.com/users/cjwagner/repos","events_url":"https://api.github.com/users/cjwagner/events{/privacy}","received_events_url":"https://api.github.com/users/cjwagner/received_events","type":"User","site_admin":false},"assignees":[{"login":"cjwagner","id":5334145,"avatar_url":"https://avatars3.githubusercontent.com/u/5334145?v=4","gravatar_id":"","url":"https://api.github.com/users/cjwagner","html_url":"https://github.com/cjwagner","followers_url":"https://api.github.com/users/cjwagner/followers","following_url":"https://api.github.com/users/cjwagner/following{/other_user}","gists_url":"https://api.github.com/users/cjwagner/gists{/gist_id}","starred_url":"https://api.github.com/users/cjwagner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjwagner/subscriptions","organizations_url":"https://api.github.com/users/cjwagner/orgs","repos_url":"https://api.github.com/users/cjwagner/repos","events_url":"https://api.github.com/users/cjwagner/events{/privacy}","received_events_url":"https://api.github.com/users/cjwagner/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"BenTheElder","id":917931,"avatar_url":"https://avatars2.githubusercontent.com/u/917931?v=4","gravatar_id":"","url":"https://api.github.com/users/BenTheElder","html_url":"https://github.com/BenTheElder","followers_url":"https://api.github.com/users/BenTheElder/followers","following_url":"https://api.github.com/users/BenTheElder/following{/other_user}","gists_url":"https://api.github.com/users/BenTheElder/gists{/gist_id}","starred_url":"https://api.github.com/users/BenTheElder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenTheElder/subscriptions","organizations_url":"https://api.github.com/users/BenTheElder/orgs","repos_url":"https://api.github.com/users/BenTheElder/repos","events_url":"https://api.github.com/users/BenTheElder/events{/privacy}","received_events_url":"https://api.github.com/users/BenTheElder/received_events","type":"User","site_admin":false},{"login":"kargakis","id":3900799,"avatar_url":"https://avatars3.githubusercontent.com/u/3900799?v=4","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},{"login":"stevekuznetsov","id":7328370,"avatar_url":"https://avatars1.githubusercontent.com/u/7328370?v=4","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":484580953,"url":"https://api.github.com/repos/kubernetes/test-infra/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":671133125,"url":"https://api.github.com/repos/kubernetes/test-infra/labels/size/L","name":"size/L","color":"ee9900","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/test-infra/pulls/6990/commits","review_comments_url":"https://api.github.com/repos/kubernetes/test-infra/pulls/6990/comments","review_comment_url":"https://api.github.com/repos/kubernetes/test-infra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/test-infra/issues/6990/comments","statuses_url":"https://api.github.com/repos/kubernetes/test-infra/statuses/6fd17961f5a312cc4657360bc106898257de73c4","head":{"label":"qhuynh96:repo-config","ref":"repo-config","sha":"6fd17961f5a312cc4657360bc106898257de73c4","user":{"login":"qhuynh96","id":24363693,"avatar_url":"https://avatars1.githubusercontent.com/u/24363693?v=4","gravatar_id":"","url":"https://api.github.com/users/qhuynh96","html_url":"https://github.com/qhuynh96","followers_url":"https://api.github.com/users/qhuynh96/followers","following_url":"https://api.github.com/users/qhuynh96/following{/other_user}","gists_url":"https://api.github.com/users/qhuynh96/gists{/gist_id}","starred_url":"https://api.github.com/users/qhuynh96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qhuynh96/subscriptions","organizations_url":"https://api.github.com/users/qhuynh96/orgs","repos_url":"https://api.github.com/users/qhuynh96/repos","events_url":"https://api.github.com/users/qhuynh96/events{/privacy}","received_events_url":"https://api.github.com/users/qhuynh96/received_events","type":"User","site_admin":false},"repo":{"id":116088273,"name":"test-infra","full_name":"qhuynh96/test-infra","owner":{"login":"qhuynh96","id":24363693,"avatar_url":"https://avatars1.githubusercontent.com/u/24363693?v=4","gravatar_id":"","url":"https://api.github.com/users/qhuynh96","html_url":"https://github.com/qhuynh96","followers_url":"https://api.github.com/users/qhuynh96/followers","following_url":"https://api.github.com/users/qhuynh96/following{/other_user}","gists_url":"https://api.github.com/users/qhuynh96/gists{/gist_id}","starred_url":"https://api.github.com/users/qhuynh96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qhuynh96/subscriptions","organizations_url":"https://api.github.com/users/qhuynh96/orgs","repos_url":"https://api.github.com/users/qhuynh96/repos","events_url":"https://api.github.com/users/qhuynh96/events{/privacy}","received_events_url":"https://api.github.com/users/qhuynh96/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qhuynh96/test-infra","description":"Test infrastructure for the Kubernetes project.","fork":true,"url":"https://api.github.com/repos/qhuynh96/test-infra","forks_url":"https://api.github.com/repos/qhuynh96/test-infra/forks","keys_url":"https://api.github.com/repos/qhuynh96/test-infra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qhuynh96/test-infra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qhuynh96/test-infra/teams","hooks_url":"https://api.github.com/repos/qhuynh96/test-infra/hooks","issue_events_url":"https://api.github.com/repos/qhuynh96/test-infra/issues/events{/number}","events_url":"https://api.github.com/repos/qhuynh96/test-infra/events","assignees_url":"https://api.github.com/repos/qhuynh96/test-infra/assignees{/user}","branches_url":"https://api.github.com/repos/qhuynh96/test-infra/branches{/branch}","tags_url":"https://api.github.com/repos/qhuynh96/test-infra/tags","blobs_url":"https://api.github.com/repos/qhuynh96/test-infra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qhuynh96/test-infra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qhuynh96/test-infra/git/refs{/sha}","trees_url":"https://api.github.com/repos/qhuynh96/test-infra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qhuynh96/test-infra/statuses/{sha}","languages_url":"https://api.github.com/repos/qhuynh96/test-infra/languages","stargazers_url":"https://api.github.com/repos/qhuynh96/test-infra/stargazers","contributors_url":"https://api.github.com/repos/qhuynh96/test-infra/contributors","subscribers_url":"https://api.github.com/repos/qhuynh96/test-infra/subscribers","subscription_url":"https://api.github.com/repos/qhuynh96/test-infra/subscription","commits_url":"https://api.github.com/repos/qhuynh96/test-infra/commits{/sha}","git_commits_url":"https://api.github.com/repos/qhuynh96/test-infra/git/commits{/sha}","comments_url":"https://api.github.com/repos/qhuynh96/test-infra/comments{/number}","issue_comment_url":"https://api.github.com/repos/qhuynh96/test-infra/issues/comments{/number}","contents_url":"https://api.github.com/repos/qhuynh96/test-infra/contents/{+path}","compare_url":"https://api.github.com/repos/qhuynh96/test-infra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qhuynh96/test-infra/merges","archive_url":"https://api.github.com/repos/qhuynh96/test-infra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qhuynh96/test-infra/downloads","issues_url":"https://api.github.com/repos/qhuynh96/test-infra/issues{/number}","pulls_url":"https://api.github.com/repos/qhuynh96/test-infra/pulls{/number}","milestones_url":"https://api.github.com/repos/qhuynh96/test-infra/milestones{/number}","notifications_url":"https://api.github.com/repos/qhuynh96/test-infra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qhuynh96/test-infra/labels{/name}","releases_url":"https://api.github.com/repos/qhuynh96/test-infra/releases{/id}","deployments_url":"https://api.github.com/repos/qhuynh96/test-infra/deployments","created_at":"2018-01-03T03:45:55Z","updated_at":"2018-01-03T03:45:59Z","pushed_at":"2018-02-26T18:04:20Z","git_url":"git://github.com/qhuynh96/test-infra.git","ssh_url":"git@github.com:qhuynh96/test-infra.git","clone_url":"https://github.com/qhuynh96/test-infra.git","svn_url":"https://github.com/qhuynh96/test-infra","homepage":null,"size":43192,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"f260c9529346f0600f6ec4125710ec67c55a0776","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":57333709,"name":"test-infra","full_name":"kubernetes/test-infra","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/test-infra","description":"Test infrastructure for the Kubernetes project.","fork":false,"url":"https://api.github.com/repos/kubernetes/test-infra","forks_url":"https://api.github.com/repos/kubernetes/test-infra/forks","keys_url":"https://api.github.com/repos/kubernetes/test-infra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/test-infra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/test-infra/teams","hooks_url":"https://api.github.com/repos/kubernetes/test-infra/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/test-infra/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/test-infra/events","assignees_url":"https://api.github.com/repos/kubernetes/test-infra/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/test-infra/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/test-infra/tags","blobs_url":"https://api.github.com/repos/kubernetes/test-infra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/test-infra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/test-infra/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/test-infra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/test-infra/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/test-infra/languages","stargazers_url":"https://api.github.com/repos/kubernetes/test-infra/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/test-infra/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/test-infra/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/test-infra/subscription","commits_url":"https://api.github.com/repos/kubernetes/test-infra/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/test-infra/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/test-infra/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/test-infra/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/test-infra/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/test-infra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/test-infra/merges","archive_url":"https://api.github.com/repos/kubernetes/test-infra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/test-infra/downloads","issues_url":"https://api.github.com/repos/kubernetes/test-infra/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/test-infra/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/test-infra/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/test-infra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/test-infra/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/test-infra/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/test-infra/deployments","created_at":"2016-04-28T21:05:35Z","updated_at":"2018-02-25T22:03:27Z","pushed_at":"2018-02-26T18:23:19Z","git_url":"git://github.com/kubernetes/test-infra.git","ssh_url":"git@github.com:kubernetes/test-infra.git","clone_url":"https://github.com/kubernetes/test-infra.git","svn_url":"https://github.com/kubernetes/test-infra","homepage":null,"size":43942,"stargazers_count":284,"watchers_count":284,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":365,"mirror_url":null,"archived":false,"open_issues_count":350,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":365,"open_issues":350,"watchers":284,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/6990"},"html":{"href":"https://github.com/kubernetes/test-infra/pull/6990"},"issue":{"href":"https://api.github.com/repos/kubernetes/test-infra/issues/6990"},"comments":{"href":"https://api.github.com/repos/kubernetes/test-infra/issues/6990/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/6990/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/6990/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/test-infra/statuses/6fd17961f5a312cc4657360bc106898257de73c4"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"cjwagner"}}