Merge branch 'main' into cursor/bullmq-queue-phase-a-3038
This commit is contained in:
@@ -16,7 +16,7 @@ pnpm install
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
- API: http://localhost:9000
|
||||
- API: http://localhost:8700
|
||||
- UI (dev): http://localhost:5173
|
||||
|
||||
The first account created becomes **admin**. Later accounts are created from Users.
|
||||
@@ -52,9 +52,9 @@ Optional `script.meta.reads = "ctx"` documents expression hosts. `meta.input` /
|
||||
|---|---|
|
||||
| `pnpm dev` | Server + Vite together |
|
||||
| `pnpm dev:server` | API/runner only |
|
||||
| `pnpm dev:web` | UI only (proxies `/api` to :9000) |
|
||||
| `pnpm dev:web` | UI only (proxies `/api` to :8700) |
|
||||
| `pnpm build` | Production UI build |
|
||||
| `pnpm start` | Serve API and built UI from :9000 |
|
||||
| `pnpm start` | Serve API and built UI from :8700 |
|
||||
| `pnpm migrate` | Apply SQLite migrations |
|
||||
|
||||
## Environment
|
||||
@@ -71,7 +71,7 @@ Optional `script.meta.reads = "ctx"` documents expression hosts. `meta.input` /
|
||||
| `JFLOW_LOG_LEVEL` | `debug` | Pino level |
|
||||
| `JFLOW_RETENTION_DAYS` | `30` | Run history prune |
|
||||
| `JFLOW_CORS_ORIGIN` | `http://localhost:5173` | Vite origin in dev |
|
||||
| `PORT` | `9000` | HTTP port |
|
||||
| `PORT` | `8700` | HTTP port |
|
||||
| `NODE_ENV` | — | Set `production` for secure cookies |
|
||||
|
||||
Workflow runs are **queued** via BullMQ. HTTP and manual triggers return `202 { runId, status: "queued" }` immediately; poll `GET /api/runs/:id` for progress (`queued` → `running` → `success` \| `failed`). Cron remains an in-process producer that enqueues jobs on each tick.
|
||||
|
||||
Reference in New Issue
Block a user