{"action":"created","issue":{"url":"https://api.github.com/repos/harvard-lil/perma/issues/2349","repository_url":"https://api.github.com/repos/harvard-lil/perma","labels_url":"https://api.github.com/repos/harvard-lil/perma/issues/2349/labels{/name}","comments_url":"https://api.github.com/repos/harvard-lil/perma/issues/2349/comments","events_url":"https://api.github.com/repos/harvard-lil/perma/issues/2349/events","html_url":"https://github.com/harvard-lil/perma/pull/2349","id":322349158,"number":2349,"title":"Store created_by on CaptureJob...","user":{"login":"rebeccacremona","id":11020492,"avatar_url":"https://avatars2.githubusercontent.com/u/11020492?v=4","gravatar_id":"","url":"https://api.github.com/users/rebeccacremona","html_url":"https://github.com/rebeccacremona","followers_url":"https://api.github.com/users/rebeccacremona/followers","following_url":"https://api.github.com/users/rebeccacremona/following{/other_user}","gists_url":"https://api.github.com/users/rebeccacremona/gists{/gist_id}","starred_url":"https://api.github.com/users/rebeccacremona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebeccacremona/subscriptions","organizations_url":"https://api.github.com/users/rebeccacremona/orgs","repos_url":"https://api.github.com/users/rebeccacremona/repos","events_url":"https://api.github.com/users/rebeccacremona/events{/privacy}","received_events_url":"https://api.github.com/users/rebeccacremona/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-11T15:58:47Z","updated_at":"2018-05-11T17:26:22Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/harvard-lil/perma/pulls/2349","html_url":"https://github.com/harvard-lil/perma/pull/2349","diff_url":"https://github.com/harvard-lil/perma/pull/2349.diff","patch_url":"https://github.com/harvard-lil/perma/pull/2349.patch"},"body":"... and don't assume capture jobs have links when assigning order.\r\n\r\nThis should fix a bug I introduced in https://github.com/harvard-lil/perma/commit/d1a01052a3653baa125af4a388bc9c002de8728b, where I arranged for every attempt to make a Perma Link to create a Capture Job. If a user with a pending capture job tried to create another one, it would have caused an Internal Server Error. Since we didn't get any emails, I think this never happened. It was exposed when testing the new Link Batch feature, which creates Perma Link requests much faster than people do.\r\n\r\nThis PR also tweaks the utility function for dispatching multiple requests so that it doesn't swallow errors as completely. \r\n\r\nI haven't figured out yet how we want to expose Internal Server errors to users if they occur during the Link Batch creation process.\r\n\r\nThis PR includes a peculiar data migration: I'd super appreciate a careful look at it. "},"comment":{"url":"https://api.github.com/repos/harvard-lil/perma/issues/comments/388430426","html_url":"https://github.com/harvard-lil/perma/pull/2349#issuecomment-388430426","issue_url":"https://api.github.com/repos/harvard-lil/perma/issues/2349","id":388430426,"user":{"login":"rebeccacremona","id":11020492,"avatar_url":"https://avatars2.githubusercontent.com/u/11020492?v=4","gravatar_id":"","url":"https://api.github.com/users/rebeccacremona","html_url":"https://github.com/rebeccacremona","followers_url":"https://api.github.com/users/rebeccacremona/followers","following_url":"https://api.github.com/users/rebeccacremona/following{/other_user}","gists_url":"https://api.github.com/users/rebeccacremona/gists{/gist_id}","starred_url":"https://api.github.com/users/rebeccacremona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebeccacremona/subscriptions","organizations_url":"https://api.github.com/users/rebeccacremona/orgs","repos_url":"https://api.github.com/users/rebeccacremona/repos","events_url":"https://api.github.com/users/rebeccacremona/events{/privacy}","received_events_url":"https://api.github.com/users/rebeccacremona/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T17:26:22Z","updated_at":"2018-05-11T17:26:22Z","author_association":"CONTRIBUTOR","body":"Fixed and rebased."}}
{"actor":{"display_login":"rebeccacremona"}}