{"action":"opened","number":232,"pull_request":{"url":"https://api.github.com/repos/kbase/narrative/pulls/232","id":28400298,"html_url":"https://github.com/kbase/narrative/pull/232","diff_url":"https://github.com/kbase/narrative/pull/232.diff","patch_url":"https://github.com/kbase/narrative/pull/232.patch","issue_url":"https://api.github.com/repos/kbase/narrative/issues/232","number":232,"state":"open","locked":false,"title":"Improved job error management","user":{"login":"briehl","id":2152243,"avatar_url":"https://avatars.githubusercontent.com/u/2152243?v=3","gravatar_id":"","url":"https://api.github.com/users/briehl","html_url":"https://github.com/briehl","followers_url":"https://api.github.com/users/briehl/followers","following_url":"https://api.github.com/users/briehl/following{/other_user}","gists_url":"https://api.github.com/users/briehl/gists{/gist_id}","starred_url":"https://api.github.com/users/briehl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briehl/subscriptions","organizations_url":"https://api.github.com/users/briehl/orgs","repos_url":"https://api.github.com/users/briehl/repos","events_url":"https://api.github.com/users/briehl/events{/privacy}","received_events_url":"https://api.github.com/users/briehl/received_events","type":"User","site_admin":false},"body":"Added new types of errors with more sensible ways of presenting them to the user. Now we can use:\r\n- **network_error** - happens when the job service is unavailable due to a network connectivity or other related problem. This doesn't block that job from being looked up again in the next refresh\r\n- **unauthorized_error** - hopefully this won't get used in production, but might be useful for debugging. Occurs when an unauthorized user gets reported from AWE\r\n- **not_found_error** - this can occur when AWE reports the job id not being found, or when AWE or NJS is in a state where no info is available. Most of these cases occur when a job has been deleted, so this blocks that job from being looked up again\r\n- **awe_error** - whenever AWE returns an error condition that doesn't match any of these. This is currently treated like any other error","created_at":"2015-01-30T22:54:19Z","updated_at":"2015-01-30T22:54:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kbase/narrative/pulls/232/commits","review_comments_url":"https://api.github.com/repos/kbase/narrative/pulls/232/comments","review_comment_url":"https://api.github.com/repos/kbase/narrative/pulls/comments/{number}","comments_url":"https://api.github.com/repos/kbase/narrative/issues/232/comments","statuses_url":"https://api.github.com/repos/kbase/narrative/statuses/090173a7ea1b8d1b5f7ef83fa83fbf293e5d5ca1","head":{"label":"briehl:job_panel_fixes","ref":"job_panel_fixes","sha":"090173a7ea1b8d1b5f7ef83fa83fbf293e5d5ca1","user":{"login":"briehl","id":2152243,"avatar_url":"https://avatars.githubusercontent.com/u/2152243?v=3","gravatar_id":"","url":"https://api.github.com/users/briehl","html_url":"https://github.com/briehl","followers_url":"https://api.github.com/users/briehl/followers","following_url":"https://api.github.com/users/briehl/following{/other_user}","gists_url":"https://api.github.com/users/briehl/gists{/gist_id}","starred_url":"https://api.github.com/users/briehl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briehl/subscriptions","organizations_url":"https://api.github.com/users/briehl/orgs","repos_url":"https://api.github.com/users/briehl/repos","events_url":"https://api.github.com/users/briehl/events{/privacy}","received_events_url":"https://api.github.com/users/briehl/received_events","type":"User","site_admin":false},"repo":{"id":22262489,"name":"narrative","full_name":"briehl/narrative","owner":{"login":"briehl","id":2152243,"avatar_url":"https://avatars.githubusercontent.com/u/2152243?v=3","gravatar_id":"","url":"https://api.github.com/users/briehl","html_url":"https://github.com/briehl","followers_url":"https://api.github.com/users/briehl/followers","following_url":"https://api.github.com/users/briehl/following{/other_user}","gists_url":"https://api.github.com/users/briehl/gists{/gist_id}","starred_url":"https://api.github.com/users/briehl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briehl/subscriptions","organizations_url":"https://api.github.com/users/briehl/orgs","repos_url":"https://api.github.com/users/briehl/repos","events_url":"https://api.github.com/users/briehl/events{/privacy}","received_events_url":"https://api.github.com/users/briehl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/briehl/narrative","description":null,"fork":true,"url":"https://api.github.com/repos/briehl/narrative","forks_url":"https://api.github.com/repos/briehl/narrative/forks","keys_url":"https://api.github.com/repos/briehl/narrative/keys{/key_id}","collaborators_url":"https://api.github.com/repos/briehl/narrative/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/briehl/narrative/teams","hooks_url":"https://api.github.com/repos/briehl/narrative/hooks","issue_events_url":"https://api.github.com/repos/briehl/narrative/issues/events{/number}","events_url":"https://api.github.com/repos/briehl/narrative/events","assignees_url":"https://api.github.com/repos/briehl/narrative/assignees{/user}","branches_url":"https://api.github.com/repos/briehl/narrative/branches{/branch}","tags_url":"https://api.github.com/repos/briehl/narrative/tags","blobs_url":"https://api.github.com/repos/briehl/narrative/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/briehl/narrative/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/briehl/narrative/git/refs{/sha}","trees_url":"https://api.github.com/repos/briehl/narrative/git/trees{/sha}","statuses_url":"https://api.github.com/repos/briehl/narrative/statuses/{sha}","languages_url":"https://api.github.com/repos/briehl/narrative/languages","stargazers_url":"https://api.github.com/repos/briehl/narrative/stargazers","contributors_url":"https://api.github.com/repos/briehl/narrative/contributors","subscribers_url":"https://api.github.com/repos/briehl/narrative/subscribers","subscription_url":"https://api.github.com/repos/briehl/narrative/subscription","commits_url":"https://api.github.com/repos/briehl/narrative/commits{/sha}","git_commits_url":"https://api.github.com/repos/briehl/narrative/git/commits{/sha}","comments_url":"https://api.github.com/repos/briehl/narrative/comments{/number}","issue_comment_url":"https://api.github.com/repos/briehl/narrative/issues/comments/{number}","contents_url":"https://api.github.com/repos/briehl/narrative/contents/{+path}","compare_url":"https://api.github.com/repos/briehl/narrative/compare/{base}...{head}","merges_url":"https://api.github.com/repos/briehl/narrative/merges","archive_url":"https://api.github.com/repos/briehl/narrative/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/briehl/narrative/downloads","issues_url":"https://api.github.com/repos/briehl/narrative/issues{/number}","pulls_url":"https://api.github.com/repos/briehl/narrative/pulls{/number}","milestones_url":"https://api.github.com/repos/briehl/narrative/milestones{/number}","notifications_url":"https://api.github.com/repos/briehl/narrative/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/briehl/narrative/labels{/name}","releases_url":"https://api.github.com/repos/briehl/narrative/releases{/id}","created_at":"2014-07-25T15:58:23Z","updated_at":"2014-07-25T21:20:57Z","pushed_at":"2015-01-30T22:54:06Z","git_url":"git://github.com/briehl/narrative.git","ssh_url":"git@github.com:briehl/narrative.git","clone_url":"https://github.com/briehl/narrative.git","svn_url":"https://github.com/briehl/narrative","homepage":null,"size":37333,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"kbase:develop","ref":"develop","sha":"ce296bc8497a8df0ec9801cdd4ea26deb09c5432","user":{"login":"kbase","id":1263946,"avatar_url":"https://avatars.githubusercontent.com/u/1263946?v=3","gravatar_id":"","url":"https://api.github.com/users/kbase","html_url":"https://github.com/kbase","followers_url":"https://api.github.com/users/kbase/followers","following_url":"https://api.github.com/users/kbase/following{/other_user}","gists_url":"https://api.github.com/users/kbase/gists{/gist_id}","starred_url":"https://api.github.com/users/kbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbase/subscriptions","organizations_url":"https://api.github.com/users/kbase/orgs","repos_url":"https://api.github.com/users/kbase/repos","events_url":"https://api.github.com/users/kbase/events{/privacy}","received_events_url":"https://api.github.com/users/kbase/received_events","type":"Organization","site_admin":false},"repo":{"id":20769520,"name":"narrative","full_name":"kbase/narrative","owner":{"login":"kbase","id":1263946,"avatar_url":"https://avatars.githubusercontent.com/u/1263946?v=3","gravatar_id":"","url":"https://api.github.com/users/kbase","html_url":"https://github.com/kbase","followers_url":"https://api.github.com/users/kbase/followers","following_url":"https://api.github.com/users/kbase/following{/other_user}","gists_url":"https://api.github.com/users/kbase/gists{/gist_id}","starred_url":"https://api.github.com/users/kbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbase/subscriptions","organizations_url":"https://api.github.com/users/kbase/orgs","repos_url":"https://api.github.com/users/kbase/repos","events_url":"https://api.github.com/users/kbase/events{/privacy}","received_events_url":"https://api.github.com/users/kbase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kbase/narrative","description":null,"fork":false,"url":"https://api.github.com/repos/kbase/narrative","forks_url":"https://api.github.com/repos/kbase/narrative/forks","keys_url":"https://api.github.com/repos/kbase/narrative/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kbase/narrative/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kbase/narrative/teams","hooks_url":"https://api.github.com/repos/kbase/narrative/hooks","issue_events_url":"https://api.github.com/repos/kbase/narrative/issues/events{/number}","events_url":"https://api.github.com/repos/kbase/narrative/events","assignees_url":"https://api.github.com/repos/kbase/narrative/assignees{/user}","branches_url":"https://api.github.com/repos/kbase/narrative/branches{/branch}","tags_url":"https://api.github.com/repos/kbase/narrative/tags","blobs_url":"https://api.github.com/repos/kbase/narrative/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kbase/narrative/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kbase/narrative/git/refs{/sha}","trees_url":"https://api.github.com/repos/kbase/narrative/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kbase/narrative/statuses/{sha}","languages_url":"https://api.github.com/repos/kbase/narrative/languages","stargazers_url":"https://api.github.com/repos/kbase/narrative/stargazers","contributors_url":"https://api.github.com/repos/kbase/narrative/contributors","subscribers_url":"https://api.github.com/repos/kbase/narrative/subscribers","subscription_url":"https://api.github.com/repos/kbase/narrative/subscription","commits_url":"https://api.github.com/repos/kbase/narrative/commits{/sha}","git_commits_url":"https://api.github.com/repos/kbase/narrative/git/commits{/sha}","comments_url":"https://api.github.com/repos/kbase/narrative/comments{/number}","issue_comment_url":"https://api.github.com/repos/kbase/narrative/issues/comments/{number}","contents_url":"https://api.github.com/repos/kbase/narrative/contents/{+path}","compare_url":"https://api.github.com/repos/kbase/narrative/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kbase/narrative/merges","archive_url":"https://api.github.com/repos/kbase/narrative/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kbase/narrative/downloads","issues_url":"https://api.github.com/repos/kbase/narrative/issues{/number}","pulls_url":"https://api.github.com/repos/kbase/narrative/pulls{/number}","milestones_url":"https://api.github.com/repos/kbase/narrative/milestones{/number}","notifications_url":"https://api.github.com/repos/kbase/narrative/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kbase/narrative/labels{/name}","releases_url":"https://api.github.com/repos/kbase/narrative/releases{/id}","created_at":"2014-06-12T14:06:05Z","updated_at":"2015-01-09T08:14:22Z","pushed_at":"2015-01-30T22:10:35Z","git_url":"git://github.com/kbase/narrative.git","ssh_url":"git@github.com:kbase/narrative.git","clone_url":"https://github.com/kbase/narrative.git","svn_url":"https://github.com/kbase/narrative","homepage":null,"size":47393,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":29,"forks":15,"open_issues":29,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kbase/narrative/pulls/232"},"html":{"href":"https://github.com/kbase/narrative/pull/232"},"issue":{"href":"https://api.github.com/repos/kbase/narrative/issues/232"},"comments":{"href":"https://api.github.com/repos/kbase/narrative/issues/232/comments"},"review_comments":{"href":"https://api.github.com/repos/kbase/narrative/pulls/232/comments"},"review_comment":{"href":"https://api.github.com/repos/kbase/narrative/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/kbase/narrative/pulls/232/commits"},"statuses":{"href":"https://api.github.com/repos/kbase/narrative/statuses/090173a7ea1b8d1b5f7ef83fa83fbf293e5d5ca1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":44,"deletions":17,"changed_files":2}}