upstash-workflow

Installation
SKILL.md

Upstash Workflow Implementation Guide

Standard patterns for implementing Upstash Workflow + QStash async workflows in the LobeHub codebase.

🎯 The Three Core Patterns

Every workflow in LobeHub combines these three patterns. They exist because the platform constrains you in three ways: rate limits make blind fan-out dangerous, step limits cap a single workflow's size, and idempotency demands that retries don't double-process.

  1. πŸ” Dry-Run Mode β€” get statistics without triggering actual execution
  2. 🌟 Fan-Out Pattern β€” split large batches into smaller chunks for parallel processing
  3. 🎯 Single Task Execution β€” each workflow execution processes exactly ONE item

Architecture Overview

All workflows follow the same 3-layer architecture:

Installs
5
GitHub Stars
79.5K
First Seen
Apr 8, 2026
upstash-workflow β€” lobehub/lobe-chat