{"action":"opened","issue":{"url":"https://api.github.com/repos/mperham/sidekiq/issues/3612","repository_url":"https://api.github.com/repos/mperham/sidekiq","labels_url":"https://api.github.com/repos/mperham/sidekiq/issues/3612/labels{/name}","comments_url":"https://api.github.com/repos/mperham/sidekiq/issues/3612/comments","events_url":"https://api.github.com/repos/mperham/sidekiq/issues/3612/events","html_url":"https://github.com/mperham/sidekiq/issues/3612","id":259362215,"number":3612,"title":"ActiveJob enqueued but not performed","user":{"login":"wzdot","id":870090,"avatar_url":"https://avatars2.githubusercontent.com/u/870090?v=4","gravatar_id":"","url":"https://api.github.com/users/wzdot","html_url":"https://github.com/wzdot","followers_url":"https://api.github.com/users/wzdot/followers","following_url":"https://api.github.com/users/wzdot/following{/other_user}","gists_url":"https://api.github.com/users/wzdot/gists{/gist_id}","starred_url":"https://api.github.com/users/wzdot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzdot/subscriptions","organizations_url":"https://api.github.com/users/wzdot/orgs","repos_url":"https://api.github.com/users/wzdot/repos","events_url":"https://api.github.com/users/wzdot/events{/privacy}","received_events_url":"https://api.github.com/users/wzdot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-21T03:07:10Z","updated_at":"2017-09-21T03:07:10Z","closed_at":null,"author_association":"NONE","body":"### Steps to reproduce\r\n\r\nin config/application.rb\r\n```\r\nconfig.active_job.queue_adapter = :sidekiq\r\n```\r\nin config/initializers/sidekiq.rb\r\n```\r\nSidekiq.configure_server do |config|\r\n  config.redis = {url: '127.0.0.1:6379'}\r\nend\r\nSidekiq.configure_client do |config|\r\n  config.redis =  {url: '127.0.0.1:6379'}\r\nend\r\n```\r\nin config/sidekiq.yml\r\n```\r\n:queues:\r\n  - [task, 10]\r\n  - [default, 5]\r\n```\r\nin Procfile\r\n```\r\nsidekiq: bundle exec sidekiq -C config/sidekiq.yml\r\n```\r\nin app/jobs/task_job.rb\r\n```\r\nclass TaskJob < ApplicationJob\r\n  queue_as :task\r\n\r\n  def perform(serial_no)\r\n    logger.info(serial_no)\r\n  end\r\nend\r\n```\r\n### Expected behavior\r\n```\r\n# TaskJob.perform_later('aXcdGy')\r\n\r\n[ActiveJob] [TaskJob] [3c36a31b-c495-41ee-898e-cf9f896c1bcd] aXcdGy\r\n[ActiveJob] [TaskJob] [3c36a31b-c495-41ee-898e-cf9f896c1bcd] Performed TaskJob (Job ID: 3c36a31b-c495-41ee-898e-cf9f896c1bcd) from Sidekiq(development.task) in 0.49ms\r\n```\r\n### Actual behavior\r\n```\r\n# TaskJob.perform_later('aXcdGy')\r\n\r\n[ActiveJob] Enqueued TaskJob (Job ID: 7dfaef27-b1d1-43ff-b964-cb2716ab975c) to Sidekiq(development.task) with arguments: aXcdGy\r\n```\r\nJob was enquened, but not performed. And I show the job not pop by sidekiq web ui.\r\n\r\nif I change app/jobs/task_job.rb to\r\n```\r\nclass TaskJob\r\n  include Sidekiq::Worker\r\n  def perform(serial_no)\r\n    logger.info(serial_no)\r\n  end\r\nend\r\n\r\n# TaskJob.perform_async('aXcdGy')\r\n```\r\nIt will performed successful.\r\n\r\n### System configuration\r\n**Rails version**:\r\n5.1.3\r\n**Ruby version**:\r\n2.4.1p111\r\n**Sidekiq version**:\r\n4.2.10"}}
{"actor":{"display_login":"wzdot"}}