This was noticed while testing T302501: Pass timestamp and user's access level into LogIPInfoAccessJob. (Viewing IP information causes a job to be enqueued, to log that the information was accessed.)
Steps to reproduce (using a MediaWiki-Docker environment):
- Set $wgJobRunRate = 0 in localSettings.php
- Do something that causes a job to be added to the job queue
- Check the job table and/or the job runner logs
Expected: The job is queued up in the job table; the logs show that no job has been run
Actual: There's no job in the table; the logs show that the job has run
This also happened if $wgJobRunRate = 0 was set in DefaultSettings.php too.