Repository navigation
Description
Summary
#417 fixed push delivery and recovery with the smallest change. These items were kept out of its scope on purpose. Each one is optional. File a separate issue for an item before building it.
- Area: push notifications
- Source: Bring back push on Chrome and Android devices the server switched off #417 "Out of scope", and the 2026-10-06 push review
Candidates
-
Per-device online suppression. Today one visible tab on any device suppresses push to all of that person's devices (
is_user_online). Suppress per device instead. -
Deactivation metric and alert. Built as Count push subscriptions the server switches off, and alert on a spike #607 (
f28a9e57d). Open until Grafana shows the alert rule. Count subscriptions switched off, by reason (404/410, failed count), and alert on a spike. The FCM outage of 2026-08-09 went unnoticed for two months. -
VAPID keys in the worker health check. Built as Mark the worker unhealthy when production push has no VAPID keys #608 (
8d45ccacd). The worker/healthbody already reportsworkers.push.vapid_configured, and the admin dashboard shows it. But the healthstatusignores it, so nothing alerts whenVAPID_PUBLIC_KEYorVAPID_PRIVATE_KEYis missing. Empty keys in dev must stay healthy (see the Fix the full-Docker dev stack: no webapp source in the container, and no host.docker.internal on Linux #482 note below). -
Key match at deploy. Built as Fail the deploy when the browser and server VAPID public keys differ #609 (
fad4308cf).NEXT_PUBLIC_VAPID_PUBLIC_KEY(build time) must equalVAPID_PUBLIC_KEY(runtime). Check it in the deploy workflow. -
Android badge icon.
favicon-32x32.pngis fully opaque, so Android shows a white square. Use a 96×96 white-on-transparent badge (design system rules apply). -
Test-push button in Settings → Notifications.
-
Faster save after
pushsubscriptionchange. The client saves the new endpoint within a day. Save it on the next load instead, if the endpoint changed. -
Push on local
next dev. next-pwa is disabled outside production, soregisterPushSubscriptionregisters an oldpublic/sw.jsfrom a past production build. That worker goesredundant, and subscribe fails withSERVICE_WORKER_FAILED. Registerpublic/service-worker.jsin dev, or remove the old build files. -
Repair a missing subscription. With permission granted but no saved stamp, the load-time check returns early, so nothing saves the row. The Settings switch reads only the browser subscription, so it can say "on" with no row. The prompt card never shows once permission is granted. Re-save when permission is granted and a browser subscription exists without a stamp. This needs a ruling on what "turned off" means.
-
Show the real subscribe error. Settings always shows a generic "Failed to enable notifications" toast, and the prompt card only logs to the console.
-
Small payload and naming fixes. A reaction push always shows 👍, because the payload has no
reaction_emoji. Android devices are named "Chrome on Linux". Mac Safari subscriptions are stored asios.
Related
- The 2026-11-03 push audit added the last four candidates. Production delivery was checked end to end, and it works.
- Bring back push on Chrome and Android devices the server switched off #417
Activity
HMarzban commentedon Oct 15, 2026
Related issues
internal.is_user_onlinegates the chat bell as well as push. A per-device change here would also change who gets a bell.Cross-link review, 2026-10-15. Generated by Claude Code
HMarzban commentedon Oct 24, 2026
Maintainer ruling, 2026-10-24
Build three candidates in v2.3.0: the deactivation metric and alert, the VAPID keys in the worker health
status, and the key match at deploy. The agent files one issue for each before it builds it, as this tracker says. The other four stay candidates. The Android badge icon would need a design-system ruling first.HMarzban commentedon Nov 3, 2026
Status, 2026-11-03. The three ruled candidates are built, pushed and deployed on 2026-11-03. They are #607 (
f28a9e57d), #608 (8d45ccacd) and #609 (fad4308cf). #608 and #609 are closed. #607 stays open for its own check. Left:HMarzban commentedon Nov 4, 2026
Maintainer ruling, 2026-11-04
Moved from milestone v2.3.0 to milestone v2.4.0, from the v2.3.0 open-issue review. Its v2.3.0 scope is done: #608 and #609 are closed, and #607 tracks its own Grafana check on v2.3.0. The other seven candidates are not ruled yet.
The issue stays open. Its remaining items are unchanged.