rails/activejob/test
Pascal Zumkehr 3d3ed6eeb0 Make delayed job display_name failsafe
The display_name method is used by delayed job to log information
about a certain job, including failure messages. Whenever a job class
is moved or deleted, the instances still scheduled cannot be
constantized anymore, causing display_name and hence the log method to
raise an exception. In certain cases, e.g. when logging happens in a
rescue block, this may terminate the entire delayed job worker. With
the failsafe method, the worker handles failed jobs gracefully and
continues work, all with appropriate log output.
2023-03-02 13:38:38 +01:00
..
adapters Remove QueAdapter from Active Job 2022-09-12 22:31:10 +09:00
cases Make delayed job display_name failsafe 2023-03-02 13:38:38 +01:00
integration Add perform_all_later to enqueue multiple jobs at once 2023-02-02 16:39:22 -05:00
jobs Add ActiveJob::Serializers::BigDecimalSerializer 2022-07-19 15:31:41 -04:00
models [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
support Fix compatability between tests and Sidekiq 6.5 2023-01-08 20:41:59 -05:00
helper.rb Enable verbose mode in test and report warnings as errors 2022-10-11 09:25:18 +02:00