You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mark the worker unhealthy when production push has no VAPID keys #608
configureVapid() in apps/hocuspocus.server/src/lib/push/sender.ts sets vapidConfigured only when both keys are set and webpush.setVapidDetails succeeds.
The worker /health body reports workers.push.vapid_configured (apps/hocuspocus.server/src/hocuspocus.worker.ts), and the admin dashboard shows it.
allHealthy in the same handler ignores it. So nothing alerts when VAPID_PUBLIC_KEY or VAPID_PRIVATE_KEY is missing or wrong.
Other: whenever exactly one key is set, or setVapidDetails threw. Empty pairs stay healthy everywhere. This catches a half-set env, but not a missing pair in production.
Acceptance criteria
In production mode with no VAPID keys, worker /health answers unhealthy.
In dev with empty keys, worker /health stays healthy.
bun test and the hocuspocus typecheck pass.
Deploy note
The prod container healthcheck reads this status. Check that production holds both keys before the deploy that ships this, or the worker goes unhealthy.
Shipped in 8d45ccacd, with the CHANGELOG entry in 95c1b0acf. In production, allHealthy on the worker now also needs vapid_configured. A dev stack with empty keys stays healthy. Deploy run 41608014517 brought up 2 of 2 workers healthy under the new gate, so production holds both keys.
Activity
HMarzban commentedon Oct 25, 2026
Built and committed on local main. Awaits the maintainer's final push.
Remaining gate: the
(build): backdeploy, then a check that the production worker reports healthy with its push keys set.fix(hocuspocus): mark the worker unhealthy when production push has n…
docs(changelog): add the v2.3.0 run entries held back from each issue…
HMarzban commentedon Nov 3, 2026
Shipped in
8d45ccacd, with the CHANGELOG entry in95c1b0acf. In production,allHealthyon the worker now also needsvapid_configured. A dev stack with empty keys stays healthy. Deploy run41608014517brought up 2 of 2 workers healthy under the new gate, so production holds both keys.