{"action":"closed","number":1231,"pull_request":{"url":"https://api.github.com/repos/eciis/web/pulls/1231","id":201103759,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMTAzNzU5","html_url":"https://github.com/eciis/web/pull/1231","diff_url":"https://github.com/eciis/web/pull/1231.diff","patch_url":"https://github.com/eciis/web/pull/1231.patch","issue_url":"https://api.github.com/repos/eciis/web/issues/1231","number":1231,"state":"closed","locked":false,"title":"Fix concurrence in the transfer admin queue and remove admin permissions queue","user":{"login":"Luiz-FS","id":18005317,"node_id":"MDQ6VXNlcjE4MDA1MzE3","avatar_url":"https://avatars2.githubusercontent.com/u/18005317?v=4","gravatar_id":"","url":"https://api.github.com/users/Luiz-FS","html_url":"https://github.com/Luiz-FS","followers_url":"https://api.github.com/users/Luiz-FS/followers","following_url":"https://api.github.com/users/Luiz-FS/following{/other_user}","gists_url":"https://api.github.com/users/Luiz-FS/gists{/gist_id}","starred_url":"https://api.github.com/users/Luiz-FS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luiz-FS/subscriptions","organizations_url":"https://api.github.com/users/Luiz-FS/orgs","repos_url":"https://api.github.com/users/Luiz-FS/repos","events_url":"https://api.github.com/users/Luiz-FS/events{/privacy}","received_events_url":"https://api.github.com/users/Luiz-FS/received_events","type":"User","site_admin":false},"body":"**Feature/Bug description:** When both the administrative transfer queue and the remove administrative permissions queue attempt to update the same user, the notification is sent to the user but a concurrency error occurs, and when attempting to do the operation again, the notification has already been resolved and not is in the queue, causing another error because there is no longer any way to send the notification.\r\n\r\n**Solution:** Move the NotificationsQueueManager call out of the transaction, so if there is competition error and retry the notification queue is not affected.\r\n\r\n**TODO/FIXME:** n/a","created_at":"2018-07-12T19:34:43Z","updated_at":"2018-07-12T19:38:12Z","closed_at":"2018-07-12T19:38:12Z","merged_at":"2018-07-12T19:38:12Z","merge_commit_sha":"088050d61c3909a9e1e13864751a2308280bc5e3","assignee":{"login":"Luiz-FS","id":18005317,"node_id":"MDQ6VXNlcjE4MDA1MzE3","avatar_url":"https://avatars2.githubusercontent.com/u/18005317?v=4","gravatar_id":"","url":"https://api.github.com/users/Luiz-FS","html_url":"https://github.com/Luiz-FS","followers_url":"https://api.github.com/users/Luiz-FS/followers","following_url":"https://api.github.com/users/Luiz-FS/following{/other_user}","gists_url":"https://api.github.com/users/Luiz-FS/gists{/gist_id}","starred_url":"https://api.github.com/users/Luiz-FS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luiz-FS/subscriptions","organizations_url":"https://api.github.com/users/Luiz-FS/orgs","repos_url":"https://api.github.com/users/Luiz-FS/repos","events_url":"https://api.github.com/users/Luiz-FS/events{/privacy}","received_events_url":"https://api.github.com/users/Luiz-FS/received_events","type":"User","site_admin":false},"assignees":[{"login":"Luiz-FS","id":18005317,"node_id":"MDQ6VXNlcjE4MDA1MzE3","avatar_url":"https://avatars2.githubusercontent.com/u/18005317?v=4","gravatar_id":"","url":"https://api.github.com/users/Luiz-FS","html_url":"https://github.com/Luiz-FS","followers_url":"https://api.github.com/users/Luiz-FS/followers","following_url":"https://api.github.com/users/Luiz-FS/following{/other_user}","gists_url":"https://api.github.com/users/Luiz-FS/gists{/gist_id}","starred_url":"https://api.github.com/users/Luiz-FS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luiz-FS/subscriptions","organizations_url":"https://api.github.com/users/Luiz-FS/orgs","repos_url":"https://api.github.com/users/Luiz-FS/repos","events_url":"https://api.github.com/users/Luiz-FS/events{/privacy}","received_events_url":"https://api.github.com/users/Luiz-FS/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":606546451,"node_id":"MDU6TGFiZWw2MDY1NDY0NTE=","url":"https://api.github.com/repos/eciis/web/labels/backend","name":"backend","color":"fbca04","default":false},{"id":605466238,"node_id":"MDU6TGFiZWw2MDU0NjYyMzg=","url":"https://api.github.com/repos/eciis/web/labels/bug","name":"bug","color":"ee0701","default":true}],"milestone":{"url":"https://api.github.com/repos/eciis/web/milestones/6","html_url":"https://github.com/eciis/web/milestone/6","labels_url":"https://api.github.com/repos/eciis/web/milestones/6/labels","id":3071352,"node_id":"MDk6TWlsZXN0b25lMzA3MTM1Mg==","number":6,"title":"MT 6","description":"","creator":{"login":"andreldsa","id":2967288,"node_id":"MDQ6VXNlcjI5NjcyODg=","avatar_url":"https://avatars2.githubusercontent.com/u/2967288?v=4","gravatar_id":"","url":"https://api.github.com/users/andreldsa","html_url":"https://github.com/andreldsa","followers_url":"https://api.github.com/users/andreldsa/followers","following_url":"https://api.github.com/users/andreldsa/following{/other_user}","gists_url":"https://api.github.com/users/andreldsa/gists{/gist_id}","starred_url":"https://api.github.com/users/andreldsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreldsa/subscriptions","organizations_url":"https://api.github.com/users/andreldsa/orgs","repos_url":"https://api.github.com/users/andreldsa/repos","events_url":"https://api.github.com/users/andreldsa/events{/privacy}","received_events_url":"https://api.github.com/users/andreldsa/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":514,"state":"open","created_at":"2018-01-29T12:50:35Z","updated_at":"2018-07-12T19:38:12Z","due_on":"2018-07-16T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/eciis/web/pulls/1231/commits","review_comments_url":"https://api.github.com/repos/eciis/web/pulls/1231/comments","review_comment_url":"https://api.github.com/repos/eciis/web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eciis/web/issues/1231/comments","statuses_url":"https://api.github.com/repos/eciis/web/statuses/a654c101326df139e2e9c4411bd53322d5b70a1c","head":{"label":"eciis:fix-comcurrence-in-the-queue","ref":"fix-comcurrence-in-the-queue","sha":"a654c101326df139e2e9c4411bd53322d5b70a1c","user":{"login":"eciis","id":28706805,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzA2ODA1","avatar_url":"https://avatars3.githubusercontent.com/u/28706805?v=4","gravatar_id":"","url":"https://api.github.com/users/eciis","html_url":"https://github.com/eciis","followers_url":"https://api.github.com/users/eciis/followers","following_url":"https://api.github.com/users/eciis/following{/other_user}","gists_url":"https://api.github.com/users/eciis/gists{/gist_id}","starred_url":"https://api.github.com/users/eciis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eciis/subscriptions","organizations_url":"https://api.github.com/users/eciis/orgs","repos_url":"https://api.github.com/users/eciis/repos","events_url":"https://api.github.com/users/eciis/events{/privacy}","received_events_url":"https://api.github.com/users/eciis/received_events","type":"Organization","site_admin":false},"repo":{"id":91336041,"node_id":"MDEwOlJlcG9zaXRvcnk5MTMzNjA0MQ==","name":"web","full_name":"eciis/web","owner":{"login":"eciis","id":28706805,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzA2ODA1","avatar_url":"https://avatars3.githubusercontent.com/u/28706805?v=4","gravatar_id":"","url":"https://api.github.com/users/eciis","html_url":"https://github.com/eciis","followers_url":"https://api.github.com/users/eciis/followers","following_url":"https://api.github.com/users/eciis/following{/other_user}","gists_url":"https://api.github.com/users/eciis/gists{/gist_id}","starred_url":"https://api.github.com/users/eciis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eciis/subscriptions","organizations_url":"https://api.github.com/users/eciis/orgs","repos_url":"https://api.github.com/users/eciis/repos","events_url":"https://api.github.com/users/eciis/events{/privacy}","received_events_url":"https://api.github.com/users/eciis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eciis/web","description":"AngularJS Frontend with Appengine Python Backend","fork":false,"url":"https://api.github.com/repos/eciis/web","forks_url":"https://api.github.com/repos/eciis/web/forks","keys_url":"https://api.github.com/repos/eciis/web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eciis/web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eciis/web/teams","hooks_url":"https://api.github.com/repos/eciis/web/hooks","issue_events_url":"https://api.github.com/repos/eciis/web/issues/events{/number}","events_url":"https://api.github.com/repos/eciis/web/events","assignees_url":"https://api.github.com/repos/eciis/web/assignees{/user}","branches_url":"https://api.github.com/repos/eciis/web/branches{/branch}","tags_url":"https://api.github.com/repos/eciis/web/tags","blobs_url":"https://api.github.com/repos/eciis/web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eciis/web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eciis/web/git/refs{/sha}","trees_url":"https://api.github.com/repos/eciis/web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eciis/web/statuses/{sha}","languages_url":"https://api.github.com/repos/eciis/web/languages","stargazers_url":"https://api.github.com/repos/eciis/web/stargazers","contributors_url":"https://api.github.com/repos/eciis/web/contributors","subscribers_url":"https://api.github.com/repos/eciis/web/subscribers","subscription_url":"https://api.github.com/repos/eciis/web/subscription","commits_url":"https://api.github.com/repos/eciis/web/commits{/sha}","git_commits_url":"https://api.github.com/repos/eciis/web/git/commits{/sha}","comments_url":"https://api.github.com/repos/eciis/web/comments{/number}","issue_comment_url":"https://api.github.com/repos/eciis/web/issues/comments{/number}","contents_url":"https://api.github.com/repos/eciis/web/contents/{+path}","compare_url":"https://api.github.com/repos/eciis/web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eciis/web/merges","archive_url":"https://api.github.com/repos/eciis/web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eciis/web/downloads","issues_url":"https://api.github.com/repos/eciis/web/issues{/number}","pulls_url":"https://api.github.com/repos/eciis/web/pulls{/number}","milestones_url":"https://api.github.com/repos/eciis/web/milestones{/number}","notifications_url":"https://api.github.com/repos/eciis/web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eciis/web/labels{/name}","releases_url":"https://api.github.com/repos/eciis/web/releases{/id}","deployments_url":"https://api.github.com/repos/eciis/web/deployments","created_at":"2017-05-15T12:37:06Z","updated_at":"2018-07-12T18:39:47Z","pushed_at":"2018-07-12T19:38:12Z","git_url":"git://github.com/eciis/web.git","ssh_url":"git@github.com:eciis/web.git","clone_url":"https://github.com/eciis/web.git","svn_url":"https://github.com/eciis/web","homepage":"","size":9720,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":1,"open_issues":1,"watchers":7,"default_branch":"master"}},"base":{"label":"eciis:master","ref":"master","sha":"4d2707df733b834173ba4f07af01f6aade67b0ea","user":{"login":"eciis","id":28706805,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzA2ODA1","avatar_url":"https://avatars3.githubusercontent.com/u/28706805?v=4","gravatar_id":"","url":"https://api.github.com/users/eciis","html_url":"https://github.com/eciis","followers_url":"https://api.github.com/users/eciis/followers","following_url":"https://api.github.com/users/eciis/following{/other_user}","gists_url":"https://api.github.com/users/eciis/gists{/gist_id}","starred_url":"https://api.github.com/users/eciis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eciis/subscriptions","organizations_url":"https://api.github.com/users/eciis/orgs","repos_url":"https://api.github.com/users/eciis/repos","events_url":"https://api.github.com/users/eciis/events{/privacy}","received_events_url":"https://api.github.com/users/eciis/received_events","type":"Organization","site_admin":false},"repo":{"id":91336041,"node_id":"MDEwOlJlcG9zaXRvcnk5MTMzNjA0MQ==","name":"web","full_name":"eciis/web","owner":{"login":"eciis","id":28706805,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NzA2ODA1","avatar_url":"https://avatars3.githubusercontent.com/u/28706805?v=4","gravatar_id":"","url":"https://api.github.com/users/eciis","html_url":"https://github.com/eciis","followers_url":"https://api.github.com/users/eciis/followers","following_url":"https://api.github.com/users/eciis/following{/other_user}","gists_url":"https://api.github.com/users/eciis/gists{/gist_id}","starred_url":"https://api.github.com/users/eciis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eciis/subscriptions","organizations_url":"https://api.github.com/users/eciis/orgs","repos_url":"https://api.github.com/users/eciis/repos","events_url":"https://api.github.com/users/eciis/events{/privacy}","received_events_url":"https://api.github.com/users/eciis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eciis/web","description":"AngularJS Frontend with Appengine Python Backend","fork":false,"url":"https://api.github.com/repos/eciis/web","forks_url":"https://api.github.com/repos/eciis/web/forks","keys_url":"https://api.github.com/repos/eciis/web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eciis/web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eciis/web/teams","hooks_url":"https://api.github.com/repos/eciis/web/hooks","issue_events_url":"https://api.github.com/repos/eciis/web/issues/events{/number}","events_url":"https://api.github.com/repos/eciis/web/events","assignees_url":"https://api.github.com/repos/eciis/web/assignees{/user}","branches_url":"https://api.github.com/repos/eciis/web/branches{/branch}","tags_url":"https://api.github.com/repos/eciis/web/tags","blobs_url":"https://api.github.com/repos/eciis/web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eciis/web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eciis/web/git/refs{/sha}","trees_url":"https://api.github.com/repos/eciis/web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eciis/web/statuses/{sha}","languages_url":"https://api.github.com/repos/eciis/web/languages","stargazers_url":"https://api.github.com/repos/eciis/web/stargazers","contributors_url":"https://api.github.com/repos/eciis/web/contributors","subscribers_url":"https://api.github.com/repos/eciis/web/subscribers","subscription_url":"https://api.github.com/repos/eciis/web/subscription","commits_url":"https://api.github.com/repos/eciis/web/commits{/sha}","git_commits_url":"https://api.github.com/repos/eciis/web/git/commits{/sha}","comments_url":"https://api.github.com/repos/eciis/web/comments{/number}","issue_comment_url":"https://api.github.com/repos/eciis/web/issues/comments{/number}","contents_url":"https://api.github.com/repos/eciis/web/contents/{+path}","compare_url":"https://api.github.com/repos/eciis/web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eciis/web/merges","archive_url":"https://api.github.com/repos/eciis/web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eciis/web/downloads","issues_url":"https://api.github.com/repos/eciis/web/issues{/number}","pulls_url":"https://api.github.com/repos/eciis/web/pulls{/number}","milestones_url":"https://api.github.com/repos/eciis/web/milestones{/number}","notifications_url":"https://api.github.com/repos/eciis/web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eciis/web/labels{/name}","releases_url":"https://api.github.com/repos/eciis/web/releases{/id}","deployments_url":"https://api.github.com/repos/eciis/web/deployments","created_at":"2017-05-15T12:37:06Z","updated_at":"2018-07-12T18:39:47Z","pushed_at":"2018-07-12T19:38:12Z","git_url":"git://github.com/eciis/web.git","ssh_url":"git@github.com:eciis/web.git","clone_url":"https://github.com/eciis/web.git","svn_url":"https://github.com/eciis/web","homepage":"","size":9720,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":1,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eciis/web/pulls/1231"},"html":{"href":"https://github.com/eciis/web/pull/1231"},"issue":{"href":"https://api.github.com/repos/eciis/web/issues/1231"},"comments":{"href":"https://api.github.com/repos/eciis/web/issues/1231/comments"},"review_comments":{"href":"https://api.github.com/repos/eciis/web/pulls/1231/comments"},"review_comment":{"href":"https://api.github.com/repos/eciis/web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eciis/web/pulls/1231/commits"},"statuses":{"href":"https://api.github.com/repos/eciis/web/statuses/a654c101326df139e2e9c4411bd53322d5b70a1c"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mayzabeel","id":6525725,"node_id":"MDQ6VXNlcjY1MjU3MjU=","avatar_url":"https://avatars3.githubusercontent.com/u/6525725?v=4","gravatar_id":"","url":"https://api.github.com/users/mayzabeel","html_url":"https://github.com/mayzabeel","followers_url":"https://api.github.com/users/mayzabeel/followers","following_url":"https://api.github.com/users/mayzabeel/following{/other_user}","gists_url":"https://api.github.com/users/mayzabeel/gists{/gist_id}","starred_url":"https://api.github.com/users/mayzabeel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayzabeel/subscriptions","organizations_url":"https://api.github.com/users/mayzabeel/orgs","repos_url":"https://api.github.com/users/mayzabeel/repos","events_url":"https://api.github.com/users/mayzabeel/events{/privacy}","received_events_url":"https://api.github.com/users/mayzabeel/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":6,"deletions":8,"changed_files":1}}
{"actor":{"display_login":"mayzabeel"}}