Phase 8: widgets and polish
- Live job card widget (progress bar, in-widget cancel via widget_query) and live invoice widget (QR drawn from a bitmap, countdown, paid state), Bot API 10.4 sendWidget, private chats only - Automatic fallback to the ordinary message when sendWidget fails, with a breaker that pauses widgets after repeated failures or on servers without the method; TELEGRAM_WIDGETS - Prometheus metrics on the core (/metrics) and on every worker: queue depth and wait, slots, heartbeats, job outcomes, errors per site, deliveries, cache, invoices, Lightning, ledger check, widgets - Example Prometheus config and alert rules, Caddyfile, dashboard notes - Load test: cmd/loadtest and deploy/loadtest (make loadtest) - Browser check of the widgets' HTML, including decoding a drawn QR - docs/DEPLOY.md (production in under an hour) and docs/MONITORING.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
f1f9c6156c
commit
3c153af97f
+1
-1
@@ -92,7 +92,7 @@ eu-1 active 2 3s 2026.10.26 eu,residential
|
||||
| `WORKER_TEMP_DIR` | `data/worker-tmp` | Scratch space. One per worker process. |
|
||||
| `WORKER_PROBE_SLOTS` | `2` | Link lookups running next to the downloads. |
|
||||
| `WORKER_HEARTBEAT` | `10s` | Must be well under the core's `QUEUE_LEASE`. |
|
||||
| `WORKER_HEALTH_LISTEN` | `:8081` | Health endpoint, or `off`. |
|
||||
| `WORKER_HEALTH_LISTEN` | `:8081` | `/healthz` and `/metrics`, or `off`. See [MONITORING.md](MONITORING.md). |
|
||||
| `YTDLP_PATH` | `yt-dlp` | |
|
||||
| `FFMPEG_PATH` | `ffmpeg` | `ffprobe` is expected next to it. |
|
||||
| `YTDLP_EXTRA_ARGS` | none | Added to every yt-dlp call, for example `--proxy socks5://127.0.0.1:1080`. |
|
||||
|
||||
Reference in New Issue
Block a user