Skip to content

What happens when worker gets terminated mid job processing? #586

@mikz

Description

@mikz

I'm facing issues where a bunch of jobs are getting stuck in started state and never recover.
Supabase can kill workers after two seconds of wall time. What happens if worker gets killed when the job is already in started state?

Codex went through the codebase and it claims this is a blind spot - introspecting the state of the db, logs and the source.
Is there a test to validate this? For anything serious this is quite important use case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions