Task Supervisors

To your specific question: you can pass anything to a Task because it doesn’t go through any persistent storage etc

HOWEVER

That’s also why TaskSupervisor isn’t AT ALL comparable to a job-scheduling system like Sidekiq; it doesn’t have any of the features (durability, retries, etc) that you’d expect.

Oban is a better comparison to Sidekiq, and in that case similar restrictions apply because the job’s args are put into a Postgres JSONB column.

2 Likes