Skip to content

Feature request: Task runner / job queue / durable functions with retry mechanics #5205

Backlog

Description

@MickL

Describe the feature

It would be cool if Nitro could implement a job queue (also known as durable functions) that has retry mechanics. Or make it easier to implement one of the popular frameworks:

Required features:

  • Add a job to the queue that will execute the task
  • Retry on thrown error
  • Add fatal error that will not retry, example: Workflow SDK
  • Configure retry logic, e.g. staggered 10 s, 30 s, 60s, 10min, 60min, 6 hrs
  • Logging after specific amount of fails, e.g. "Task X failed 5 times"

Since Nitro already has a task api, possibly this one can be used? But tasks also have to be persistent after server restart which would require something like a kv or database.

Also, what Ive noticed with Graphile Worker is that it has a naming conflict: There "A 'task' is the type of work that a job may take", but when creating such tasks in Nitro, the folder ./tasks is already taken by Nitro tasks.

Possibly related to #3237

Additional information

  • Would you be willing to help implement this feature?

Activity

  1. added theissue type on Dec 2, 2026
  2. added
    pending triage
    on Dec 2, 2026
  3. changed the title [-]Feature request: Task runner / job queue with retry mechanics[/-] [+]Feature request: Task runner / job queue / durable functions with retry mechanics[/+] on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending triage

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions