RS

    Repair Stuck Job Leases

    by Mariusz Wrzeszczynski

    1

    Repair workers that leave jobs stuck, process the same task twice, or let expired owners write results.

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    See it in action

    You say

    Our background workers are crashing and leaving jobs stuck in 'processing' forever. Can you add a lease system and a way to recover these abandoned tasks?

    Your agent does

    I have analyzed your worker logic and implemented:

    1. A 'leased_until' column and fencing token.
    2. Atomic claim queries to prevent race conditions.
    3. A recovery script to re-queue jobs with expired leases.
    4. Crash tests to verify jobs are released after failure.

    What you get

    Recover abandoned jobs after worker crashesImplement fencing tokens to block stale worker writesPrevent multiple workers from claiming the same taskAdd atomic state transitions and job leases to existing queuesSimulate worker failures to test system resilience

    About this skill

    Repair workers that leave jobs stuck, process the same task twice, or let expired owners write results.

    This skill traces claims, leases, heartbeats, timeouts, and completion writes. It adds bounded leases, fencing tokens, safe takeover, orphan recovery, and crash tests.

    ✔ Recover abandoned jobs ✔ Block stale workers ✔ Prevent duplicate completion

    Ideal for queues, schedulers, imports, and distributed workers.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    Listedtoday

    Creator

    Mariusz Wrzeszczynski
    Mariusz Wrzeszczynski

    109 skills on Agensi

    Frequently Asked Questions

    Browse More Skills