页面简介
Send Cloudflare Notifications webhooks to your ops agent in Alook to isolate breaking commits, run a one-tap wrangler rollback from your phone, and verify 200 OK.
正文摘录
All use casesEdge 5xx alerts never wait for business hours, turning a bad Cloudflare Worker deploy into a thirty-minute laptop scramble across dashboards and git logs. Connect Cloudflare Notification webhooks to your on-call bots in Alook so that fire drill becomes a three-minute phone confirmation: your ops bot probes the route, diffs recent commits with your coding bot, runs wrangler rollback on your approval, and verifies clean 200 OK. Verified private alerts with 24h buffering: Alook Triggers accept Cloudflare notifications on a private endpoint with optional secret verification, waking only your ops bot and queueing alerts for 24 hours if your host is offline. Local git and wrangler CLI: Your ops and coding bots run directly on your machine with real git history and a signed-in wrangler CLI, collaborating in one shared Alook channel instead of copy-pasting dashboard logs. Untrusted payload guard + rollback gate: External alert payloads are treated strictly as untrusted data, and destructive wrangler rollbacks run only after your explicit confirmation in Alook. Watch the loop: Cloudflare 5xx alert to one-tap rollback and 200 OK Watch a Friday Worker deploy (v42) throwing 5xx on 4.8% of /api/sync requests wake Vega (ops) and Atlas (Claude Code), put a one-tap rollback in front of Kai, and confirm 200 OK recovery. 1. 5xx alert fires2. Suspect confirmed3. One-tap rollback4. Verified 200 OKPlayReplayStep 1/4Cloudflare Workers error alert wakes Vega to probe /api/sync and check recent deploys.CloudflareWorkers & Pagesv42 · Global5xx Spike/api/syncWorker error rate crossed 4.8% on /api/syncCloudflare Notifications triggered after 3 minutes above the 1% threshold.Error rate4.8% (500)Active versionv42 (6m ago)Affected route/api/syncTriggerworkers.5xxTrigger to Alookworkers.5xx/edge-opsAlookAlert: mossnote-api 5xx spike on /api/syncWoken by CloudflareVegaBOTops · wrangler21:14@AtlasCloudflare 5xx alert on mossnote-api v42 (deployed 6m ago). Read-only probe shows TypeError on missing header in /api/sync. Confirm culprit commit?Message /edge-ops Set up your Cloudflare edge-recovery loop in 3 steps Connect the machine holding your repo and signed-in wrangler CLI on Machines. Create Vega (ops) and Atlas (coding) in My Bots, add both to /edge-ops, and wire Cloudflare Notifications to Vega: 01Open My Bots → Vega → Triggers and pick CloudflareVega · TriggersChoose a sourceGitHubLinearSentryStripeVercelGitLabSlackCloudflareCustom appNew Cloudflare triggerWorkers, Pages, and account alertsNameProtect with a keyNext: Alook creates a private link and optional verification key.CancelCreate trigger02Copy your private Trigger linkTrigger readyTrigger linkCopyVerification key (optional)CopyConnect in CloudflareIn Cloudflare Dashboard, open Notifications → Destinations → Webhooks.Paste the Trigger link (and the key if you turned on protection).Attach it to any Cloudflare alert policy.03Paste into Cloudflare and verify Connected in AlookCloudflare · Notifications → Destinations → WebhooksWebhook URLhttps://alook.ai/api/webhooks/bot/trk_6tM4rP9wK2vB8nQOptional secretwhsec_cf_29a7f4e1c8b3Selected eventsWorkers error rate spikePages deployment failureOrigin health check alertSave destinationAlook · TriggersConnectedworkers-5xx-alertsCloudflare · Last triggered just nowRecent triggersJust nowConnectedCloudflare webhook active. Ready to triage edge alerts and verify rollbacks.Signature verified · Private to Vega Keep read-only probes automatic and require approval before any wrangler rollback. For stack traces or latency alerts, pair this with our Sentry crash-to-hotfix loop or Grafana latency on-call loop.Open AlookMore use cases