Set up
Next.js and Node functions use pagerless/auto; Edge functions use withPagerless.
Store the key with vercel env add PAGERLESS_KEY production. Or run npx pagerless connect and it finds your services and places the key for you.
Fixes on Vercel
| Fix | On Vercel |
|---|---|
| Undo the update | Rolls back to the previous deployment |
| Restart | Redeploys the live deployment |
| Add capacity | Not available |
| Deploy events | Yes: errors right after a deploy are tied to it |
| Access it needs | a Vercel access token |
Questions
Can Pagerless roll back Vercel 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 rolls back to the previous deployment.
Does Pagerless need admin access to Vercel?
It needs a Vercel access token. It is stored encrypted and used only for the fixes listed above. You can skip it: alerts work without it.