{"action":"closed","number":473,"pull_request":{"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/pulls/473","id":211761986,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExNzYxOTg2","html_url":"https://github.com/Azure/azure-webjobs-sdk-extensions/pull/473","diff_url":"https://github.com/Azure/azure-webjobs-sdk-extensions/pull/473.diff","patch_url":"https://github.com/Azure/azure-webjobs-sdk-extensions/pull/473.patch","issue_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/issues/473","number":473,"state":"closed","locked":false,"title":"[CosmosDb] fixing trigger retry behavior","user":{"login":"brettsam","id":1089915,"node_id":"MDQ6VXNlcjEwODk5MTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1089915?v=4","gravatar_id":"","url":"https://api.github.com/users/brettsam","html_url":"https://github.com/brettsam","followers_url":"https://api.github.com/users/brettsam/followers","following_url":"https://api.github.com/users/brettsam/following{/other_user}","gists_url":"https://api.github.com/users/brettsam/gists{/gist_id}","starred_url":"https://api.github.com/users/brettsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettsam/subscriptions","organizations_url":"https://api.github.com/users/brettsam/orgs","repos_url":"https://api.github.com/users/brettsam/repos","events_url":"https://api.github.com/users/brettsam/events{/privacy}","received_events_url":"https://api.github.com/users/brettsam/received_events","type":"User","site_admin":false},"body":"Doing some unrelated testing and realized that we weren't re-setting the value here to `NotRegistered` if there was an exception. That meant the retry never succeeded. Also added a test and improved the status error to be more precise.","created_at":"2018-08-29T13:53:38Z","updated_at":"2018-08-29T21:53:36Z","closed_at":"2018-08-29T21:53:36Z","merged_at":"2018-08-29T21:53:36Z","merge_commit_sha":"86e1c9143bb2d4634c648c65408fd3192961a16f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/pulls/473/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/pulls/473/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/issues/473/comments","statuses_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/statuses/8cbd37a02550b380742615a12ae16e3f284c7198","head":{"label":"brettsam:cosmosfix","ref":"cosmosfix","sha":"8cbd37a02550b380742615a12ae16e3f284c7198","user":{"login":"brettsam","id":1089915,"node_id":"MDQ6VXNlcjEwODk5MTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1089915?v=4","gravatar_id":"","url":"https://api.github.com/users/brettsam","html_url":"https://github.com/brettsam","followers_url":"https://api.github.com/users/brettsam/followers","following_url":"https://api.github.com/users/brettsam/following{/other_user}","gists_url":"https://api.github.com/users/brettsam/gists{/gist_id}","starred_url":"https://api.github.com/users/brettsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettsam/subscriptions","organizations_url":"https://api.github.com/users/brettsam/orgs","repos_url":"https://api.github.com/users/brettsam/repos","events_url":"https://api.github.com/users/brettsam/events{/privacy}","received_events_url":"https://api.github.com/users/brettsam/received_events","type":"User","site_admin":false},"repo":{"id":52908361,"node_id":"MDEwOlJlcG9zaXRvcnk1MjkwODM2MQ==","name":"azure-webjobs-sdk-extensions","full_name":"brettsam/azure-webjobs-sdk-extensions","owner":{"login":"brettsam","id":1089915,"node_id":"MDQ6VXNlcjEwODk5MTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1089915?v=4","gravatar_id":"","url":"https://api.github.com/users/brettsam","html_url":"https://github.com/brettsam","followers_url":"https://api.github.com/users/brettsam/followers","following_url":"https://api.github.com/users/brettsam/following{/other_user}","gists_url":"https://api.github.com/users/brettsam/gists{/gist_id}","starred_url":"https://api.github.com/users/brettsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettsam/subscriptions","organizations_url":"https://api.github.com/users/brettsam/orgs","repos_url":"https://api.github.com/users/brettsam/repos","events_url":"https://api.github.com/users/brettsam/events{/privacy}","received_events_url":"https://api.github.com/users/brettsam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brettsam/azure-webjobs-sdk-extensions","description":"Azure WebJobs SDK Extensions","fork":true,"url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions","forks_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/forks","keys_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/teams","hooks_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/hooks","issue_events_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/events","assignees_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/tags","blobs_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/languages","stargazers_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/stargazers","contributors_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/contributors","subscribers_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/subscribers","subscription_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/subscription","commits_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/merges","archive_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/downloads","issues_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/labels{/name}","releases_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/releases{/id}","deployments_url":"https://api.github.com/repos/brettsam/azure-webjobs-sdk-extensions/deployments","created_at":"2016-03-01T20:41:38Z","updated_at":"2016-03-01T20:41:39Z","pushed_at":"2018-08-29T13:53:21Z","git_url":"git://github.com/brettsam/azure-webjobs-sdk-extensions.git","ssh_url":"git@github.com:brettsam/azure-webjobs-sdk-extensions.git","clone_url":"https://github.com/brettsam/azure-webjobs-sdk-extensions.git","svn_url":"https://github.com/brettsam/azure-webjobs-sdk-extensions","homepage":"","size":2234,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"Azure:dev","ref":"dev","sha":"956b101a3417b21bbb46bdbe77f94c9547531fc7","user":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":36027231,"node_id":"MDEwOlJlcG9zaXRvcnkzNjAyNzIzMQ==","name":"azure-webjobs-sdk-extensions","full_name":"Azure/azure-webjobs-sdk-extensions","owner":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-webjobs-sdk-extensions","description":"Azure WebJobs SDK Extensions","fork":false,"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions","forks_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/forks","keys_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/teams","hooks_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/events","assignees_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/tags","blobs_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/subscription","commits_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/merges","archive_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/downloads","issues_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/deployments","created_at":"2015-05-21T17:28:25Z","updated_at":"2018-08-27T22:12:56Z","pushed_at":"2018-08-29T21:53:36Z","git_url":"git://github.com/Azure/azure-webjobs-sdk-extensions.git","ssh_url":"git@github.com:Azure/azure-webjobs-sdk-extensions.git","clone_url":"https://github.com/Azure/azure-webjobs-sdk-extensions.git","svn_url":"https://github.com/Azure/azure-webjobs-sdk-extensions","homepage":"","size":3247,"stargazers_count":177,"watchers_count":177,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":115,"mirror_url":null,"archived":false,"open_issues_count":69,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":115,"open_issues":69,"watchers":177,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/pulls/473"},"html":{"href":"https://github.com/Azure/azure-webjobs-sdk-extensions/pull/473"},"issue":{"href":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/issues/473"},"comments":{"href":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/issues/473/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/pulls/473/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/pulls/473/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-webjobs-sdk-extensions/statuses/8cbd37a02550b380742615a12ae16e3f284c7198"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"brettsam","id":1089915,"node_id":"MDQ6VXNlcjEwODk5MTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1089915?v=4","gravatar_id":"","url":"https://api.github.com/users/brettsam","html_url":"https://github.com/brettsam","followers_url":"https://api.github.com/users/brettsam/followers","following_url":"https://api.github.com/users/brettsam/following{/other_user}","gists_url":"https://api.github.com/users/brettsam/gists{/gist_id}","starred_url":"https://api.github.com/users/brettsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettsam/subscriptions","organizations_url":"https://api.github.com/users/brettsam/orgs","repos_url":"https://api.github.com/users/brettsam/repos","events_url":"https://api.github.com/users/brettsam/events{/privacy}","received_events_url":"https://api.github.com/users/brettsam/received_events","type":"User","site_admin":false},"comments":0,"review_comments":4,"maintainer_can_modify":false,"commits":1,"additions":94,"deletions":12,"changed_files":2}}
{"actor":{"display_login":"brettsam"}}