Commit 20690dd
chore(services): remove BullMQ vaporware, reframe cluster packages as Redis-free-first (#1840)
* chore(services): remove BullMQ vaporware, reframe cluster packages as Redis-free-first
The queue/cluster packages presented Redis/BullMQ as the production path,
which contradicts the platform's actual direction (DB-first, single-node
affinity, Redis-free Cloud/EE). Clean up the misleading surface:
service-queue:
- Delete the BullMQQueueAdapter skeleton (every method threw "not yet
implemented (M10.43)"); remove the 'bullmq' adapter option, the dead
throw branch, the reserved redisUrl field, and the index exports. No
external consumers (grep-verified). DbQueueAdapter (sys_job_queue,
lease-based claim) is the durable, multi-node, broker-free path.
- Rewrite the README: it documented a fictional add/process/REST API and
framed BullMQ/Redis as "production". Replace with the real
publish/subscribe + DLQ surface and the db/memory/auto adapters.
service-cluster:
- Downgrade the header doc: only the redis remote driver exists
(postgres/nats are not built). Call out the memory-driver split-brain
footgun for multi-replica deployments.
service-cluster-redis:
- Add a README positioning it as a community-optional reference driver
that proves the registerClusterDriver() SPI — explicitly NOT on the
Redis-free Cloud/EE deployment path. Fix the wiring example to the real
defineCluster({ driver: 'redis' }) / ClusterServicePlugin({ config }) API.
Verified: turbo build green (CJS+ESM+DTS) for all three packages;
service-queue 20/20 tests pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* chore: add empty changeset for cluster-pkg cleanup (no version impact)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 3ecb012 commit 20690dd
8 files changed
Lines changed: 142 additions & 486 deletions
File tree
- .changeset
- packages/services
- service-cluster-redis
- service-cluster/src
- service-queue
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
10 | 20 | | |
11 | 21 | | |
12 | 22 | | |
| |||
0 commit comments