bunqueue-dashboard 0.0.43 → 0.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
# bunqueue dashboard
|
|
6
6
|
|
|
7
|
-
**
|
|
7
|
+
**Monitor jobs and operate your Bunqueue server from one dashboard.**
|
|
8
|
+
|
|
9
|
+
Manage queues, jobs, DLQ,
|
|
8
10
|
cron, webhooks, workers, and a live activity stream for a [bunqueue](https://bunqueue.dev) server
|
|
9
11
|
(a fast, Redis-free, Bun-native background-job queue), plus **start / stop / restart of the server
|
|
10
12
|
process itself**, all from one place.
|
|
@@ -63,9 +65,10 @@ The full dashboard running on sample data, no server needed.
|
|
|
63
65
|
**Full, illustrated docs live at
|
|
64
66
|
[egeominotti.github.io/bunqueue-dashboard/docs](https://egeominotti.github.io/bunqueue-dashboard/docs/).**
|
|
65
67
|
|
|
66
|
-
- **[Illustrated user guide](https://egeominotti.github.io/bunqueue-dashboard/docs/user-guide)**,
|
|
68
|
+
- **[Illustrated user guide](https://egeominotti.github.io/bunqueue-dashboard/docs/user-guide)**, section guides with screenshots, operations and limitations.
|
|
67
69
|
- **[Deployment](https://egeominotti.github.io/bunqueue-dashboard/docs/deploy/)**, Docker (Caddy), Kubernetes, PM2, and hosting platforms (Vercel, Netlify, Cloudflare, Fly.io, Render, Cloud Run).
|
|
68
70
|
- **[Architecture](https://egeominotti.github.io/bunqueue-dashboard/docs/architecture)** and **[API mapping](https://egeominotti.github.io/bunqueue-dashboard/docs/api-mapping)**, how it fits together and every endpoint it drives.
|
|
71
|
+
- **[Testing matrix](docs/testing.md)**, real-server coverage, reproduction steps and verification limits.
|
|
69
72
|
- **[llms.txt](https://egeominotti.github.io/bunqueue-dashboard/docs/llms.txt)**, the whole site as a single file for LLMs.
|
|
70
73
|
|
|
71
74
|
## Table of contents
|
|
@@ -191,7 +194,8 @@ flowchart LR
|
|
|
191
194
|
|
|
192
195
|
- **Reads** by polling (`usePolledData`) and a Server-Sent Events stream (`useActivityStream`).
|
|
193
196
|
- **Writes** through the same HTTP API, with every mutation shape-verified against the live server.
|
|
194
|
-
- **
|
|
197
|
+
- **Managed operations** use the local control agent for process lifecycle, Queue SDK controls,
|
|
198
|
+
FlowProducer, Workflow Engine, SQLite inspection, and backups.
|
|
195
199
|
|
|
196
200
|
For multiple brokers, create one named Dashboard profile and one paired control
|
|
197
201
|
agent per broker. The Fleet page probes all profiles without retargeting the
|
|
@@ -264,7 +268,10 @@ target-pinned Flow, Workflow, Queue and Backup agent operations.
|
|
|
264
268
|
| `bun test` | Unit + agent-lifecycle tests |
|
|
265
269
|
| `bun run test:e2e:tls` | Queue, Flow and Workflow over verified native TLS, including untrusted-certificate rejection |
|
|
266
270
|
| `bun run test:e2e:upgrade` | Real npm Bunqueue 2.9.2 SQLite schema-35 → 2.9.4 schema-37 migration and retention semantics |
|
|
267
|
-
| `bun run test:e2e` | Real Flow, Workflow, Queue SDK, and three-broker PostgreSQL runtime tests |
|
|
271
|
+
| `bun run test:e2e` | Real TLS, SQLite upgrade, Flow, Workflow, Queue SDK, and three-broker PostgreSQL runtime tests |
|
|
272
|
+
| `bun run test:e2e:browser` | Production UI tests on Chromium, Firefox and WebKit |
|
|
273
|
+
| `bun run test:e2e:browser:postgres-fleet` | Real UI operations across three PostgreSQL brokers (requires Docker and Chromium) |
|
|
274
|
+
| `bun run quality` | Complete static, build, docs, coverage, runtime, package and dependency gate |
|
|
268
275
|
| `bun run test:e2e:postgres-fleet` | Three authenticated Bunqueue 2.9.4 brokers + three agents sharing disposable PostgreSQL 18.6 |
|
|
269
276
|
|
|
270
277
|
## Docker
|
|
@@ -306,10 +313,14 @@ Because the deployed build is a static shell, point it at a reachable bunqueue s
|
|
|
306
313
|
|
|
307
314
|
## Testing & quality gate
|
|
308
315
|
|
|
309
|
-
|
|
316
|
+
Use both the canonical gate and browser tests to validate a change. Browser tests are a separate
|
|
317
|
+
CI job; `quality` alone does not run Playwright:
|
|
310
318
|
|
|
311
319
|
```bash
|
|
312
|
-
bun run
|
|
320
|
+
bun run test:e2e:browser:install # first run only
|
|
321
|
+
bun run quality # includes runtime E2E; requires Docker
|
|
322
|
+
bun run test:e2e:browser # production UI on all three browser engines
|
|
323
|
+
bun run test:e2e:browser:postgres-fleet # cross-node UI; separate from both commands above
|
|
313
324
|
```
|
|
314
325
|
|
|
315
326
|
The E2E stage starts disposable Bunqueue 2.9.4 processes and exercises the complete FlowProducer,
|
|
@@ -322,10 +333,16 @@ PostgreSQL stage).
|
|
|
322
333
|
The blocking browser job builds the production bundle under `/e2e/dashboard`, starts an
|
|
323
334
|
authenticated disposable Bunqueue server, and drives the UI with Playwright on Chromium, Firefox,
|
|
324
335
|
and WebKit. It covers the token gate, every sidebar route, SSE recovery across a real server
|
|
325
|
-
restart, confirmed Cron creation/deletion,
|
|
336
|
+
restart, confirmed Cron creation/deletion, job submission and bulk import, persisted job inspection,
|
|
337
|
+
DLQ failures, live monitoring and alerts, SQLite queries, webhook registry mutations, a real
|
|
338
|
+
producer/worker benchmark, and automated WCAG A/AA checks. Install the browser
|
|
326
339
|
binaries once with `bun run test:e2e:browser:install`, then run `bun run test:e2e:browser`.
|
|
327
340
|
|
|
328
|
-
|
|
341
|
+
See the [section-by-section validation matrix](docs/testing.md) for reproducible commands,
|
|
342
|
+
prerequisites, and the distinction between live operations, navigation checks, and external
|
|
343
|
+
integrations that need their own environment. The live demo uses sample data and is not test evidence.
|
|
344
|
+
|
|
345
|
+
CI enforces the quality gate and browser matrix on every push and pull request. See [Contributing](#contributing).
|
|
329
346
|
|
|
330
347
|
## Project structure
|
|
331
348
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bunqueue-dashboard",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.44",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Web dashboard for a bunqueue server (queues, jobs, DLQ, cron, metrics, workers, live activity). Run with `bunx bunqueue-dashboard` (requires Bun 1.4.0).",
|
|
6
6
|
"packageManager": "bun@1.4.0",
|