{"action":"created","issue":{"url":"https://api.github.com/repos/mperham/sidekiq/issues/2414","labels_url":"https://api.github.com/repos/mperham/sidekiq/issues/2414/labels{/name}","comments_url":"https://api.github.com/repos/mperham/sidekiq/issues/2414/comments","events_url":"https://api.github.com/repos/mperham/sidekiq/issues/2414/events","html_url":"https://github.com/mperham/sidekiq/issues/2414","id":92128876,"number":2414,"title":"enqueued_at not being set for scheduled jobs","user":{"login":"mrsimo","id":19203,"avatar_url":"https://avatars.githubusercontent.com/u/19203?v=3","gravatar_id":"","url":"https://api.github.com/users/mrsimo","html_url":"https://github.com/mrsimo","followers_url":"https://api.github.com/users/mrsimo/followers","following_url":"https://api.github.com/users/mrsimo/following{/other_user}","gists_url":"https://api.github.com/users/mrsimo/gists{/gist_id}","starred_url":"https://api.github.com/users/mrsimo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrsimo/subscriptions","organizations_url":"https://api.github.com/users/mrsimo/orgs","repos_url":"https://api.github.com/users/mrsimo/repos","events_url":"https://api.github.com/users/mrsimo/events{/privacy}","received_events_url":"https://api.github.com/users/mrsimo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-30T15:47:14Z","updated_at":"2015-07-01T07:33:15Z","closed_at":"2015-06-30T18:27:04Z","body":"Hi there,\r\n\r\nI think I introduced a bug myself with https://github.com/mperham/sidekiq/pull/2376. I got this job from running:\r\n\r\n```ruby\r\nSidekiq.redis { |conn| conn.lrange(\"queue:low\", -1, -1) }.first\r\n```\r\n\r\nAnd parsing it. The result is a job without an `enqueued_at`:\r\n\r\n```\r\n{\"class\"=>\"WarnAboutRunawayTimerWorker\", \"args\"=>[347627860], \"retry\"=>0, \"queue\"=>\"low\", \"jid\"=>\"0fe612fb2190090a88b011d5\", \"created_at\"=>1435642577.071437}\r\n```\r\n\r\nThe `enqueued_at` is being set in [`atomic_push`](https://github.com/mrsimo/sidekiq/blob/224cfe575ce8dc792a2bf17ec82b2b8547dc91e7/lib/sidekiq/client.rb#L195). Is it possible that one of the Sidekiq Pro features is not adding a proper `enqueued_at`?\r\n\r\nThanks a lot!"},"comment":{"url":"https://api.github.com/repos/mperham/sidekiq/issues/comments/117505960","html_url":"https://github.com/mperham/sidekiq/issues/2414#issuecomment-117505960","issue_url":"https://api.github.com/repos/mperham/sidekiq/issues/2414","id":117505960,"user":{"login":"mrsimo","id":19203,"avatar_url":"https://avatars.githubusercontent.com/u/19203?v=3","gravatar_id":"","url":"https://api.github.com/users/mrsimo","html_url":"https://github.com/mrsimo","followers_url":"https://api.github.com/users/mrsimo/followers","following_url":"https://api.github.com/users/mrsimo/following{/other_user}","gists_url":"https://api.github.com/users/mrsimo/gists{/gist_id}","starred_url":"https://api.github.com/users/mrsimo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrsimo/subscriptions","organizations_url":"https://api.github.com/users/mrsimo/orgs","repos_url":"https://api.github.com/users/mrsimo/repos","events_url":"https://api.github.com/users/mrsimo/events{/privacy}","received_events_url":"https://api.github.com/users/mrsimo/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T07:33:15Z","updated_at":"2015-07-01T07:33:15Z","body":"We're not in a life or death situation, no. We use this for monitoring, so we get random alerts. We've silenced it in the meantime.\r\n\r\nOf course the sooner the better, though ;)"}}