AbsoluteJS

Queue Adapters

@absolutejs/queue-adaptersworkspacealphaData & Sync

Storage adapters for @absolutejs/queue (Postgres, Redis, and more to come)

#Installation

BASH
git clone https://github.com/absolutejs/queue-adapters.git

#Capabilities

Overview

Storage adapters for @absolutejs/queue — a private workspace monorepo. Each adapter is published as its own package and depends on @absolutejs/queue; install only the one for your backend.

Adapter — Package — Backend — Status

postgres/ — @absolutejs/queue-postgres — Postgres (Drizzle, FOR UPDATE SKIP LOCKED) — ✅

Show 2 more

sqlite/ — @absolutejs/queue-sqlite — SQLite — planned

redis/ — @absolutejs/queue-redis — Redis — ✅

Why a monorepo

Adapters share the JobStore contract from @absolutejs/queue. Keeping them in one workspace means a contract change can update every adapter in a single PR, with one CI and one bun install — while each still publishes independently so consumers pull only the backend (and its heavy deps) they actually use.

Develop

Each adapter currently dev-links the core via file:../../queue. Once @absolutejs/queue is published, switch these to the published version (the model @absolutejs/voice-adapters uses).

Repository composition

2 public packages and 0 private workspace projects are versioned and developed together.

Outcomes

What you can build

Overview

Storage adapters for @absolutejs/queue — a private workspace monorepo. Each adapter is published as its own package and depends on @absolutejs/queue; install only the one for your backend.

Why a monorepo

Adapters share the JobStore contract from @absolutejs/queue. Keeping them in one workspace means a contract change can update every adapter in a single PR, with one CI and one bun install — while each still publishes independently so consumers pull only the backend (and its heavy deps) they actually use.

Develop

Each adapter currently dev-links the core via file:../../queue. Once @absolutejs/queue is published, switch these to the published version (the model @absolutejs/voice-adapters uses).

Hardening checklist

Production guidance

Make every external boundary explicitPin the deployed @absolutejs/queue-adapters version, replace example or memory-backed dependencies with durable implementations, bound external calls, protect credentials, and emit enough evidence to retry or recover safely.

Follow in order

Troubleshooting path

1
Trace from the first failed boundary
Reproduce the smallest canonical @absolutejs/queue-adapters example, confirm the supported entry point and version in the API explorer, then inspect the first boundary that did not produce its documented result.

#Develop

Partial snippet

Working example for Develop.

BASH
bun install          # installs every workspace member
bun run typecheck    # across all adapters
bun run test         # across all adapters
bun run build        # across all adapters

#Workspace contents

2 public packages and 0 private workspace projects are maintained in this repository.

#Package commands

Scripts declared by this project’s package manifest.

bun run buildbun run --filter './*' build
bun run formatprettier --write "./*/src/**/*.{ts,json,md}" "./*/tests/**/*.ts"
bun run testbun run --filter './*' test
bun run typecheckbun run --filter './*' typecheck
Workspace project
This workspace project is not published as a standalone npm package. Use its repository and the accurately labeled public or private workspace contents below.