0xironclad / 0xironclad/Task-Scheduler-API

Idempotency guard

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
robustness scheduler
Dominant language
TypeScript
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Ensure a task can’t be double-picked by two processes. Use `FOR UPDATE SKIP LOCKED` or atomic status transition.

Contributor guide

No contributing guide indexed for this repository

Research direction

Look for the task picking logic, likely in a service or worker file. Research PostgreSQL's FOR UPDATE SKIP LOCKED for row-level locking and implement an atomic status transition from 'pending' to 'processing'. Check existing database schema for the task status field and ensure the update query is idempotent.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, typescript
Domain
backend, databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.