Skip to content

Deprecation warnings from outdated job-scheduling gems #95

Description

@jvendetti

This project schedules background jobs using the the rufus-scheduler and mlanett-redis-lock gems, with Redis-backed locking.

While running the unit test suite, we're seeing deprecation warnings like the following:

TestScheduler#test_scheduler_locking 
  = /Users/jlvendetti/.rbenv/versions/3.1.6/lib/ruby/gems/3.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:368:
  warning: constant ::Fixnum is deprecated

Some context on the gem versions in use:

  • mlanett-redis-lock: last released October 2015 (no updates in nearly a decade)
  • rufus-scheduler: still actively maintained, but we’re pinned to v2.0.24 (October 2013) — now 12 years old

Given the importance of scheduled jobs in the BioPortal system, it’s risky to continue relying on such old versions. We should explore upgrading rufus-scheduler (or alternatives like sidekiq-scheduler).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions