{"action":"created","issue":{"url":"https://api.github.com/repos/rainforestapp/queue_classic_plus/issues/15","repository_url":"https://api.github.com/repos/rainforestapp/queue_classic_plus","labels_url":"https://api.github.com/repos/rainforestapp/queue_classic_plus/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/rainforestapp/queue_classic_plus/issues/15/comments","events_url":"https://api.github.com/repos/rainforestapp/queue_classic_plus/issues/15/events","html_url":"https://github.com/rainforestapp/queue_classic_plus/pull/15","id":147057363,"number":15,"title":"Rollback before re-enqueueing on failure","user":{"login":"shosti","id":734316,"avatar_url":"https://avatars.githubusercontent.com/u/734316?v=3","gravatar_id":"","url":"https://api.github.com/users/shosti","html_url":"https://github.com/shosti","followers_url":"https://api.github.com/users/shosti/followers","following_url":"https://api.github.com/users/shosti/following{/other_user}","gists_url":"https://api.github.com/users/shosti/gists{/gist_id}","starred_url":"https://api.github.com/users/shosti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shosti/subscriptions","organizations_url":"https://api.github.com/users/shosti/orgs","repos_url":"https://api.github.com/users/shosti/repos","events_url":"https://api.github.com/users/shosti/events{/privacy}","received_events_url":"https://api.github.com/users/shosti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-08T22:41:43Z","updated_at":"2016-04-08T23:13:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rainforestapp/queue_classic_plus/pulls/15","html_url":"https://github.com/rainforestapp/queue_classic_plus/pull/15","diff_url":"https://github.com/rainforestapp/queue_classic_plus/pull/15.diff","patch_url":"https://github.com/rainforestapp/queue_classic_plus/pull/15.patch"},"body":"This resolves an issue that only pops up when using ActiveRecord:\nsometimes the re-enqueue will result in a `PG::InFailedSqlTransaction`\nerror. Unfortunately, none of the current tests use ActiveRecord so this\nisn't testable without a big refactor 😞.\n\n@rainforestapp/core @ukd1"},"comment":{"url":"https://api.github.com/repos/rainforestapp/queue_classic_plus/issues/comments/207643238","html_url":"https://github.com/rainforestapp/queue_classic_plus/pull/15#issuecomment-207643238","issue_url":"https://api.github.com/repos/rainforestapp/queue_classic_plus/issues/15","id":207643238,"user":{"login":"epaulet","id":9178278,"avatar_url":"https://avatars.githubusercontent.com/u/9178278?v=3","gravatar_id":"","url":"https://api.github.com/users/epaulet","html_url":"https://github.com/epaulet","followers_url":"https://api.github.com/users/epaulet/followers","following_url":"https://api.github.com/users/epaulet/following{/other_user}","gists_url":"https://api.github.com/users/epaulet/gists{/gist_id}","starred_url":"https://api.github.com/users/epaulet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epaulet/subscriptions","organizations_url":"https://api.github.com/users/epaulet/orgs","repos_url":"https://api.github.com/users/epaulet/repos","events_url":"https://api.github.com/users/epaulet/events{/privacy}","received_events_url":"https://api.github.com/users/epaulet/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T23:13:27Z","updated_at":"2016-04-08T23:13:27Z","body":":+1:"}}