quality / changes (push) Successful in 9s
quality / commitlint (push) Skipped
quality / docker-check (push) Skipped
CD / update-wiki (push) Successful in 6s
quality / web (push) Successful in 1m4s
quality / api (push) Successful in 54s
CD / quality (push) Successful in 2m17s
CD / publish (push) Successful in 2m21s
Worker сам ходит на origin по Cron Trigger; CFDM кладёт цели в KV и забирает результаты без POST /probe. Co-authored-by: Cursor <[email protected]>
18 lines
565 B
Markdown
18 lines
565 B
Markdown
# CFDM health-probe Worker
|
|
|
|
Edge probe for CFDM. **Not** Cloudflare Health Checks API (unavailable on Free).
|
|
|
|
Production: CFDM creates this Worker via the Cloudflare API (KV mailbox + Cron Trigger).
|
|
You do not need `wrangler deploy`. Token needs **Account**: Workers Scripts Write and Workers KV Storage Write.
|
|
|
|
Local debug:
|
|
|
|
```powershell
|
|
cd workers/health-probe
|
|
npx wrangler dev
|
|
```
|
|
|
|
Worker reads KV `targets`, probes TCP (`cloudflare:sockets` + `opened`) or HTTP (`fetch` to IP + `Host`), writes KV `results`. Batch ≤ 48, concurrency 5.
|
|
|
|
`GET /` — liveness.
|