{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/10613","repository_url":"https://api.github.com/repos/CartoDB/cartodb","labels_url":"https://api.github.com/repos/CartoDB/cartodb/issues/10613/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb/issues/10613/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb/issues/10613/events","html_url":"https://github.com/CartoDB/cartodb/issues/10613","id":187942701,"node_id":"MDU6SXNzdWUxODc5NDI3MDE=","number":10613,"title":"Import stuck in pending state if resque dies at the beginning","user":{"login":"rafatower","id":1914276,"node_id":"MDQ6VXNlcjE5MTQyNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1914276?v=4","gravatar_id":"","url":"https://api.github.com/users/rafatower","html_url":"https://github.com/rafatower","followers_url":"https://api.github.com/users/rafatower/followers","following_url":"https://api.github.com/users/rafatower/following{/other_user}","gists_url":"https://api.github.com/users/rafatower/gists{/gist_id}","starred_url":"https://api.github.com/users/rafatower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafatower/subscriptions","organizations_url":"https://api.github.com/users/rafatower/orgs","repos_url":"https://api.github.com/users/rafatower/repos","events_url":"https://api.github.com/users/rafatower/events{/privacy}","received_events_url":"https://api.github.com/users/rafatower/received_events","type":"User","site_admin":false},"labels":[{"id":262013090,"node_id":"MDU6TGFiZWwyNjIwMTMwOTA=","url":"https://api.github.com/repos/CartoDB/cartodb/labels/Data-services","name":"Data-services","color":"fef2c0","default":false},{"id":8530709,"node_id":"MDU6TGFiZWw4NTMwNzA5","url":"https://api.github.com/repos/CartoDB/cartodb/labels/bug","name":"bug","color":"fc2929","default":true},{"id":31896340,"node_id":"MDU6TGFiZWwzMTg5NjM0MA==","url":"https://api.github.com/repos/CartoDB/cartodb/labels/importer","name":"importer","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":{"login":"rafatower","id":1914276,"node_id":"MDQ6VXNlcjE5MTQyNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1914276?v=4","gravatar_id":"","url":"https://api.github.com/users/rafatower","html_url":"https://github.com/rafatower","followers_url":"https://api.github.com/users/rafatower/followers","following_url":"https://api.github.com/users/rafatower/following{/other_user}","gists_url":"https://api.github.com/users/rafatower/gists{/gist_id}","starred_url":"https://api.github.com/users/rafatower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafatower/subscriptions","organizations_url":"https://api.github.com/users/rafatower/orgs","repos_url":"https://api.github.com/users/rafatower/repos","events_url":"https://api.github.com/users/rafatower/events{/privacy}","received_events_url":"https://api.github.com/users/rafatower/received_events","type":"User","site_admin":false},"assignees":[{"login":"rafatower","id":1914276,"node_id":"MDQ6VXNlcjE5MTQyNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1914276?v=4","gravatar_id":"","url":"https://api.github.com/users/rafatower","html_url":"https://github.com/rafatower","followers_url":"https://api.github.com/users/rafatower/followers","following_url":"https://api.github.com/users/rafatower/following{/other_user}","gists_url":"https://api.github.com/users/rafatower/gists{/gist_id}","starred_url":"https://api.github.com/users/rafatower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafatower/subscriptions","organizations_url":"https://api.github.com/users/rafatower/orgs","repos_url":"https://api.github.com/users/rafatower/repos","events_url":"https://api.github.com/users/rafatower/events{/privacy}","received_events_url":"https://api.github.com/users/rafatower/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-11-08T09:35:27Z","updated_at":"2018-07-27T11:35:15Z","closed_at":null,"author_association":"MEMBER","body":"### Context\r\nRunning smoke tests in a flaky server\r\n \r\n\r\n### Steps to Reproduce\r\n1. Instrument the code to make resque fail when it takes the job. I think it can be done around these lines (but haven't tried it): https://github.com/CartoDB/cartodb/blob/3ea0309cb09d020c43272631c220bc66027d2019/app/models/data_import.rb#L181\r\n2. Import a layer from the Builder UI\r\n\r\n### Current Result\r\n- The import gets stuck in `pending` state.\r\n- The UI doesn't stop polling for the state (you can open the network console of the browser and check the requests to get the UI)\r\n\r\n\r\n### Expected result\r\nEither the import finishes or it is marked as failed.\r\n\r\n### Browser and version\r\nAny \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/comments/408393003","html_url":"https://github.com/CartoDB/cartodb/issues/10613#issuecomment-408393003","issue_url":"https://api.github.com/repos/CartoDB/cartodb/issues/10613","id":408393003,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODM5MzAwMw==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-07-27T11:35:15Z","updated_at":"2018-07-27T11:35:15Z","author_association":"NONE","body":"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"}}
{"actor":{"display_login":"stale"}}