{"action":"created","comment":{"url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls/comments/28816965","id":28816965,"diff_hunk":"@@ -78,6 +89,8 @@ def testGetCandidatesYesMemcache(self):\n         self.testbed = testbed.Testbed()\n         self.testbed.activate()\n         self.testbed.init_memcache_stub()\n+        _apply_namespace_bug_workaround()","path":"server/mlabns/tests/test_resolver.py","position":29,"original_position":29,"commit_id":"d820d02a14613722761013762e8f024e696fc655","original_commit_id":"d820d02a14613722761013762e8f024e696fc655","user":{"login":"yachang","id":8365769,"avatar_url":"https://avatars.githubusercontent.com/u/8365769?v=3","gravatar_id":"","url":"https://api.github.com/users/yachang","html_url":"https://github.com/yachang","followers_url":"https://api.github.com/users/yachang/followers","following_url":"https://api.github.com/users/yachang/following{/other_user}","gists_url":"https://api.github.com/users/yachang/gists{/gist_id}","starred_url":"https://api.github.com/users/yachang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yachang/subscriptions","organizations_url":"https://api.github.com/users/yachang/orgs","repos_url":"https://api.github.com/users/yachang/repos","events_url":"https://api.github.com/users/yachang/events{/privacy}","received_events_url":"https://api.github.com/users/yachang/received_events","type":"User","site_admin":false},"body":"LGTM","created_at":"2015-04-21T20:09:43Z","updated_at":"2015-04-21T20:09:43Z","html_url":"https://github.com/mtlynch/mlab-ns-staging/pull/1#discussion_r28816965","pull_request_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls/comments/28816965"},"html":{"href":"https://github.com/mtlynch/mlab-ns-staging/pull/1#discussion_r28816965"},"pull_request":{"href":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls/1","id":33783778,"html_url":"https://github.com/mtlynch/mlab-ns-staging/pull/1","diff_url":"https://github.com/mtlynch/mlab-ns-staging/pull/1.diff","patch_url":"https://github.com/mtlynch/mlab-ns-staging/pull/1.patch","issue_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/issues/1","number":1,"state":"open","locked":false,"title":"Fixing namespace issues in test_resolver","user":{"login":"mtlynch","id":7783288,"avatar_url":"https://avatars.githubusercontent.com/u/7783288?v=3","gravatar_id":"","url":"https://api.github.com/users/mtlynch","html_url":"https://github.com/mtlynch","followers_url":"https://api.github.com/users/mtlynch/followers","following_url":"https://api.github.com/users/mtlynch/following{/other_user}","gists_url":"https://api.github.com/users/mtlynch/gists{/gist_id}","starred_url":"https://api.github.com/users/mtlynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtlynch/subscriptions","organizations_url":"https://api.github.com/users/mtlynch/orgs","repos_url":"https://api.github.com/users/mtlynch/repos","events_url":"https://api.github.com/users/mtlynch/events{/privacy}","received_events_url":"https://api.github.com/users/mtlynch/received_events","type":"User","site_admin":false},"body":"This fixes a bug that was causing unit tests to fail because the namespace was in an inconsistent state when tests ran, so the test stubs would pull from the wrong datastore namespace. There is still a bug here, as this workaround should not be necessary, but this is an acceptable workaround for the time being.","created_at":"2015-04-21T17:22:41Z","updated_at":"2015-04-21T20:09:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84318ff1b77f572e4282ad6cee1dcb9479f52902","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/issues/1/comments","statuses_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/statuses/d820d02a14613722761013762e8f024e696fc655","head":{"label":"mtlynch:namespace-fix","ref":"namespace-fix","sha":"d820d02a14613722761013762e8f024e696fc655","user":{"login":"mtlynch","id":7783288,"avatar_url":"https://avatars.githubusercontent.com/u/7783288?v=3","gravatar_id":"","url":"https://api.github.com/users/mtlynch","html_url":"https://github.com/mtlynch","followers_url":"https://api.github.com/users/mtlynch/followers","following_url":"https://api.github.com/users/mtlynch/following{/other_user}","gists_url":"https://api.github.com/users/mtlynch/gists{/gist_id}","starred_url":"https://api.github.com/users/mtlynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtlynch/subscriptions","organizations_url":"https://api.github.com/users/mtlynch/orgs","repos_url":"https://api.github.com/users/mtlynch/repos","events_url":"https://api.github.com/users/mtlynch/events{/privacy}","received_events_url":"https://api.github.com/users/mtlynch/received_events","type":"User","site_admin":false},"repo":{"id":34268803,"name":"mlab-ns-staging","full_name":"mtlynch/mlab-ns-staging","owner":{"login":"mtlynch","id":7783288,"avatar_url":"https://avatars.githubusercontent.com/u/7783288?v=3","gravatar_id":"","url":"https://api.github.com/users/mtlynch","html_url":"https://github.com/mtlynch","followers_url":"https://api.github.com/users/mtlynch/followers","following_url":"https://api.github.com/users/mtlynch/following{/other_user}","gists_url":"https://api.github.com/users/mtlynch/gists{/gist_id}","starred_url":"https://api.github.com/users/mtlynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtlynch/subscriptions","organizations_url":"https://api.github.com/users/mtlynch/orgs","repos_url":"https://api.github.com/users/mtlynch/repos","events_url":"https://api.github.com/users/mtlynch/events{/privacy}","received_events_url":"https://api.github.com/users/mtlynch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtlynch/mlab-ns-staging","description":"","fork":false,"url":"https://api.github.com/repos/mtlynch/mlab-ns-staging","forks_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/forks","keys_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/teams","hooks_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/hooks","issue_events_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/issues/events{/number}","events_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/events","assignees_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/assignees{/user}","branches_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/branches{/branch}","tags_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/tags","blobs_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/statuses/{sha}","languages_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/languages","stargazers_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/stargazers","contributors_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/contributors","subscribers_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/subscribers","subscription_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/subscription","commits_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/contents/{+path}","compare_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/merges","archive_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/downloads","issues_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/issues{/number}","pulls_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls{/number}","milestones_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/milestones{/number}","notifications_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/labels{/name}","releases_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/releases{/id}","created_at":"2015-04-20T15:28:25Z","updated_at":"2015-04-21T19:59:50Z","pushed_at":"2015-04-21T20:00:00Z","git_url":"git://github.com/mtlynch/mlab-ns-staging.git","ssh_url":"git@github.com:mtlynch/mlab-ns-staging.git","clone_url":"https://github.com/mtlynch/mlab-ns-staging.git","svn_url":"https://github.com/mtlynch/mlab-ns-staging","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mtlynch:master","ref":"master","sha":"14349c10d6b7ca71c6a652d0a6f5a698047bd282","user":{"login":"mtlynch","id":7783288,"avatar_url":"https://avatars.githubusercontent.com/u/7783288?v=3","gravatar_id":"","url":"https://api.github.com/users/mtlynch","html_url":"https://github.com/mtlynch","followers_url":"https://api.github.com/users/mtlynch/followers","following_url":"https://api.github.com/users/mtlynch/following{/other_user}","gists_url":"https://api.github.com/users/mtlynch/gists{/gist_id}","starred_url":"https://api.github.com/users/mtlynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtlynch/subscriptions","organizations_url":"https://api.github.com/users/mtlynch/orgs","repos_url":"https://api.github.com/users/mtlynch/repos","events_url":"https://api.github.com/users/mtlynch/events{/privacy}","received_events_url":"https://api.github.com/users/mtlynch/received_events","type":"User","site_admin":false},"repo":{"id":34268803,"name":"mlab-ns-staging","full_name":"mtlynch/mlab-ns-staging","owner":{"login":"mtlynch","id":7783288,"avatar_url":"https://avatars.githubusercontent.com/u/7783288?v=3","gravatar_id":"","url":"https://api.github.com/users/mtlynch","html_url":"https://github.com/mtlynch","followers_url":"https://api.github.com/users/mtlynch/followers","following_url":"https://api.github.com/users/mtlynch/following{/other_user}","gists_url":"https://api.github.com/users/mtlynch/gists{/gist_id}","starred_url":"https://api.github.com/users/mtlynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtlynch/subscriptions","organizations_url":"https://api.github.com/users/mtlynch/orgs","repos_url":"https://api.github.com/users/mtlynch/repos","events_url":"https://api.github.com/users/mtlynch/events{/privacy}","received_events_url":"https://api.github.com/users/mtlynch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtlynch/mlab-ns-staging","description":"","fork":false,"url":"https://api.github.com/repos/mtlynch/mlab-ns-staging","forks_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/forks","keys_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/teams","hooks_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/hooks","issue_events_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/issues/events{/number}","events_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/events","assignees_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/assignees{/user}","branches_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/branches{/branch}","tags_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/tags","blobs_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/statuses/{sha}","languages_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/languages","stargazers_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/stargazers","contributors_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/contributors","subscribers_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/subscribers","subscription_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/subscription","commits_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/contents/{+path}","compare_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/merges","archive_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/downloads","issues_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/issues{/number}","pulls_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls{/number}","milestones_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/milestones{/number}","notifications_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/labels{/name}","releases_url":"https://api.github.com/repos/mtlynch/mlab-ns-staging/releases{/id}","created_at":"2015-04-20T15:28:25Z","updated_at":"2015-04-21T19:59:50Z","pushed_at":"2015-04-21T20:00:00Z","git_url":"git://github.com/mtlynch/mlab-ns-staging.git","ssh_url":"git@github.com:mtlynch/mlab-ns-staging.git","clone_url":"https://github.com/mtlynch/mlab-ns-staging.git","svn_url":"https://github.com/mtlynch/mlab-ns-staging","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls/1"},"html":{"href":"https://github.com/mtlynch/mlab-ns-staging/pull/1"},"issue":{"href":"https://api.github.com/repos/mtlynch/mlab-ns-staging/issues/1"},"comments":{"href":"https://api.github.com/repos/mtlynch/mlab-ns-staging/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mtlynch/mlab-ns-staging/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mtlynch/mlab-ns-staging/statuses/d820d02a14613722761013762e8f024e696fc655"}}}}