Integrations · Host

Pagerless for Cloudflare Workers

Woken only when it matters, and one tap undoes a bad deploy: Pagerless deploys the previous Worker version.

Set up

Wrap the default export with withPagerless; cron triggers become job check-ins.

import { withPagerless } from "pagerless";

export default withPagerless({
  async fetch(request, env, ctx) {
    return new Response("ok");
  },
  async scheduled(event, env, ctx) {
    await nightly(env);
  },
});

Store the key with npx wrangler secret put PAGERLESS_KEY. Or run npx pagerless connect and it finds your services and places the key for you.

Fixes on Cloudflare Workers

What Pagerless can do on Cloudflare Workers
FixOn Cloudflare Workers
Undo the updateDeploys the previous Worker version
RestartNot available
Add capacityNot available
Deploy eventsFrom the SDK's deploy marker
Access it needsa Cloudflare API token with Workers Scripts edit (connect opens the token page prefilled)

Questions

Can Pagerless roll back Cloudflare Workers automatically?

Yes, if your rules set undo to alone. By default it asks first, and approving an undo needs your passkey (Face ID or Touch ID). It then deploys the previous Worker version.

Does Pagerless need admin access to Cloudflare Workers?

It needs a Cloudflare API token with Workers Scripts edit (connect opens the token page prefilled). It is stored encrypted and used only for the fixes listed above. You can skip it: alerts work without it.

Updated .

Free for you and one backup · 3 apps · no card

Sleep through the small stuff.

Run one command in your repo. Pagerless shows every change before it makes it.

npx pagerless connect