{"action":"reopened","number":1991,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1991","id":56498293,"html_url":"https://github.com/jenkinsci/jenkins/pull/1991","diff_url":"https://github.com/jenkinsci/jenkins/pull/1991.diff","patch_url":"https://github.com/jenkinsci/jenkins/pull/1991.patch","issue_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/1991","number":1991,"state":"open","locked":false,"title":"[JENKINS-32517] Deprecate Queue#getApproximateItemsQuickly","user":{"login":"andresrc","id":500424,"avatar_url":"https://avatars.githubusercontent.com/u/500424?v=3","gravatar_id":"","url":"https://api.github.com/users/andresrc","html_url":"https://github.com/andresrc","followers_url":"https://api.github.com/users/andresrc/followers","following_url":"https://api.github.com/users/andresrc/following{/other_user}","gists_url":"https://api.github.com/users/andresrc/gists{/gist_id}","starred_url":"https://api.github.com/users/andresrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresrc/subscriptions","organizations_url":"https://api.github.com/users/andresrc/orgs","repos_url":"https://api.github.com/users/andresrc/repos","events_url":"https://api.github.com/users/andresrc/events{/privacy}","received_events_url":"https://api.github.com/users/andresrc/received_events","type":"User","site_admin":false},"body":"Queue#getApproximateItemsQuickly can cache invalid results.\r\n\r\nNow that the item list is obtained lock-free the cache is no longer needed.\r\nBesides, the cache could be returning invalid results for requests with different authorization to the one that cached the result (in any case this invalid result is transient).\r\n\r\nReferences to the deprecated method are updated accordingly.\r\n\r\n@reviewbybees\r\n","created_at":"2016-01-19T17:28:05Z","updated_at":"2016-02-01T11:26:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d32b2d5bb5e69f97fb5a6dd6ba2c4c3880b3482","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1991/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1991/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/1991/comments","statuses_url":"https://api.github.com/repos/jenkinsci/jenkins/statuses/638ceb2316df86e724e537cd7ed0b5e4f263e315","head":{"label":"andresrc:JENKINS-32517","ref":"JENKINS-32517","sha":"638ceb2316df86e724e537cd7ed0b5e4f263e315","user":{"login":"andresrc","id":500424,"avatar_url":"https://avatars.githubusercontent.com/u/500424?v=3","gravatar_id":"","url":"https://api.github.com/users/andresrc","html_url":"https://github.com/andresrc","followers_url":"https://api.github.com/users/andresrc/followers","following_url":"https://api.github.com/users/andresrc/following{/other_user}","gists_url":"https://api.github.com/users/andresrc/gists{/gist_id}","starred_url":"https://api.github.com/users/andresrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresrc/subscriptions","organizations_url":"https://api.github.com/users/andresrc/orgs","repos_url":"https://api.github.com/users/andresrc/repos","events_url":"https://api.github.com/users/andresrc/events{/privacy}","received_events_url":"https://api.github.com/users/andresrc/received_events","type":"User","site_admin":false},"repo":{"id":43686516,"name":"jenkins","full_name":"andresrc/jenkins","owner":{"login":"andresrc","id":500424,"avatar_url":"https://avatars.githubusercontent.com/u/500424?v=3","gravatar_id":"","url":"https://api.github.com/users/andresrc","html_url":"https://github.com/andresrc","followers_url":"https://api.github.com/users/andresrc/followers","following_url":"https://api.github.com/users/andresrc/following{/other_user}","gists_url":"https://api.github.com/users/andresrc/gists{/gist_id}","starred_url":"https://api.github.com/users/andresrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresrc/subscriptions","organizations_url":"https://api.github.com/users/andresrc/orgs","repos_url":"https://api.github.com/users/andresrc/repos","events_url":"https://api.github.com/users/andresrc/events{/privacy}","received_events_url":"https://api.github.com/users/andresrc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andresrc/jenkins","description":"Jenkins Continuous Integration Server","fork":true,"url":"https://api.github.com/repos/andresrc/jenkins","forks_url":"https://api.github.com/repos/andresrc/jenkins/forks","keys_url":"https://api.github.com/repos/andresrc/jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andresrc/jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andresrc/jenkins/teams","hooks_url":"https://api.github.com/repos/andresrc/jenkins/hooks","issue_events_url":"https://api.github.com/repos/andresrc/jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/andresrc/jenkins/events","assignees_url":"https://api.github.com/repos/andresrc/jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/andresrc/jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/andresrc/jenkins/tags","blobs_url":"https://api.github.com/repos/andresrc/jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andresrc/jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andresrc/jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/andresrc/jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andresrc/jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/andresrc/jenkins/languages","stargazers_url":"https://api.github.com/repos/andresrc/jenkins/stargazers","contributors_url":"https://api.github.com/repos/andresrc/jenkins/contributors","subscribers_url":"https://api.github.com/repos/andresrc/jenkins/subscribers","subscription_url":"https://api.github.com/repos/andresrc/jenkins/subscription","commits_url":"https://api.github.com/repos/andresrc/jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/andresrc/jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/andresrc/jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/andresrc/jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/andresrc/jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/andresrc/jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andresrc/jenkins/merges","archive_url":"https://api.github.com/repos/andresrc/jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andresrc/jenkins/downloads","issues_url":"https://api.github.com/repos/andresrc/jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/andresrc/jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/andresrc/jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/andresrc/jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andresrc/jenkins/labels{/name}","releases_url":"https://api.github.com/repos/andresrc/jenkins/releases{/id}","deployments_url":"https://api.github.com/repos/andresrc/jenkins/deployments","created_at":"2015-10-05T13:41:02Z","updated_at":"2016-01-19T10:36:19Z","pushed_at":"2016-01-29T14:39:19Z","git_url":"git://github.com/andresrc/jenkins.git","ssh_url":"git@github.com:andresrc/jenkins.git","clone_url":"https://github.com/andresrc/jenkins.git","svn_url":"https://github.com/andresrc/jenkins","homepage":"http://jenkins-ci.org/","size":89783,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"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":"jenkinsci:master","ref":"master","sha":"452b6fd740d46713527e703563f9f8eb356515f4","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":1103607,"name":"jenkins","full_name":"jenkinsci/jenkins","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/jenkins","description":"Jenkins Continuous Integration Server","fork":true,"url":"https://api.github.com/repos/jenkinsci/jenkins","forks_url":"https://api.github.com/repos/jenkinsci/jenkins/forks","keys_url":"https://api.github.com/repos/jenkinsci/jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/jenkins/teams","hooks_url":"https://api.github.com/repos/jenkinsci/jenkins/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/jenkins/events","assignees_url":"https://api.github.com/repos/jenkinsci/jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/jenkins/tags","blobs_url":"https://api.github.com/repos/jenkinsci/jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/jenkins/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/jenkins/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/jenkins/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/jenkins/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/jenkins/subscription","commits_url":"https://api.github.com/repos/jenkinsci/jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/jenkins/merges","archive_url":"https://api.github.com/repos/jenkinsci/jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/jenkins/downloads","issues_url":"https://api.github.com/repos/jenkinsci/jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/jenkins/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/jenkins/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/jenkins/deployments","created_at":"2010-11-22T21:21:23Z","updated_at":"2016-02-01T09:44:07Z","pushed_at":"2016-02-01T11:05:40Z","git_url":"git://github.com/jenkinsci/jenkins.git","ssh_url":"git@github.com:jenkinsci/jenkins.git","clone_url":"https://github.com/jenkinsci/jenkins.git","svn_url":"https://github.com/jenkinsci/jenkins","homepage":"http://jenkins-ci.org/","size":95914,"stargazers_count":5085,"watchers_count":5085,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":2270,"mirror_url":null,"open_issues_count":122,"forks":2270,"open_issues":122,"watchers":5085,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1991"},"html":{"href":"https://github.com/jenkinsci/jenkins/pull/1991"},"issue":{"href":"https://api.github.com/repos/jenkinsci/jenkins/issues/1991"},"comments":{"href":"https://api.github.com/repos/jenkinsci/jenkins/issues/1991/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1991/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1991/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/jenkins/statuses/638ceb2316df86e724e537cd7ed0b5e4f263e315"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":2,"review_comments":6,"commits":1,"additions":14,"deletions":49,"changed_files":8}}