Redis & queues · Improve

Improve Redis Job Queues

Implement one selected, evidence-backed Redis Job Queues improvement at the authoritative owner. Complete the directly affected contract without broad cleanup or redesign.

Vibe Coding 1.3.0 · vibe-redis · English technical instructions

← Back to search

Use this workflow

Use this workflow in Codex or Claude Code with the free Vibe Coding plugin. Choose your assistant and prompt language, then add your task details after the prompt.

Operation

Implement the requested coherent change at the owning source and update directly affected consumers. An earlier audit is optional when the user and repository already establish the target. Validate the changed behavior, then stop when the requested scope is complete.

Goal

Implement one selected, evidence-backed Redis Job Queues improvement at the authoritative owner. Complete the directly affected contract without broad cleanup or redesign.

Domain rules

  • Keep cache and queue durability assumptions separate; do not fix queue loss by globally disabling eviction without capacity ownership.
  • Use stable job/operation IDs and idempotent side effects; align lock/heartbeat/visibility duration with real task execution and cancellation.
  • Bound worker concurrency, retries, delayed work, payload size, results, completed/failed retention, and connection growth.
  • Use framework-native recovery semantics for BullMQ, ARQ, or Streams instead of mixing acknowledgement models.
  • Make key schema or serialization changes dual-readable/migratable when live jobs/cache entries can outlive deployment.

Validation

  • Run framework-native integration tests against the supported Redis topology/version and repository race/fake-clock tests where available.
  • Exercise duplicate enqueue, crash before/after side effect and completion, lock expiry/stall, reconnect/failover, poison retry, delayed/cron timing, and cleanup.
  • Measure connection count, queue age, pending/stalled work, memory, command latency, retry rate, and recovery; state topology gates not reproduced.

Workflow ID: redis-job-queues-polish · View the versioned source · Shared workflow and authority rules